cxmo 3 meses atrás
pai
commit
40b92e287e

+ 1 - 0
src/utils/buttonConfig.js

@@ -469,6 +469,7 @@ export const etaTablePermission = {
     etaTable_analysis_del:'etaTable:analysis:del',//删除
     etaTable_analysis_save:'etaTable:analysis:save',//保存
     etaTable_analysis_edit:'etaTable:analysis:edit',//编辑
+    etaTable_analysis_share:'etaTable:analysis:share',//设置共享,取消共享
 
     // 平衡表
     etaTable_customize_balance_sheetAdd:'etaTable:customize:balance:sheetAdd',//添加

+ 1 - 0
src/views/datasheet_manage/customAnalysis/components/shareTableDia.vue

@@ -26,6 +26,7 @@
                                 :options="shareDataList[index].userList"
                                 :show-all-levels="false"
                                 :key="shareDataList[index].selectKey"
+                                :placeholder="$t('SupplyAnalysis.StockPlant.placeholder03')"
                                 filterable
                                 :props="{
                                     value:'NodeId',

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

@@ -148,7 +148,7 @@
                   v-if="!data.ExcelInfoId&&isSheetBtnShow('classifyOpt_delete')&&classify_tab!==1"
                 />
                 <!-- 表格操作:共享/取消共享 -->
-                <span v-if="data.ExcelInfoId&&data.ShowShareBtn">
+                <span v-if="data.ExcelInfoId&&data.ShowShareBtn&&isSheetBtnShow('share')">
                     <el-dropdown @command="handleShareCommand">
                         <i class="el-icon-share" style="color:#5cb6ff;"></i>
                         <el-dropdown-menu slot="dropdown">
@@ -580,6 +580,7 @@ export default {
     //切换表格tab
     changeTab(index){
         this.classify_tab = index
+        this.search_txt = ''
         this.select_classify = 0
         this.select_id = 0
         this.sheetList = []