tangning hace 1 año
padre
commit
23745df717

+ 2 - 1
src/views/customer/scene.vue

@@ -14,7 +14,7 @@
         </template>
         
         <template #herf="{ record }">
-          <a :href="record.thumb" target="_blank">{{record.sceneName}}</a>
+          <a :href="record.thumb" target="_blank" :title="record.sceneName">{{record.sceneName}}</a>
         </template>
         <template #action="{ record }">
           <TableAction
@@ -142,6 +142,7 @@
         {
           title: '场景标题',
           dataIndex: 'sceneName',
+          ellipsis: true,
           slots: { customRender: 'herf' },
           width: 150,
         },

+ 2 - 0
src/views/productOperation/cameraScene.vue

@@ -22,6 +22,7 @@
           <a
             v-if="record.status == 1 || (record.status == -2 && record.payStatus == 1)"
             target="_blank"
+            :title="record.sceneName"
             :href="record.webSite"
             >{{ record.sceneName }}</a
           >
@@ -202,6 +203,7 @@
         {
           title: '场景标题',
           dataIndex: 'sceneName',
+          ellipsis: true,
           slots: { customRender: 'href' },
           width: 150,
         },

+ 5 - 3
src/views/productOperation/modal/detailModal.vue

@@ -356,6 +356,7 @@
           ...data,
           isEmpower: [0], //[data.canAuthLook ? 0 : '', data.canEditLook ? 1 : ''],
         };
+        console.log(setData, 'setData')
         let lookEndTime = checkAuthOther.lookEndTime
           ? checkAuthOther.lookEndTime
           : dayjs().format('YYYY-MM-DD HH:mm:ss');
@@ -369,7 +370,7 @@
           modelRef.value = data.id ? true : false;
           setFieldsValue({
             ...setData,
-            editAuth: data.qxType ? 0 : 1,
+            editAuth: setData.editAuth?setData.editAuth:data.qxType ? 0 : 1,
             isAuthor: 0,
           });
         } else {
@@ -393,7 +394,7 @@
             field: 'editAuth',
             defaultValue: 1,
             componentProps: {
-              options: fileFlow.qxType
+              options: (fileFlow.qxType || setData.editAuth)
                 ? getOptionList('editAuth', setData.editAuth)
                 : [
                     { label: '不限时编辑', value: 1 },
@@ -411,7 +412,7 @@
           },
           {
             field: 'editEndTime',
-            ifShow: data.editAuth == 2,
+            ifShow: setData.editAuth == 2,
             componentProps: {
               disabled: checkAuthOther.editEndTime,
               disabledDate: (current) => {
@@ -532,6 +533,7 @@
           ],
         };
         let option = optionList[type];
+        console.log((!auth && auth != 0) , auth == 1, 'optionListauth', type);
         if ((!auth && auth != 0) || auth == 1) {
           return option;
         } else if (auth == 2) {

+ 2 - 1
src/views/productOperation/sxz.vue

@@ -4,7 +4,7 @@
       <!-- <a-button type="primary" @click="exportExcel"> 导出1</a-button> -->
     </template>
     <template #href="{ record }">
-          <a v-if="record.sceneName" target="_blank" :href="record.thumb">{{record.sceneName}}</a>
+          <a :title="record.sceneName" v-if="record.sceneName" target="_blank" :href="record.thumb">{{record.sceneName}}</a>
           <span v-else>-</span>
     </template>
     <template #action="{ record }">
@@ -76,6 +76,7 @@
         {
           title: '场景标题',
           dataIndex: 'sceneName',
+          ellipsis: true,
           slots: { customRender: 'href' },
           width: 150,
         },

+ 8 - 1
src/views/sceneShare/sceneListModal.vue

@@ -11,7 +11,13 @@
       <div class="table_list">
         <BasicTable @register="registerSubtable">
           <template #href="{ record }">
-            <a v-if="record.webSite" target="_blank" :href="record.webSite">{{ record.title }}</a>
+            <a
+              :title="record.sceneName"
+              v-if="record.webSite"
+              target="_blank"
+              :href="record.webSite"
+              >{{ record.title }}</a
+            >
             <span v-else-if="record.sceneName">{{ record.sceneName }}</span>
             <span v-else>-</span>
           </template>
@@ -41,6 +47,7 @@
         {
           title: '场景标题',
           dataIndex: 'sceneName',
+          ellipsis: true,
           slots: { customRender: 'href' },
           width: 150,
         },