Selaa lähdekoodia

材料价格增删改隐藏+数字字典改

yuhan 1 vuosi sitten
vanhempi
commit
23723224ad

+ 13 - 13
src/views/module_kzks/costModelClPrice/CostModelClPriceList.vue

@@ -43,19 +43,19 @@
 
     <!-- 操作按钮区域 -->
     <div class="table-operator">
-      <a-button @click="handleAdd" type="primary" icon="plus">新增</a-button>
+      <!-- <a-button @click="handleAdd" type="primary" icon="plus">新增</a-button> -->
       <a-button type="primary" icon="download" @click="handleExportXls('材料价格库')">导出</a-button>
-      <a-upload name="file" :showUploadList="false" :multiple="false" :headers="tokenHeader" :action="importExcelUrl" @change="handleImportExcel">
+      <!-- <a-upload name="file" :showUploadList="false" :multiple="false" :headers="tokenHeader" :action="importExcelUrl" @change="handleImportExcel">
         <a-button type="primary" icon="import">导入</a-button>
-      </a-upload>
+      </a-upload> -->
       <!-- 高级查询区域 -->
-      <j-super-query :fieldList="superFieldList" ref="superQueryModal" @handleSuperQuery="handleSuperQuery"></j-super-query>
+      <!-- <j-super-query :fieldList="superFieldList" ref="superQueryModal" @handleSuperQuery="handleSuperQuery"></j-super-query>
       <a-dropdown v-if="selectedRowKeys.length > 0">
         <a-menu slot="overlay">
           <a-menu-item key="1" @click="batchDel"><a-icon type="delete"/>删除</a-menu-item>
         </a-menu>
         <a-button style="margin-left: 8px"> 批量操作 <a-icon type="down" /></a-button>
-      </a-dropdown>
+      </a-dropdown> -->
     </div>
 
     <!-- table区域-begin -->
@@ -183,14 +183,14 @@
             align:"center",
             dataIndex: 'caigouTime'
           },
-          {
-            title: '操作',
-            dataIndex: 'action',
-            align:"center",
-            fixed:"right",
-            width:147,
-            scopedSlots: { customRender: 'action' }
-          }
+          // {
+          //   title: '操作',
+          //   dataIndex: 'action',
+          //   align:"center",
+          //   fixed:"right",
+          //   width:147,
+          //   scopedSlots: { customRender: 'action' }
+          // }
         ],
         url: {
           list: "/costModelClPrice/costModelClPrice/list",

+ 2 - 2
src/views/module_kzks/projectDownloadModel/ProjectDownloadModelList.vue

@@ -6,7 +6,7 @@
         <a-row :gutter="24">
           <a-col :xl="6" :lg="7" :md="8" :sm="24">
             <a-form-item label="模板类型">
-              <j-dict-select-tag placeholder="请选择模板类型" v-model="queryParam.modelType" dictCode="import_type"/>
+              <j-dict-select-tag placeholder="请选择模板类型" v-model="queryParam.modelType" dictCode="download_model_type"/>
             </a-form-item>
           </a-col>
           <a-col :xl="6" :lg="7" :md="8" :sm="24">
@@ -188,7 +188,7 @@
       getSuperFieldList(){
         let fieldList=[];
         fieldList.push({type:'string',value:'modelName',text:'模板名称',dictCode:''})
-        fieldList.push({type:'string',value:'modelType',text:'模板类型',dictCode:'import_type'})
+        fieldList.push({type:'string',value:'modelType',text:'模板类型',dictCode:'download_model_type'})
         this.superFieldList = fieldList
       },
       // 下载