whj 1 年之前
父節點
當前提交
1ef8699a39
共有 1 個文件被更改,包括 16 次插入5 次删除
  1. 16 5
      src/views/preparation/preparation/Preparation.vue

+ 16 - 5
src/views/preparation/preparation/Preparation.vue

@@ -9,7 +9,18 @@
                 <a-input v-model="queryParam.keyword" placeholder="请输入名称/类型名称"/>
               </a-form-item>
             </a-col>
-
+            <a-col :md="8" :sm="24">
+              <a-form-item label="状态">
+                <a-select v-model="queryParam.status" placeholder="请选择">
+                  <a-select-option
+                    v-for="(label,value) in statusMap"
+                    :key="value"
+                    :label="label"
+                    :value="parseInt(value)">{{ label }}
+                  </a-select-option>
+                </a-select>
+              </a-form-item>
+            </a-col>
             <a-col :md="6" :sm="24" >
               <span class="table-page-search-submitButtons">
                 <a-button type="primary" @click="$refs.table.refresh(true)">查询</a-button>
@@ -55,10 +66,10 @@
             <a @click="handleView(record)">工单详情</a>
             <operation-button
               v-if="record.status === DictCache.VALUE.REPAIR_PREPARATION_STATUS.APPLY_MANAGER_VERIFY_BACK ||
-record.status === DictCache.VALUE.REPAIR_PREPARATION_STATUS.APPLY_LEADER_VERIFY_BACK ||
-record.status === DictCache.VALUE.REPAIR_PREPARATION_STATUS.RECEIVE_VERIFY_BACK ||
-record.status === DictCache.VALUE.REPAIR_PREPARATION_STATUS.FIRST_PROCESSING_VERIFY_BACK ||
-record.status === DictCache.VALUE.REPAIR_PREPARATION_STATUS.SECOND_PROCESSING_BACK"
+                record.status === DictCache.VALUE.REPAIR_PREPARATION_STATUS.APPLY_LEADER_VERIFY_BACK ||
+                record.status === DictCache.VALUE.REPAIR_PREPARATION_STATUS.RECEIVE_VERIFY_BACK ||
+                record.status === DictCache.VALUE.REPAIR_PREPARATION_STATUS.FIRST_PROCESSING_VERIFY_BACK ||
+                record.status === DictCache.VALUE.REPAIR_PREPARATION_STATUS.SECOND_PROCESSING_BACK"
               @click="handleEdit(record)"
             >修改</operation-button>
             <!--            <a-divider v-if="record.status === 1" type="vertical" />-->