Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
micro-customization-system
/
micro-trialrun
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit b33c8921
authored
Mar 18, 2022
by
张杰
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
v1.5.0版本需求
1 parent
6cb12ec6
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
21 additions
and
13 deletions
src/views/reportManage/offline.vue
src/views/vehicleManage/vehicleList.vue
src/views/reportManage/offline.vue
View file @
b33c892
...
...
@@ -43,7 +43,7 @@
<!-- 列表 开始 -->
<glsx-table
ref=
"glsxTable"
v-loading=
"loading"
:list=
"tableData"
:column=
"columnList"
:pageTotal=
"pageTotal"
@
change=
"getList"
>
<div
slot=
"operate"
slot-scope=
"
{scope}">
<el-link
type=
"primary"
:underline=
"false"
@
click=
"lookDetail(scope)"
>
查看位置
</el-link>
<el-link
type=
"primary"
:underline=
"false"
@
click=
"lookDetail(scope)"
v-if=
"scope.locationFlag == 1"
>
查看位置
</el-link>
</div>
</glsx-table>
<!-- 列表 end -->
...
...
src/views/vehicleManage/vehicleList.vue
View file @
b33c892
...
...
@@ -26,17 +26,25 @@
<!-- 列表数据 开始 -->
<basic-table
ref=
"vehicleForm"
:beforeSearchFn=
"beforeSearchFn"
:tableParams=
"vehicleTableParams"
:getListApi=
"getListApi"
:searchForm=
"searchForm"
@
dataFinished=
"tableDataFinished"
:hasNum=
"false"
>
<span
slot=
"table-button"
slot-scope=
"scope"
>
<el-button
v-for=
"(j, idx) in vehicleTableParams.tableOption.btnList"
:key=
"idx"
:type=
"j.type || 'text'"
size=
"mini"
plain
@
click=
"btnClick(j.pType, scope.scope)"
>
{{j.name}}
</el-button>
<el-button
v-if=
"scope.scope.sns"
type=
"text"
size=
"mini"
@
click=
"btnClick('unbind', scope.scope)"
>
解绑
</el-button>
<!-- <el-button v-if="scope.scope.adjFreq === 1" type="text" size="mini" @click="btnClick('freq', scope.scope)">一键调频</el-button> -->
<el-dropdown
v-if=
"scope.scope.adjFreq"
@
command=
"handleCommand"
style=
"margin-left:5px"
>
<el-button
size=
"mini"
>
<i
class=
"el-icon-arrow-down"
></i>
</el-button>
<el-dropdown-menu
slot=
"dropdown"
>
<el-dropdown-item
v-if=
"scope.scope.adjFreq===1"
:command=
"getCommand('freq', scope.scope.sn, scope.scope.enableFre)"
>
一键调频
</el-dropdown-item>
</el-dropdown-menu>
</el-dropdown>
<
template
v-if=
"scope.scope.permitType == 'r'"
>
<!--
<el-button
type=
"view"
size=
"mini"
plain
@
click=
"btnClick('view', scope.scope)"
>
查看
</el-button>
-->
<el-link
type=
"primary"
size=
"mini"
plain
@
click=
"btnClick('view', scope.scope)"
>
查看
</el-link>
</
template
>
<
template
v-else
>
<el-button
v-for=
"(j, idx) in vehicleTableParams.tableOption.btnList"
:key=
"idx"
:type=
"j.type || 'text'"
size=
"mini"
plain
@
click=
"btnClick(j.pType, scope.scope)"
>
{{
j
.
name
}}
</el-button>
<el-button
v-if=
"scope.scope.sns"
type=
"text"
size=
"mini"
@
click=
"btnClick('unbind', scope.scope)"
>
解绑
</el-button>
<!--
<el-button
v-if=
"scope.scope.adjFreq === 1"
type=
"text"
size=
"mini"
@
click=
"btnClick('freq', scope.scope)"
>
一键调频
</el-button>
-->
<el-dropdown
v-if=
"scope.scope.adjFreq"
@
command=
"handleCommand"
style=
"margin-left:5px"
>
<el-button
size=
"mini"
>
<i
class=
"el-icon-arrow-down"
></i>
</el-button>
<el-dropdown-menu
slot=
"dropdown"
>
<el-dropdown-item
v-if=
"scope.scope.adjFreq===1"
:command=
"getCommand('freq', scope.scope.sn, scope.scope.enableFre)"
>
一键调频
</el-dropdown-item>
</el-dropdown-menu>
</el-dropdown>
</
template
>
</span>
</basic-table>
<!-- 列表数据 end -->
...
...
@@ -889,7 +897,7 @@ export default {
created
()
{
this
.
vehicleListPromise
=
new
Promise
((
resolve
,
reject
)
=>
{
this
.
getModels
();
resolve
()
resolve
()
;
});
},
mounted
()
{
...
...
Write
Preview
Markdown
is supported
Attach a file
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to post a comment