调整目录结构使其能够被引用

This commit is contained in:
aixianling
2022-08-22 11:27:05 +08:00
parent e67a8c4ac2
commit f18a7fd85c
4 changed files with 150 additions and 154 deletions

View File

@@ -20,7 +20,7 @@
<template slot-scope="{ row }">
<!-- <el-button type="text" @click="close(row.id)">停播</el-button> -->
<el-button type="text" @click="toTaskList(row.deviceId)">任务列表</el-button>
<el-button type="text" @click="bind(row)" >绑定行政区划</el-button>
<el-button type="text" @click="bind(row)">绑定行政区划</el-button>
<!-- <el-button type="text" @click="locate=true">地图标绘</el-button>-->
</template>
</el-table-column>
@@ -37,17 +37,15 @@
<el-button type="primary" @click="bindArea">确 定</el-button>
</span>
</el-dialog>
<locate-dialog v-model="locate" :ins="instance" @confirm="bindLocate"/>
<ai-locate-dialog v-model="locate" :ins="instance" @confirm="bindLocate"/>
</section>
</template>
<script>
import {mapState} from 'vuex'
import LocateDialog from "../../AppMonitor/components/locateDialog";
export default {
name: 'List',
components: {LocateDialog},
props: {
dict: Object,
instance: Function,
@@ -98,7 +96,7 @@ export default {
label: '是否绑定区划',
align: 'center',
render: (h, {row}) => {
return h('span', null, (row.areaId? '是': '否'))
return h('span', null, (row.areaId ? '是' : '否'))
},
},
{
@@ -120,7 +118,7 @@ export default {
...mapState(['user']),
},
created () {
created() {
this.dict.load('dlbDevStatus', 'yesOrNo').then(() => {
this.getList()
})
@@ -196,7 +194,7 @@ export default {
},
})
},
update () {
update() {
this.btnLoading = true
this.instance.post(`/app/appdlbquipment/sync`, null, {
timeout: 1000000