设备管理页面功能修改

master
马雪伟 3 days ago
parent b2021c08ec
commit 87f55a4f32

@ -173,10 +173,10 @@
<el-form-item label="记录方式" prop="recordMethod"> <el-form-item label="记录方式" prop="recordMethod">
<el-input v-model="form.recordMethod" placeholder="请输入记录方式" /> <el-input v-model="form.recordMethod" placeholder="请输入记录方式" />
</el-form-item> </el-form-item>
<el-form-item label="检查类型" prop="inspectType"> <el-form-item label="检查类型" prop="inspectProjectProperty">
<el-radio-group v-model="form.inspectType"> <el-radio-group v-model="form.inspectProjectProperty">
<el-radio <el-radio
v-for="dict in dict.type.dms_inspect_type" v-for="dict in dict.type.inspect_project_property"
:key="dict.value" :key="dict.value"
:label="dict.value" :label="dict.value"
>{{dict.label}}</el-radio> >{{dict.label}}</el-radio>
@ -211,7 +211,7 @@ import { listDmsBaseInspectProject, getDmsBaseInspectProject, delDmsBaseInspectP
export default { export default {
name: "DmsBaseInspectProject", name: "DmsBaseInspectProject",
dicts:['dms_inspect_type'], dicts:['dms_inspect_type','inspect_project_property'],
data() { data() {
return { return {
// //

@ -5,7 +5,7 @@
<el-row> <el-row>
<el-col :span="8" :offset="2"> <el-col :span="8" :offset="2">
<el-form-item label="工单编号" > <el-form-item label="工单编号" >
<el-input v-model="this.dmsBillsInstanceList[0].billsInspectCode" disabled /> <el-input v-model="this.dmsBillsInstanceList[0].planInspectCode" disabled />
</el-form-item> </el-form-item>
</el-col> </el-col>
<!-- <el-col :span="8" :offset="2">--> <!-- <el-col :span="8" :offset="2">-->
@ -20,7 +20,7 @@
</el-col> </el-col>
<el-col :span="8" :offset="2"> <el-col :span="8" :offset="2">
<el-form-item label="创建人" > <el-form-item label="创建人" >
<el-input v-model="this.dmsBillsInstanceList[0].createBy" disabled /> <el-input v-model="this.dmsBillsInstanceList[0].performer" disabled />
</el-form-item> </el-form-item>
</el-col> </el-col>
<el-col :span="8" :offset="2"> <el-col :span="8" :offset="2">

@ -125,7 +125,7 @@
<dict-tag :options="dict.type.dms_inspect_type" :value="scope.row.inspectType"/> <dict-tag :options="dict.type.dms_inspect_type" :value="scope.row.inspectType"/>
</template> </template>
</el-table-column> </el-table-column>
<el-table-column label="巡检编号" align="center" prop="billsInspectCode" /> <el-table-column label="巡检编号" align="center" prop="planInspectCode" />
<el-table-column label="计划开始时间" align="center" prop="planBeginTime" width="180"> <el-table-column label="计划开始时间" align="center" prop="planBeginTime" width="180">
<template slot-scope="scope"> <template slot-scope="scope">
<span>{{ parseTime(scope.row.planBeginTime, '{y}-{m}-{d}') }}</span> <span>{{ parseTime(scope.row.planBeginTime, '{y}-{m}-{d}') }}</span>

@ -111,7 +111,7 @@
<dict-tag :options="dict.type.dms_maint_status" :value="scope.row.maintStatus"/> <dict-tag :options="dict.type.dms_maint_status" :value="scope.row.maintStatus"/>
</template> </template>
</el-table-column> </el-table-column>
<el-table-column label="保养完成率" align="center" prop="maintCompRate" /> <!-- <el-table-column label="保养完成率" align="center" prop="maintCompRate" />-->
<!-- <el-table-column label="是否标识1-是2-否" align="center" prop="isFlag" />--> <!-- <el-table-column label="是否标识1-是2-否" align="center" prop="isFlag" />-->
<el-table-column label="备注" align="center" prop="remark" /> <el-table-column label="备注" align="center" prop="remark" />
<el-table-column label="操作" align="center" class-name="small-padding fixed-width"> <el-table-column label="操作" align="center" class-name="small-padding fixed-width">

@ -20,7 +20,7 @@
</el-col> </el-col>
<el-col :span="8" :offset="2"> <el-col :span="8" :offset="2">
<el-form-item label="申请人" > <el-form-item label="申请人" >
<el-input v-model="this.dmsBillsMaintInstanceList[0].createBy" disabled /> <el-input v-model="this.dmsBillsMaintInstanceList[0].maintSupervisor" disabled />
</el-form-item> </el-form-item>
</el-col> </el-col>
<el-col :span="8" :offset="2"> <el-col :span="8" :offset="2">
@ -47,147 +47,147 @@
<el-row> <!-- <el-row>-->
<!-- 第一步--> <!-- &lt;!&ndash; 第一步&ndash;&gt;-->
<el-form ref="form" :model="form" label-width="100px"> <!-- <el-form ref="form" :model="form" label-width="100px">-->
<h4 class="form-header h4">{{this.wfProcessActivityList[0].processActivityName}}</h4> <!-- <h4 class="form-header h4">{{this.wfProcessActivityList[0].processActivityName}}</h4>-->
<el-col :span="8" > <!-- <el-col :span="8" >-->
<el-form-item label="保养级别" prop="maintlevel"> <!-- <el-form-item label="保养级别" prop="maintlevel">-->
<el-select v-model="form.maintLevel" placeholder="保养级别" :disabled=true> <!-- <el-select v-model="form.maintLevel" placeholder="保养级别" :disabled=true>-->
<el-option <!-- <el-option-->
v-for="item in dict.type.dms_maint_level" <!-- v-for="item in dict.type.dms_maint_level"-->
:key=" parseInt(item.value)" <!-- :key=" parseInt(item.value)"-->
:label="item.label" <!-- :label="item.label"-->
:value="parseInt(item.value)"> <!-- :value="parseInt(item.value)">-->
</el-option> <!-- </el-option>-->
</el-select> <!-- </el-select>-->
</el-form-item> <!-- </el-form-item>-->
</el-col> <!-- </el-col>-->
<el-col :span="8"> <!-- <el-col :span="8">-->
<el-form-item label="保养组别" prop="maintGroup"> <!-- <el-form-item label="保养组别" prop="maintGroup">-->
<el-input v-model="form.maintGroup" placeholder="请输入检修组别" :disabled=true /> <!-- <el-input v-model="form.maintGroup" placeholder="请输入检修组别" :disabled=true />-->
</el-form-item> <!-- </el-form-item>-->
</el-col> <!-- </el-col>-->
<el-col :span="8"> <!-- <el-col :span="8">-->
<el-form-item label="保养负责人" prop="maintSupervisor"> <!-- <el-form-item label="保养负责人" prop="maintSupervisor">-->
<el-input v-model="form.maintSupervisor" placeholder="请输入检修负责人" :disabled=true /> <!-- <el-input v-model="form.maintSupervisor" placeholder="请输入检修负责人" :disabled=true />-->
</el-form-item> <!-- </el-form-item>-->
</el-col> <!-- </el-col>-->
<!-- 中间步骤--> <!-- &lt;!&ndash; 中间步骤&ndash;&gt;-->
<el-form-item v-for="(repairInstanceActivity,index) in dmsMaintInstanceActivityList" <!-- <el-form-item v-for="(repairInstanceActivity,index) in dmsMaintInstanceActivityList"-->
:key="dmsMaintInstanceActivityList.instanceActivityId" <!-- :key="dmsMaintInstanceActivityList.instanceActivityId"-->
label-width="0px" <!-- label-width="0px"-->
:model="form" <!-- :model="form"-->
v-if="repairInstanceActivity.processStepOrder!=1" <!-- v-if="repairInstanceActivity.processStepOrder!=1"-->
> <!-- >-->
<h4 class="form-header h4">{{repairInstanceActivity.name}}</h4> <!-- <h4 class="form-header h4">{{repairInstanceActivity.name}}</h4>-->
<el-col :span="8"> <!-- <el-col :span="8">-->
<el-form-item label="保养级别" prop="maintLevel"> <!-- <el-form-item label="保养级别" prop="maintLevel">-->
<el-select v-model="form.maintLevel" placeholder="保养级别" :disabled=true> <!-- <el-select v-model="form.maintLevel" placeholder="保养级别" :disabled=true>-->
<el-option <!-- <el-option-->
v-for="item in dict.type.dms_maint_level" <!-- v-for="item in dict.type.dms_maint_level"-->
:key="parseInt(item.value)" <!-- :key="parseInt(item.value)"-->
:label="item.label" <!-- :label="item.label"-->
:value="parseInt(item.value)" <!-- :value="parseInt(item.value)"-->
v-bind:disabled="repairInstanceActivity.processStepOrder!=dmsMaintInstanceActivityList.length+1" <!-- v-bind:disabled="repairInstanceActivity.processStepOrder!=dmsMaintInstanceActivityList.length+1"-->
> <!-- >-->
</el-option> <!-- </el-option>-->
</el-select> <!-- </el-select>-->
</el-form-item> <!-- </el-form-item>-->
</el-col> <!-- </el-col>-->
<el-col :span="8"> <!-- <el-col :span="8">-->
<el-form-item label="保养组别"> <!-- <el-form-item label="保养组别">-->
<el-input <!-- <el-input-->
v-model="repairInstanceActivity.maintGroup" <!-- v-model="repairInstanceActivity.maintGroup"-->
v-bind:disabled="repairInstanceActivity.processStepOrder!=dmsMaintInstanceActivityList.length+1" <!-- v-bind:disabled="repairInstanceActivity.processStepOrder!=dmsMaintInstanceActivityList.length+1"-->
placeholder="保养组别"> <!-- placeholder="保养组别">-->
</el-input> <!-- </el-input>-->
</el-form-item> <!-- </el-form-item>-->
</el-col> <!-- </el-col>-->
<el-col :span="8"> <!-- <el-col :span="8">-->
<el-form-item label="保养负责人" <!-- <el-form-item label="保养负责人"-->
> <!-- >-->
<el-input <!-- <el-input-->
v-model="repairInstanceActivity.maintSupervisor" <!-- v-model="repairInstanceActivity.maintSupervisor"-->
v-bind:disabled="repairInstanceActivity.processStepOrder!=dmsMaintInstanceActivityList.length+1" <!-- v-bind:disabled="repairInstanceActivity.processStepOrder!=dmsMaintInstanceActivityList.length+1"-->
placeholder="保养负责人"> <!-- placeholder="保养负责人">-->
</el-input> <!-- </el-input>-->
</el-form-item> <!-- </el-form-item>-->
</el-col> <!-- </el-col>-->
<el-col :span="24"> <!-- <el-col :span="24">-->
<el-form-item label="处理意见" <!-- <el-form-item label="处理意见"-->
> <!-- >-->
<el-input <!-- <el-input-->
v-model="repairInstanceActivity.processHandleResolution" <!-- v-model="repairInstanceActivity.processHandleResolution"-->
v-bind:disabled="repairInstanceActivity.processStepOrder!=dmsMaintInstanceActivityList.length+1" <!-- v-bind:disabled="repairInstanceActivity.processStepOrder!=dmsMaintInstanceActivityList.length+1"-->
placeholder="处理意见"> <!-- placeholder="处理意见">-->
</el-input> <!-- </el-input>-->
</el-form-item> <!-- </el-form-item>-->
</el-col> <!-- </el-col>-->
</el-form-item> <!-- </el-form-item>-->
</el-form> <!-- </el-form>-->
<!--新增审批流程表单显示--> <!-- &lt;!&ndash;新增审批流程表单显示&ndash;&gt;-->
<el-form ref="form1" :model="form1" label-width="100px" <!-- <el-form ref="form1" :model="form1" label-width="100px"-->
v-if="form1.processStepOrder!=wfProcessActivityList.length&&this.isUpdate==true"> <!-- v-if="form1.processStepOrder!=wfProcessActivityList.length&&this.isUpdate==true">-->
<h4 class="form-header h4">{{this.wfProcessActivityList[this.dmsMaintInstanceActivityList.length].processActivityName}}</h4> <!-- <h4 class="form-header h4">{{this.wfProcessActivityList[this.dmsMaintInstanceActivityList.length].processActivityName}}</h4>-->
<el-col :span="8"> <!-- <el-col :span="8">-->
<!-- <el-form-item label="检修类型" prop="repairType"--> <!-- &lt;!&ndash; <el-form-item label="检修类型" prop="repairType"&ndash;&gt;-->
<!-- >--> <!-- &lt;!&ndash; >&ndash;&gt;-->
<!-- <el-input--> <!-- &lt;!&ndash; <el-input&ndash;&gt;-->
<!-- v-model="form1.repairType"--> <!-- &lt;!&ndash; v-model="form1.repairType"&ndash;&gt;-->
<!-- placeholder="检修类型"--> <!-- &lt;!&ndash; placeholder="检修类型"&ndash;&gt;-->
<!-- >--> <!-- &lt;!&ndash; >&ndash;&gt;-->
<!-- </el-input>--> <!-- &lt;!&ndash; </el-input>&ndash;&gt;-->
<!-- </el-form-item>--> <!-- &lt;!&ndash; </el-form-item>&ndash;&gt;-->
<el-form-item label="保养等级" prop="maintLevel"> <!-- <el-form-item label="保养等级" prop="maintLevel">-->
<el-select v-model="form1.maintLevel" placeholder="保养等级" > <!-- <el-select v-model="form1.maintLevel" placeholder="保养等级" >-->
<el-option <!-- <el-option-->
v-for="item in dict.type.dms_maint_level" <!-- v-for="item in dict.type.dms_maint_level"-->
:key="parseInt(item.value)" <!-- :key="parseInt(item.value)"-->
:label="item.label" <!-- :label="item.label"-->
:value="parseInt(item.value)" <!-- :value="parseInt(item.value)"-->
> <!-- >-->
</el-option> <!-- </el-option>-->
</el-select> <!-- </el-select>-->
</el-form-item> <!-- </el-form-item>-->
</el-col> <!-- </el-col>-->
<el-col :span="8"> <!-- <el-col :span="8">-->
<el-form-item label="保养组别" <!-- <el-form-item label="保养组别"-->
> <!-- >-->
<el-input <!-- <el-input-->
v-model="form1.maintGroup" <!-- v-model="form1.maintGroup"-->
placeholder="保养组别"> <!-- placeholder="保养组别">-->
</el-input> <!-- </el-input>-->
</el-form-item> <!-- </el-form-item>-->
</el-col> <!-- </el-col>-->
<el-col :span="8"> <!-- <el-col :span="8">-->
<el-form-item label="保养负责人" <!-- <el-form-item label="保养负责人"-->
> <!-- >-->
<el-input <!-- <el-input-->
v-model="form1.maintSupervisor" <!-- v-model="form1.maintSupervisor"-->
placeholder="保养负责人"> <!-- placeholder="保养负责人">-->
</el-input> <!-- </el-input>-->
</el-form-item> <!-- </el-form-item>-->
</el-col> <!-- </el-col>-->
<el-col :span="24"> <!-- <el-col :span="24">-->
<el-form-item label="处理意见" <!-- <el-form-item label="处理意见"-->
> <!-- >-->
<el-input <!-- <el-input-->
v-model="form1.processHandleResolution" <!-- v-model="form1.processHandleResolution"-->
placeholder="处理意见"> <!-- placeholder="处理意见">-->
</el-input> <!-- </el-input>-->
</el-form-item> <!-- </el-form-item>-->
</el-col> <!-- </el-col>-->
<div > <!-- <div >-->
<el-button type="primary" @click="submitForm"> </el-button> <!-- <el-button type="primary" @click="submitForm"> </el-button>-->
</div> <!-- </div>-->
</el-form> <!-- </el-form>-->
@ -199,7 +199,7 @@
<!-- <el-table-column type="selection" width="55" align="center" />--> <!-- <el-table-column type="selection" width="55" align="center" />-->
<el-table-column label="计划ID" align="center" prop="planMaintId" /> <el-table-column label="计划ID" align="center" prop="planMaintId" />
<el-table-column label="设备名称" align="center" prop="deviceName" /> <el-table-column label="设备名称" align="center" prop="deviceName" />
<el-table-column label="保养部位" align="center" prop="maintStationName" /> <el-table-column label="保养部位" align="center" prop="maintStationCode" />
<el-table-column label="保养标准" align="center" prop="maintProtocol" /> <el-table-column label="保养标准" align="center" prop="maintProtocol" />
<el-table-column label="操作描述" align="center" prop="operationDescription" /> <el-table-column label="操作描述" align="center" prop="operationDescription" />

Loading…
Cancel
Save