fix:bug
This commit is contained in:
1 parent
dd2130eb09
commit
21bbbf6cde
6 files changed
+13
-10
No files matched your search
@@ -99,7 +99,8 @@ const multiple = ref(true)
|
||||
|
||||
const state: BasicTableProps = reactive<BasicTableProps>({
|
||||
queryForm: {
|
||||
typeList: ["车辆进出数据", "过车数据"]
|
||||
type: "车",
|
||||
typeList: []
|
||||
},
|
||||
pageList: ComDhLogApi.fetchList
|
||||
})
|
||||
|
||||
@@ -101,7 +101,8 @@ const multiple = ref(true)
|
||||
|
||||
const state: BasicTableProps = reactive<BasicTableProps>({
|
||||
queryForm: {
|
||||
typeList: ["设备分页查询", "设备通道分页查询"]
|
||||
type: "设备",
|
||||
typeList: []
|
||||
},
|
||||
pageList: ComDhLogApi.fetchList
|
||||
})
|
||||
|
||||
@@ -99,7 +99,8 @@ const multiple = ref(true)
|
||||
|
||||
const state: BasicTableProps = reactive<BasicTableProps>({
|
||||
queryForm: {
|
||||
// typeList: ["刷卡记录分页"]
|
||||
type: "门禁",
|
||||
typeList: []
|
||||
},
|
||||
pageList: ComDhLogApi.fetchList
|
||||
})
|
||||
|
||||
@@ -89,12 +89,12 @@
|
||||
<dict-tag :options="user_sync_config" :value="row.syncConfigType" />
|
||||
</template>
|
||||
</el-table-column>
|
||||
<el-table-column label="操作" width="150" fixed="right">
|
||||
<template #default="scope">
|
||||
<el-table-column label="操作" width="150" fixed="right" v-auths="['car_carManage_edit']">
|
||||
<template #default="{ row }">
|
||||
<el-button icon="edit-pen" text type="primary" v-auth="'car_carManage_edit'"
|
||||
@click="formDialogRef.openDialog(scope.row.id)">编辑</el-button>
|
||||
<el-button icon="delete" text type="primary" v-auth="'car_carManage_del'"
|
||||
@click="handleDelete([scope.row.id])">删除</el-button>
|
||||
@click="formDialogRef.openDialog(row.id)">编辑</el-button>
|
||||
<el-button v-if="false" icon="delete" text type="primary" v-auth="'car_carManage_del'"
|
||||
@click="handleDelete([row.id])">删除</el-button>
|
||||
</template>
|
||||
</el-table-column>
|
||||
</el-table>
|
||||
|
||||
@@ -53,7 +53,7 @@ async function init(channelCodelist: any, deviceCode: any) {
|
||||
query.deviceCode = deviceCode
|
||||
}
|
||||
state.current = 1
|
||||
state.num = 16
|
||||
state.num = state.numList[state.numList.length - 1]
|
||||
refreshPage()
|
||||
} catch (error: any) {
|
||||
console.error("|视频预览初始化|,意外的错误", error);
|
||||
|
||||
@@ -103,7 +103,7 @@
|
||||
<dict-tag :options="user_sync_config" :value="row.syncConfigType" />
|
||||
</template>
|
||||
</el-table-column>
|
||||
<el-table-column label="操作" width="100" fixed="right">
|
||||
<el-table-column label="操作" width="100" fixed="right" v-auths="['admin_sysPerson_edit']">
|
||||
<template #default="{ row }">
|
||||
<el-button icon="edit-pen" text type="primary" v-auth="'admin_sysPerson_edit'"
|
||||
@click="formDialogRef.openDialog(row.id)">
|
||||
|
||||
Reference in new issue
Block a user