|
|
@@ -127,6 +127,7 @@ const opts = reactive({
|
|
|
{
|
|
|
field: "deviceName",
|
|
|
label: "设备名称",
|
|
|
+ disabled: true,
|
|
|
class: "w-100",
|
|
|
required: false,
|
|
|
placeholder: "请选择设备",
|
|
|
@@ -163,7 +164,7 @@ const opts = reactive({
|
|
|
}
|
|
|
}
|
|
|
] as any,
|
|
|
- permission: "device:deviceMaintenanceTask",
|
|
|
+ permission: "biosecurity:task",
|
|
|
handleBtns: [],
|
|
|
handleFuns: {
|
|
|
handleCreate,
|
|
|
@@ -454,7 +455,7 @@ function onUserSelectConfirm(data) {
|
|
|
link
|
|
|
type="primary"
|
|
|
@click="handleUpdate(row)"
|
|
|
- v-hasPermission="'device:deviceTask:edit'">
|
|
|
+ v-hasPermission="'biosecurity:task:edit'">
|
|
|
<template #icon>
|
|
|
<VbIcon icon-name="notepad-edit" icon-type="duotone" class="fs-3"></VbIcon>
|
|
|
</template>
|
|
|
@@ -465,7 +466,7 @@ function onUserSelectConfirm(data) {
|
|
|
link
|
|
|
type="primary"
|
|
|
@click="handleDelete([row])"
|
|
|
- v-hasPermission="'device:deviceTask:remove'">
|
|
|
+ v-hasPermission="'biosecurity:task:remove'">
|
|
|
<template #icon>
|
|
|
<VbIcon icon-name="trash-square" icon-type="duotone" class="fs-3"></VbIcon>
|
|
|
</template>
|