Browse Source

1.日常维保,日常维修 input栏位宽度修改,2.日常维修 搜索执行人放入 筛选组件

yx 4 years ago
parent
commit
6747c16854

+ 1 - 1
src/views/equipment/table/eqDetaileDialog.vue

@@ -61,7 +61,7 @@
             <div class='gdqd-dialog-bottom'>
                 <el-table @row-click='innerTable' :data='tableData' :key='key' :border='true' style='width: 100%' :highlight-current-row='true'>
                     <el-table-column type='index' label='序号' width='60'></el-table-column>
-                    <el-table-column prop='sbjc' label='设备名称' show-overflow-tooltip resizable min-width='150'>
+                    <el-table-column prop='sbjc' label='设备名称' show-overflow-tooltip resizable min-width='500'>
                         <template slot-scope='{row}'>{{row.sbjc || '--'}}</template>
                     </el-table-column>
                     <el-table-column prop='assetnum' label='设备内码' show-overflow-tooltip resizable width='80'>

+ 12 - 1
src/views/equipment/table/inputDIalog.vue

@@ -95,6 +95,16 @@
                     v-model='inputForm.locationName'
                     style='width:232px;margin-right:12px'
                 ></el-input>
+                <!-- 日常维保,执行搜索人放入筛选 -->
+                <p style='margin:16px 0 8px 0'>搜索执行人</p>
+                <el-input
+                    placeholder='搜索执行人'
+                    size='small'
+                    clearable
+                    prefix-icon='el-icon-search'
+                    v-model='inputForm.people'
+                    style='width:232px;margin-right:12px'
+                ></el-input>
             </el-form>
             <el-form style=' padding: 20px 24px;' v-if='type==6'>
                 <p style='margin:16px 0 8px 0'>任务完成日期</p>
@@ -171,6 +181,7 @@ export default {
                 reportdate: '',
                 real: '',
                 locationName: '',
+                people: '',
             },
         }
     },
@@ -191,7 +202,7 @@ export default {
             } else if (this.type == 6) {
                 this.$emit('confirm', this.inputForm.complete, this.inputForm.bill, this.inputForm.ycgdtbsj, this.inputForm.ycgdyssj)
             } else if (this.type == 5) {
-                this.$emit('confirm', this.inputForm.reportdate, this.inputForm.real, this.inputForm.locationName)
+                this.$emit('confirm', this.inputForm.reportdate, this.inputForm.real, this.inputForm.locationName, this.inputForm.people)
             }
             this.dialogFormVisible = false
             this.inputForm.status = ''

+ 2 - 2
src/views/equipment/table/rcwbTable.vue

@@ -30,7 +30,7 @@
                 size='small'
                 prefix-icon='el-icon-search'
                 v-model='rwbh'
-                style='margin-right:12px;width:192px;'
+                style='margin-right:12px;width:180px;'
             ></el-input>
             <Select
                 @change='pageChanged(1)'
@@ -55,7 +55,7 @@
             <div class='picker-box'>
                 <span class='picker-span'>任务开始日期:</span>
                 <el-date-picker
-                    style='width:190px'
+                    style='width:182px'
                     v-model='reportdate'
                     value-format='yyyyMMdd'
                     type='daterange'

+ 4 - 3
src/views/equipment/table/rcwxTable.vue

@@ -60,7 +60,7 @@
                 caption='报修来源:'
                 :selectdata='sourceOption'
             ></Select>
-            <el-input
+            <!-- <el-input
                 placeholder='搜索执行人'
                 size='small'
                 clearable
@@ -69,7 +69,7 @@
                 prefix-icon='el-icon-search'
                 v-model='people'
                 style='width:192px;margin-right:12px'
-            ></el-input>
+            ></el-input> -->
             <input-dialog :type='5' @confirm='confirm'></input-dialog>
         </div>
         <div ref='tableBox'>
@@ -203,10 +203,11 @@ export default {
             }
         },
         //多余输入框监听
-        confirm(reportdate, real, locationName) {
+        confirm(reportdate, real, locationName,people) {
             this.reportdate = reportdate
             this.sjjssj = real
             this.locationName = locationName
+            this.people = people
             this.pageChanged(1)
         },
         pageChanged(page) {