BUG修改
This commit is contained in:
parent
146d80cd78
commit
aff2ebda88
|
@ -2,7 +2,7 @@
|
||||||
* @Author: hisense.liangjunhua
|
* @Author: hisense.liangjunhua
|
||||||
* @Date: 2022-06-29 15:59:51
|
* @Date: 2022-06-29 15:59:51
|
||||||
* @LastEditors: hisense.liangjunhua
|
* @LastEditors: hisense.liangjunhua
|
||||||
* @LastEditTime: 2022-06-29 18:17:07
|
* @LastEditTime: 2022-07-01 09:29:57
|
||||||
* @Description: 告诉大家这是什么
|
* @Description: 告诉大家这是什么
|
||||||
-->
|
-->
|
||||||
<!-- 流程业务表单 -->
|
<!-- 流程业务表单 -->
|
||||||
|
@ -183,16 +183,30 @@ export default {
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
this.dataForm.content = res.data.tAbilityApplicationDTOList[0]
|
this.dataForm.content = res.data.tAbilityApplicationDTOList[0]
|
||||||
|
const obj = {
|
||||||
|
name: '申请摄像头列表',
|
||||||
|
type: '基础设施',
|
||||||
|
describe: ''
|
||||||
|
}
|
||||||
|
let flag = false
|
||||||
res.data.tAbilityApplicationDTOList.map(val => {
|
res.data.tAbilityApplicationDTOList.map(val => {
|
||||||
this.$http.get('/resource/' + val.resourceId).then(res1 => {
|
if (val.cameraList) {
|
||||||
console.log(res1.data.data, '1111111111111111111111111111111111')
|
flag = true
|
||||||
this.dataList.push({
|
obj.describe += val.system
|
||||||
name: res1.data.data.name,
|
} else {
|
||||||
type: res1.data.data.type,
|
this.$http.get('/resource/' + val.resourceId).then(res1 => {
|
||||||
describe: res1.data.data.description
|
// console.log(res1.data.data, '1111111111111111111111111111111111')
|
||||||
|
this.dataList.push({
|
||||||
|
name: res1.data.data.name,
|
||||||
|
type: res1.data.data.type,
|
||||||
|
describe: res1.data.data.description
|
||||||
|
})
|
||||||
})
|
})
|
||||||
})
|
}
|
||||||
})
|
})
|
||||||
|
if (flag) {
|
||||||
|
this.dataList.push(obj)
|
||||||
|
}
|
||||||
})
|
})
|
||||||
.catch(() => {})
|
.catch(() => {})
|
||||||
},
|
},
|
||||||
|
|
|
@ -121,6 +121,7 @@
|
||||||
<script setup>
|
<script setup>
|
||||||
import { nextTick, ref } from 'vue'
|
import { nextTick, ref } from 'vue'
|
||||||
import { UpOutlined, DownOutlined } from '@ant-design/icons-vue'
|
import { UpOutlined, DownOutlined } from '@ant-design/icons-vue'
|
||||||
|
import { getCategoryTreePage } from '@/api/personalCenter'
|
||||||
import {
|
import {
|
||||||
capabilityShareCapabilitySet,
|
capabilityShareCapabilitySet,
|
||||||
selectResourceListByDept,
|
selectResourceListByDept,
|
||||||
|
@ -317,23 +318,20 @@
|
||||||
// 右侧列表
|
// 右侧列表
|
||||||
const dataList = ref([])
|
const dataList = ref([])
|
||||||
// 所有领域类型
|
// 所有领域类型
|
||||||
const allType = ref([
|
const allType = ref([])
|
||||||
'社会治安',
|
getCategoryTreePage({
|
||||||
'城市管理',
|
page: 1,
|
||||||
'疫情防控',
|
limit: 99,
|
||||||
'危化品管理',
|
dictTypeId: '1513712507692818433',
|
||||||
'交通运输',
|
}).then((res) => {
|
||||||
'森林防火',
|
// console.log('kasdjflkajsdlkf ', res.data.data)
|
||||||
'防汛抗旱',
|
allType.value = []
|
||||||
'文化旅游',
|
res.data.data.list.map((val) => {
|
||||||
'非煤矿山',
|
if (val.dictLabel !== '其他') {
|
||||||
'医疗卫生',
|
allType.value.push(val.dictLabel)
|
||||||
'安全生产',
|
}
|
||||||
'生态环境',
|
})
|
||||||
'农业农村',
|
})
|
||||||
'市场监管',
|
|
||||||
'政务服务',
|
|
||||||
])
|
|
||||||
const flag = ref('')
|
const flag = ref('')
|
||||||
const nowShow = ref(false)
|
const nowShow = ref(false)
|
||||||
const showDetails = (item) => {
|
const showDetails = (item) => {
|
||||||
|
|
Loading…
Reference in New Issue