Commit 4a5fd9e2a554d39e17f6c7579ccda05bb23e8997

Authored by dev001
1 parent e55dbbf8

feat: 边端创建的场景联动云端不能进行编辑操作

... ... @@ -30,7 +30,7 @@
30 30 auth: 'api:yt:sceneLinkage:update',
31 31 icon: 'clarity:note-edit-line',
32 32 onClick: handleEdit.bind(null, record),
33   - ifShow: record.status !== 1,
  33 + ifShow: record.status !== 1 && record.isEdge !== 1,
34 34 },
35 35 ]"
36 36 :drop-down-actions="[
... ... @@ -39,7 +39,7 @@
39 39 auth: 'api:yt:sceneLinkage:delete',
40 40 icon: 'ant-design:delete-outlined',
41 41 color: 'error',
42   - ifShow: record.status !== 1,
  42 + ifShow: record.status !== 1 && record.isEdge !== 1,
43 43 popConfirm: {
44 44 title: '是否确认删除',
45 45 confirm: handleDeleteOrBatchDelete.bind(null, record),
... ... @@ -56,6 +56,7 @@
56 56 :loading="record.pendingStatus"
57 57 checkedChildren="启用"
58 58 unCheckedChildren="禁用"
  59 + :disabled="record.isEdge === 1"
59 60 @change="(checked:boolean)=>statusChange(checked,record)"
60 61 />
61 62 </Authority>
... ...