cxmo 11 mesi fa
parent
commit
38382b106a

+ 7 - 0
src/views/datasheet_manage/components/sheetListWrap.vue

@@ -22,6 +22,13 @@
           <div class="item-bottom">
             <span>{{$t('OnlineExcelPage.creation_time_tle')}}: {{ cell.CreateTime.slice(0, 10) }}</span>
             <div>
+                <span v-if="cell.Source===4&&$parent.isSheetBtnShow('otherSave')&&cell.HaveOperaAuth"
+                    class="editsty"
+                    style="margin-right: 10px"
+                    @click="$emit('saveOther',cell)"
+                >
+                    {{ $t('ETable.Btn.save_as') }}
+                </span>
               <span
                 v-if="$parent.isSheetBtnShow('download')&&cell.HaveOperaAuth"
                 class="editsty"

+ 4 - 1
src/views/datasheet_manage/customAnalysis/list.vue

@@ -262,6 +262,7 @@
           @detailShowHandle="detailShowHandle"
           @delSheetHandle="delSheetHandle"
           @downloadExcel="downloadExcel"
+          @saveOther="saveOtherHandle"
           ref="sheetListWrap"
         />
       </div>
@@ -309,6 +310,7 @@
                 value: 'ExcelClassifyId',
                 children: 'Children',
                 emitPath: false,
+                checkStrictly:true
               }"
               style="width: 80%"
               :placeholder="$t('OnlineExcelPage.select_appropriate_category_lable')"
@@ -831,7 +833,8 @@ export default {
     },
 
     /* 表格另存为 */
-    saveOtherHandle() {
+    saveOtherHandle(cell) {
+      cell&&(this.sheetDetailInfo = cell)
       this.saveOtherForm.name = this.sheetDetailInfo.ExcelName + "(1)";
       this.isSaveOther = true;
     },