lyh
昨天 f5b3707c1116e48d67623055133f620cd79877ff
维修工单更改
已修改3个文件
78 ■■■■■ 文件已修改
src/views/eam/repair/EamRepairOrderList.vue 48 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/eam/repair/modules/EamRepairOrderList/EamRepairOrderModal.vue 15 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/flowable/workflow/repairOrder/RepairOrderApprovalModal.vue 15 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/eam/repair/EamRepairOrderList.vue
@@ -61,7 +61,7 @@
               :rowSelection="{selectedRowKeys: selectedRowKeys, onChange: onSelectChange}" @change="handleTableChange"
               :scroll="{x:'max-content'}">
        <span slot="action" slot-scope="text, record">
          <template v-if="record.repairStatus=='PENDING_REPAIR'||record.repairStatus=='UNDER_MAINTENANCE'">
          <template v-if="record.repairStatus=='PENDING_REPAIR'||record.repairStatus=='UNDER_MAINTENANCE' ||record.repairStatus=='REJECTED'">
             <a @click="handleFillIn(record)">填报</a>
             <a-divider type="vertical"/>
             <a-popconfirm title="确定提交吗?" @confirm="() => handleSubmit(record.id)">
@@ -70,6 +70,23 @@
          </template>
          <a v-else @click="handleDetail(record)">详情</a>
        </span>
        <!--字符串超长截取省略号显示-->
        <span slot="faultPhenomenon" slot-scope="text">
          <j-ellipsis :value="text" :length="8"/>
        </span>
        <span slot="faultReason" slot-scope="text">
          <j-ellipsis :value="text" :length="8"/>
        </span>
        <span slot="faultAnalysis" slot-scope="text">
          <j-ellipsis :value="text" :length="8"/>
        </span>
        <span slot="faultProcess" slot-scope="text">
          <j-ellipsis :value="text" :length="8"/>
        </span>
        <span slot="faultPrevent" slot-scope="text">
          <j-ellipsis :value="text" :length="8"/>
        </span>
      </a-table>
    </div>
@@ -149,7 +166,16 @@
            title: '工单号',
            align: 'center',
            dataIndex: 'repairCode',
            fixed: 'left'
          },
          {
            title: '故障类型',
            align: 'center',
            dataIndex: 'faultType_dictText',
          },
          {
            title: '报修人',
            align: 'center',
            dataIndex: 'reportPerson',
          },
          {
            title: '维修开始时间',
@@ -175,24 +201,34 @@
            width: 200
          },
          {
            title: '故障现象',
            align: 'center',
            dataIndex: 'faultPhenomenon',
            scopedSlots: {customRender: 'faultPhenomenon'},
          },
          {
            title: '故障原因',
            align: 'center',
            dataIndex: 'faultReason'
            dataIndex: 'faultReason',
            scopedSlots: {customRender: 'faultReason'},
          },
          {
            title: '故障分析',
            align: 'center',
            dataIndex: 'faultAnalysis'
            dataIndex: 'faultAnalysis',
            scopedSlots: {customRender: 'faultAnalysis'},
          },
          {
            title: '排故过程',
            align: 'center',
            dataIndex: 'faultProcess'
            dataIndex: 'faultProcess',
            scopedSlots: {customRender: 'faultProcess'},
          },
          {
            title: '预防措施',
            align: 'center',
            dataIndex: 'faultPrevent'
            dataIndex: 'faultPrevent',
            scopedSlots: {customRender: 'faultPrevent'},
          },
          {
            title: '操作工',
src/views/eam/repair/modules/EamRepairOrderList/EamRepairOrderModal.vue
@@ -15,6 +15,16 @@
            </a-form-model-item>
          </a-col>
          <a-col :span="customSpan">
            <a-form-model-item label="故障类型">
              <j-dict-select-tag dict-code="fault_type"  placeholder="请选择故障类型" v-model="model.faultType"/>
            </a-form-model-item>
          </a-col>
          <a-col :span="customSpan">
            <a-form-model-item label="报修人">
              <a-input placeholder="请输入报修人" v-model="model.reportPerson"/>
            </a-form-model-item>
          </a-col>
          <a-col :span="customSpan">
            <a-form-model-item label="维修开始时间" prop="actualStartTime">
              <a-date-picker show-time v-model="model.actualStartTime" :allowClear="false"
                             value-format="YYYY-MM-DD HH:mm:ss"
@@ -29,6 +39,11 @@
            </a-form-model-item>
          </a-col>
          <a-col :span="customSpan">
            <a-form-model-item label="故障现象">
              <a-textarea placeholder="请输入故障现象" v-model="model.faultPhenomenon"/>
            </a-form-model-item>
          </a-col>
          <a-col :span="customSpan">
            <a-form-model-item label="故障原因">
              <a-textarea placeholder="请输入故障原因" v-model="model.faultReason"/>
            </a-form-model-item>
src/views/flowable/workflow/repairOrder/RepairOrderApprovalModal.vue
@@ -19,6 +19,16 @@
                      <a-input v-model="model.repairCode" readOnly/>
                    </a-form-model-item>
                  </a-col>
                  <a-col :span="customSpan">
                    <a-form-model-item label="故障类型">
                      <j-dict-select-tag dict-code="fault_type"  v-model="model.faultType" disabled/>
                    </a-form-model-item>
                  </a-col>
                  <a-col :span="customSpan">
                    <a-form-model-item label="报修人">
                      <a-input v-model="model.reportPerson" readOnly/>
                    </a-form-model-item>
                  </a-col>
                  <a-col :span="12">
                    <a-form-model-item label="维修开始时间" :labelCol="labelCol" :wrapperCol="wrapperCol">
                      <a-input v-model="model.actualStartTime" readOnly/>
@@ -29,6 +39,11 @@
                      <a-input v-model="model.actualEndTime" readOnly/>
                    </a-form-model-item>
                  </a-col>
                  <a-col :span="customSpan">
                    <a-form-model-item label="故障现象">
                      <a-textarea v-model="model.faultPhenomenon" readOnly/>
                    </a-form-model-item>
                  </a-col>
                  <a-col :span="24">
                    <a-form-model-item label="故障原因">
                      <a-textarea v-model="model.faultReason" readOnly/>