tangning 1 gadu atpakaļ
vecāks
revīzija
b4771a1ba2

+ 1 - 1
src/views/productOperation/cameraScene.vue

@@ -332,7 +332,7 @@
           },
           {
             field: 'userName',
-            label: '绑定账号',
+            label: '人员编号',
             component: 'Input',
             componentProps: {
               maxLength: 100,

+ 2 - 2
src/views/productOperation/modal/PowersModal.vue

@@ -86,7 +86,7 @@
           title: '查看权限',
           dataIndex: 'lookAuth',
           customRender: ({ record }) => {
-            return record.lookAuth == 1 ? '不限时间' : record.lookAuth == 0 ? '无权' : !dayjs().isBefore(dayjs(record.lookEndTime)) ? '已过期' : `${dayjs(record.lookEndTime).format('YYYY-MM-DD HH:mm')} 截止`;
+            return record.lookAuth == 1 ? '不限时间' : record.lookAuth == 0 ? '无权' : `${dayjs(record.lookEndTime).format('YYYY-MM-DD HH:mm')} 截止`;
           },
           width: 150,
         },
@@ -94,7 +94,7 @@
           title: '编辑权限',
           dataIndex: 'editAuth',
           customRender: ({ record }) => {
-            return record.editAuth == 1 ? '不限时间' : record.editAuth == 0 ? '无权' : !dayjs().isBefore(dayjs(record.editEndTime)) ? '已过期' : `${dayjs(record.editEndTime).format('YYYY-MM-DD HH:mm')} 截止`;
+            return record.editAuth == 1 ? '不限时间' : record.editAuth == 0 ? '无权' : `${dayjs(record.editEndTime).format('YYYY-MM-DD HH:mm')} 截止`;
           },
           width: 150,
         },

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

@@ -384,7 +384,10 @@
           },
           {
             field: 'lookAuth',
-            componentProps: { options: getOptionList('lookAuth', setData.lookAuth) },
+            componentProps: {
+              disabled: setData.editAuth == 0,
+              options: getOptionList('lookAuth', setData.lookAuth),
+            },
           },
           {
             field: 'editEndTime',