|
|
@ -207,9 +207,19 @@
|
|
|
|
<el-form-item label="保养组别" prop="maintGroup">
|
|
|
|
<el-form-item label="保养组别" prop="maintGroup">
|
|
|
|
<el-input v-model="form.maintGroup" placeholder="请输入保养组别,如A组" />
|
|
|
|
<el-input v-model="form.maintGroup" placeholder="请输入保养组别,如A组" />
|
|
|
|
</el-form-item>
|
|
|
|
</el-form-item>
|
|
|
|
<el-form-item label="保养负责人" prop="maintSupervisor">
|
|
|
|
<el-form-item label="保养负责人" prop="maintSupervisor" >
|
|
|
|
<el-input v-model="form.maintSupervisor" placeholder="请输入保养负责人" />
|
|
|
|
<el-select v-model="form.maintSupervisor" placeholder="请选择保养负责人">
|
|
|
|
|
|
|
|
<el-option
|
|
|
|
|
|
|
|
v-for="item in userList"
|
|
|
|
|
|
|
|
:key="item.userId.toString()"
|
|
|
|
|
|
|
|
:label="item.nickName"
|
|
|
|
|
|
|
|
:value="item.nickName">
|
|
|
|
|
|
|
|
</el-option>
|
|
|
|
|
|
|
|
</el-select>
|
|
|
|
</el-form-item>
|
|
|
|
</el-form-item>
|
|
|
|
|
|
|
|
<!-- <el-form-item label="保养负责人" prop="maintSupervisor">-->
|
|
|
|
|
|
|
|
<!-- <el-input v-model="form.maintSupervisor" placeholder="请输入保养负责人" />-->
|
|
|
|
|
|
|
|
<!-- </el-form-item>-->
|
|
|
|
<!-- <el-form-item label="本次保养时间" prop="maintTime">-->
|
|
|
|
<!-- <el-form-item label="本次保养时间" prop="maintTime">-->
|
|
|
|
<!-- <el-date-picker clearable-->
|
|
|
|
<!-- <el-date-picker clearable-->
|
|
|
|
<!-- v-model="form.maintTime"-->
|
|
|
|
<!-- v-model="form.maintTime"-->
|
|
|
@ -294,7 +304,10 @@ import { listMaint, getMaint, delMaint, addMaint, updateMaint } from "@/api/dms/
|
|
|
|
import { listLedger } from '@/api/dms/ledger'
|
|
|
|
import { listLedger } from '@/api/dms/ledger'
|
|
|
|
import { listStation } from '@/api/dms/station'
|
|
|
|
import { listStation } from '@/api/dms/station'
|
|
|
|
import { listStandard } from '@/api/dms/standard'
|
|
|
|
import { listStandard } from '@/api/dms/standard'
|
|
|
|
|
|
|
|
import {findUserList} from "@//api/system/user";
|
|
|
|
import Crontab from '@/components/Crontab/index'
|
|
|
|
import Crontab from '@/components/Crontab/index'
|
|
|
|
|
|
|
|
import {listDmsBaseInspectStandard} from "@/api/dms/dmsBaseInspectStandard";
|
|
|
|
|
|
|
|
import {listUser} from "@/api/system/user";
|
|
|
|
export default {
|
|
|
|
export default {
|
|
|
|
components: { Crontab },
|
|
|
|
components: { Crontab },
|
|
|
|
name: "Maint",
|
|
|
|
name: "Maint",
|
|
|
@ -321,6 +334,7 @@ export default {
|
|
|
|
showSearch: true,
|
|
|
|
showSearch: true,
|
|
|
|
// 总条数
|
|
|
|
// 总条数
|
|
|
|
total: 0,
|
|
|
|
total: 0,
|
|
|
|
|
|
|
|
userList: [],
|
|
|
|
// 保养计划信息表格数据
|
|
|
|
// 保养计划信息表格数据
|
|
|
|
maintList: [],
|
|
|
|
maintList: [],
|
|
|
|
stationList:[],
|
|
|
|
stationList:[],
|
|
|
@ -373,8 +387,15 @@ export default {
|
|
|
|
this.getDevice();
|
|
|
|
this.getDevice();
|
|
|
|
this.getStation();
|
|
|
|
this.getStation();
|
|
|
|
this.getStandard();
|
|
|
|
this.getStandard();
|
|
|
|
|
|
|
|
this.getUser();
|
|
|
|
},
|
|
|
|
},
|
|
|
|
methods: {
|
|
|
|
methods: {
|
|
|
|
|
|
|
|
getUser() {
|
|
|
|
|
|
|
|
findUserList(null).then(response => {
|
|
|
|
|
|
|
|
this.userList = response.data;
|
|
|
|
|
|
|
|
console.log(this.userList)
|
|
|
|
|
|
|
|
});
|
|
|
|
|
|
|
|
},
|
|
|
|
/** cron表达式按钮操作 */
|
|
|
|
/** cron表达式按钮操作 */
|
|
|
|
handleShowCron() {
|
|
|
|
handleShowCron() {
|
|
|
|
this.expression = this.form.cronExpression;
|
|
|
|
this.expression = this.form.cronExpression;
|
|
|
|