wyh 1 年之前
父節點
當前提交
78be0af24f

+ 5 - 5
src/views/module_tpm/equipment/EquipmentList.vue

@@ -247,11 +247,11 @@
             align:"center",
             dataIndex: 'activeDate'
           },
-          // {
-          //   title:'责任部门',
-          //   align:"center",
-          //   dataIndex: 'responseDepartment'
-          // },
+          {
+            title:'责任部门',
+            align:"center",
+            dataIndex: 'responseDepartment_dictText'
+          },
           {
             title:'负责人',
             align:"center",

+ 4 - 3
src/views/module_tpm/equipment/modules/EquipmentForm.vue

@@ -84,11 +84,12 @@
               <j-date placeholder="请选择启用日期"  v-model="model.activeDate" :show-time="true" date-format="YYYY-MM-DD HH:mm:ss" style="width: 100%" />
             </a-form-model-item>
           </a-col>
-          <!-- <a-col :span="12">
+          <a-col :span="12">
             <a-form-model-item label="责任部门" :labelCol="labelCol" :wrapperCol="wrapperCol" prop="responseDepartment">
-              <a-input v-model="model.responseDepartment" placeholder="请输入责任部门"  ></a-input>
+              <j-select-depart v-model="model.responseDepartment" placeholder="请输入责任部门" :multi="false"  />
+              <!-- <a-input v-model="model.responseDepartment" placeholder="请输入责任部门"  ></a-input> -->
             </a-form-model-item>
-          </a-col> -->
+          </a-col>
           <a-col :span="12">
             <a-form-model-item label="负责人" :labelCol="labelCol" :wrapperCol="wrapperCol" prop="responsePerson">
               <!-- <a-input v-model="model.responsePerson" placeholder="请输入负责人"  ></a-input> -->