基础设施-bug414

This commit is contained in:
851673013@qq.com 2022-07-01 18:20:43 +08:00
parent 46e5c6dbb6
commit 0d110a5af6
1 changed files with 25 additions and 21 deletions

View File

@ -118,6 +118,7 @@
import { getCategoryTreePage } from '@/api/personalCenter' import { getCategoryTreePage } from '@/api/personalCenter'
import { dataType } from 'element-plus/es/components/table-v2/src/common' import { dataType } from 'element-plus/es/components/table-v2/src/common'
import { useRouter } from 'vue-router' import { useRouter } from 'vue-router'
import { message } from 'ant-design-vue'
import { ref, reactive, onMounted } from 'vue' import { ref, reactive, onMounted } from 'vue'
import { import {
getCameraByParentId, getCameraByParentId,
@ -125,7 +126,6 @@
getCameraAllLabel, getCameraAllLabel,
} from '@/api/videoSurveillance' } from '@/api/videoSurveillance'
import { sgcInsert } from '@/api/home' import { sgcInsert } from '@/api/home'
import { message } from 'ant-design-vue'
import mybus from '@/myplugins/mybus' import mybus from '@/myplugins/mybus'
const router = useRouter() const router = useRouter()
const options = reactive({ const options = reactive({
@ -350,6 +350,7 @@
dept.deptName = infrastructure.deptName dept.deptName = infrastructure.deptName
} }
const apply = () => { const apply = () => {
if (selectedRowKeys.value.length != 0) {
console.log('一键申请', selectedList.value) console.log('一键申请', selectedList.value)
let arr = [ let arr = [
{ {
@ -370,6 +371,9 @@
router.push({ router.push({
path: '/apply', path: '/apply',
}) })
} else {
message.error('请选择需要申请的数据')
}
} }
// //
const addShopCar = () => { const addShopCar = () => {