pc页面修改

This commit is contained in:
caoqianming 2022-10-13 16:29:34 +08:00
parent 553e29de5c
commit 9dba0cde27
5 changed files with 15 additions and 20 deletions

View File

@ -64,19 +64,6 @@
/> />
</el-form-item> </el-form-item>
</el-col> </el-col>
<el-col :md="12" :sm="12" :xs="24">
<el-form-item label="作业级别" prop="level">
<el-select v-model="form.level" placeholder="选择作业级别">
<el-option
v-for="item in leveloptions"
:key="item.id"
:label="item.name"
:value="item.name"
/>
</el-select>
</el-form-item>
</el-col>
<el-col :md="12" :sm="12" :xs="24" > <el-col :md="12" :sm="12" :xs="24" >
<el-form-item label="作业部门" prop="dept_do"> <el-form-item label="作业部门" prop="dept_do">
<el-cascader <el-cascader
@ -552,6 +539,7 @@
operation: "", operation: "",
cate: "", cate: "",
risks_checked: [], risks_checked: [],
measures_checked: []
}, },
initForm: {}, initForm: {},
operationId: "", operationId: "",

View File

@ -561,9 +561,9 @@
oplcateCode: "", oplcateCode: "",
oplId: "", oplId: "",
leveloptions: [ leveloptions: [
{id: 10, name: "特殊动火"}, {id: "特级", name: "特级"},
{id: 20, name: "一级动火"}, {id: "一级", name: "一级"},
{id: 30, name: "二级动火"}, {id: "二级", name: "二级"},
], ],
deptoptions: [], deptoptions: [],
useroptions: [], useroptions: [],

View File

@ -565,7 +565,7 @@ export default {
this.$API.opm.operation.read.req(this.operationId).then((res) => { this.$API.opm.operation.read.req(this.operationId).then((res) => {
this.form.start_time = res.start_time; // this.form.start_time = res.start_time; //
this.form.end_time = res.end_time; // this.form.end_time = res.end_time; //
this.form.name = res.name;
console.log(res); console.log(res);
}); });
}, },

View File

@ -16,8 +16,15 @@
<div class="right-panel"> <div class="right-panel">
<div class="right-panel-search"> <div class="right-panel-search">
<el-input <el-input
v-model="query.id" v-model="query.status_code"
placeholder="logId" placeholder="200"
clearable
@keyup.enter="handleQuery"
></el-input>
<el-input
v-model="query.search"
placeholder="地址/View"
clearable
@keyup.enter="handleQuery" @keyup.enter="handleQuery"
></el-input> ></el-input>
<el-button <el-button

View File

@ -13,7 +13,7 @@
</div> </div>
<div class="left-panel"> <div class="left-panel">
<div class="right-panel-search"> <div class="right-panel-search">
<el-input v-model="query.id" placeholder="logId" clearable></el-input> <el-input v-model="query.search" placeholder="logId" clearable></el-input>
<el-button <el-button
type="primary" type="primary"
icon="el-icon-search" icon="el-icon-search"