tangning 1 anno fa
parent
commit
e12ae2a292

+ 1 - 0
src/views/productOperation/modal/PowersModal.vue

@@ -103,6 +103,7 @@
           title: '可授权他人',
           dataIndex: 'canLook',
           customRender: ({ record }) => {
+            if (type.value == 1) return '编辑';
             return record.canEditLook == 1 ? '编辑和查看' : record.canAuthLook == 1 ? '查看' : `无权`;
           },
           width: 120,

+ 1 - 1
src/views/productOperation/modal/detailModal.vue

@@ -357,7 +357,7 @@
         let mylookEndTime =
           checkAuthOther.editEndTime > lookEndTime ? checkAuthOther.editEndTime : lookEndTime;
         editTime.value = checkAuthOther.editEndTime;
-        isEdit.value = true;
+        isEdit.value = data.qxType ? true : false;
         fileFlow.qxType = data.qxType;
         if (data) {
           title.value = data.id ? '编辑授权' : '新增授权';