Przeglądaj źródła

fix: 报告管理

32197351@qq.com 2 lat temu
rodzic
commit
4ae1e562b1

+ 22 - 2
itdmWeb/src/views/module-iTDM/baogao/ItdmBaogaoList.vue

@@ -4,6 +4,26 @@
     <div class="table-page-search-wrapper">
       <a-form layout="inline" @keyup.enter.native="searchQuery">
         <a-row :gutter="24">
+          <a-col :xl="6" :lg="7" :md="8" :sm="24">
+            <a-form-item label="委托编号">
+              <a-input placeholder="请输入委托编号" v-model="queryParam.weituoNo"></a-input>
+            </a-form-item>
+          </a-col>
+          <a-col :xl="6" :lg="7" :md="8" :sm="24">
+            <a-form-item label="委托单位名称">
+              <a-input placeholder="请输入委托单位名称" v-model="queryParam.weituoClient"></a-input>
+            </a-form-item>
+          </a-col>
+          <a-col :xl="6" :lg="7" :md="8" :sm="24">
+            <span style="float: left;overflow: hidden;" class="table-page-search-submitButtons">
+              <a-button type="primary" @click="searchQuery" icon="search">查询</a-button>
+              <a-button type="primary" @click="searchReset" icon="reload" style="margin-left: 8px">重置</a-button>
+              <a @click="handleToggleSearch" style="margin-left: 8px">
+                {{ toggleSearchStatus ? '收起' : '展开' }}
+                <a-icon :type="toggleSearchStatus ? 'up' : 'down'"/>
+              </a>
+            </span>
+          </a-col>
         </a-row>
       </a-form>
     </div>
@@ -146,7 +166,7 @@ export default {
         {
           title: '报告模板',
           align: 'center',
-          dataIndex: 'baogaoTypeName',
+          dataIndex: 'baogaoType_dictText',
 
         },
         {
@@ -193,7 +213,7 @@ export default {
       fieldList.push({ type: 'string', value: 'sampleNames', text: '委托样品列表', dictCode: '' })
       fieldList.push({ type: 'string', value: 'weituoLxr', text: '委托联系人', dictCode: '' })
       fieldList.push({ type: 'string', value: 'testItemsNames', text: '委托样品检测列表', dictCode: '' })
-      fieldList.push({ type: 'string', value: 'baogaoTypeName', text: '报告模板', dictCode: '' })
+      fieldList.push({ type: 'string', value: 'baogaoType_dictText', text: '报告模板', dictCode: '' })
       fieldList.push({ type: 'Text', value: 'filePath', text: '报告文件地址', dictCode: '' })
       this.superFieldList = fieldList
     }