|
@@ -6,10 +6,11 @@
|
|
|
font-size: 16rem;
|
|
font-size: 16rem;
|
|
|
font-weight: 1000;
|
|
font-weight: 1000;
|
|
|
text-align: left;
|
|
text-align: left;
|
|
|
- color: #333333;
|
|
|
|
|
|
|
+ color: #333333;position: relative;
|
|
|
"
|
|
"
|
|
|
>
|
|
>
|
|
|
{{ name }}
|
|
{{ name }}
|
|
|
|
|
+ <el-button size="small" type="primary" plain style="position: absolute;top:0;right: 10px" @click="cancle">返回</el-button>
|
|
|
</div>
|
|
</div>
|
|
|
<el-form
|
|
<el-form
|
|
|
ref="form"
|
|
ref="form"
|
|
@@ -37,12 +38,21 @@
|
|
|
</el-form-item>
|
|
</el-form-item>
|
|
|
<el-row :gutter="20">
|
|
<el-row :gutter="20">
|
|
|
<el-col :span="7">
|
|
<el-col :span="7">
|
|
|
- <el-form-item label="施工路段" prop="section">
|
|
|
|
|
- <el-input
|
|
|
|
|
|
|
+ <el-form-item label="施工路段" prop="section" >
|
|
|
|
|
+ <el-select
|
|
|
v-model="form.section"
|
|
v-model="form.section"
|
|
|
- placeholder="请输入施工路段"
|
|
|
|
|
|
|
+ placeholder="请选择路段"
|
|
|
|
|
+ clearable
|
|
|
|
|
+ size="small"
|
|
|
style="width: 300rem"
|
|
style="width: 300rem"
|
|
|
- />
|
|
|
|
|
|
|
+ >
|
|
|
|
|
+ <el-option
|
|
|
|
|
+ v-for="dict in dict.type.road"
|
|
|
|
|
+ :key="dict.value"
|
|
|
|
|
+ :label="dict.value"
|
|
|
|
|
+ :value="dict.value"
|
|
|
|
|
+ />
|
|
|
|
|
+ </el-select>
|
|
|
</el-form-item>
|
|
</el-form-item>
|
|
|
</el-col>
|
|
</el-col>
|
|
|
<el-col :span="6">
|
|
<el-col :span="6">
|
|
@@ -76,7 +86,7 @@
|
|
|
</el-form-item>
|
|
</el-form-item>
|
|
|
</el-col>
|
|
</el-col>
|
|
|
<el-col :span="6">
|
|
<el-col :span="6">
|
|
|
- <el-form-item label="开始米桩" prop="startHectometer">
|
|
|
|
|
|
|
+ <el-form-item label="" prop="startHectometer">
|
|
|
<el-input
|
|
<el-input
|
|
|
v-model="form.startHectometer"
|
|
v-model="form.startHectometer"
|
|
|
placeholder="请输入开始米桩"
|
|
placeholder="请输入开始米桩"
|
|
@@ -100,7 +110,7 @@
|
|
|
</el-form-item>
|
|
</el-form-item>
|
|
|
</el-col>
|
|
</el-col>
|
|
|
<el-col :span="6">
|
|
<el-col :span="6">
|
|
|
- <el-form-item label="结束米桩" prop="endHectometer">
|
|
|
|
|
|
|
+ <el-form-item label="" prop="endHectometer">
|
|
|
<el-input
|
|
<el-input
|
|
|
v-model="form.endHectometer"
|
|
v-model="form.endHectometer"
|
|
|
placeholder="请输入结束米桩"
|
|
placeholder="请输入结束米桩"
|
|
@@ -192,14 +202,15 @@
|
|
|
|
|
|
|
|
<el-form-item label="占用车道" prop="lane">
|
|
<el-form-item label="占用车道" prop="lane">
|
|
|
<el-select
|
|
<el-select
|
|
|
- v-model="form.lane"
|
|
|
|
|
|
|
+ multiple
|
|
|
|
|
+ v-model="roadlan"
|
|
|
placeholder="请选择方向"
|
|
placeholder="请选择方向"
|
|
|
clearable
|
|
clearable
|
|
|
size="small"
|
|
size="small"
|
|
|
style="width: 300rem"
|
|
style="width: 300rem"
|
|
|
>
|
|
>
|
|
|
<el-option
|
|
<el-option
|
|
|
- v-for="i in [1, 2, 3, 4]"
|
|
|
|
|
|
|
+ v-for="i in ['1','2','3', '4']"
|
|
|
:key="i"
|
|
:key="i"
|
|
|
:label="i"
|
|
:label="i"
|
|
|
:value="i"
|
|
:value="i"
|
|
@@ -306,7 +317,7 @@ import {
|
|
|
// import { AppMain } from '@/layout/components'
|
|
// import { AppMain } from '@/layout/components'
|
|
|
export default {
|
|
export default {
|
|
|
name: "Index",
|
|
name: "Index",
|
|
|
- dicts: ["sys_direction", "content_one", "content_two"],
|
|
|
|
|
|
|
+ dicts: ["sys_direction", "content_one", "content_two","road"],
|
|
|
// components: {
|
|
// components: {
|
|
|
// AppMain,
|
|
// AppMain,
|
|
|
// },
|
|
// },
|
|
@@ -323,8 +334,14 @@ export default {
|
|
|
dialogVisible: false,
|
|
dialogVisible: false,
|
|
|
audioDept: "103",
|
|
audioDept: "103",
|
|
|
deptlist: [],
|
|
deptlist: [],
|
|
|
|
|
+ roadlan:[],
|
|
|
};
|
|
};
|
|
|
},
|
|
},
|
|
|
|
|
+ watch: {
|
|
|
|
|
+ 'roadlan': function(val) {
|
|
|
|
|
+ this.form["lane"] = val.join(",");
|
|
|
|
|
+ }
|
|
|
|
|
+ },
|
|
|
mounted: function () {
|
|
mounted: function () {
|
|
|
this.getList();
|
|
this.getList();
|
|
|
console.log(this.$route.query);
|
|
console.log(this.$route.query);
|
|
@@ -332,10 +349,18 @@ export default {
|
|
|
this.form = this.$route.query;
|
|
this.form = this.$route.query;
|
|
|
this.name = this.$route.query.routerName;
|
|
this.name = this.$route.query.routerName;
|
|
|
|
|
|
|
|
|
|
+
|
|
|
|
|
+
|
|
|
|
|
+ this.form.lane = this.$route.query.lane;
|
|
|
|
|
+ this.roadlan = (this.form.lane ?? "").split(",")
|
|
|
|
|
+
|
|
|
listDept({ parentId: 101 }).then((res) => {
|
|
listDept({ parentId: 101 }).then((res) => {
|
|
|
// console.log(res)
|
|
// console.log(res)
|
|
|
this.deptlist = res.data;
|
|
this.deptlist = res.data;
|
|
|
});
|
|
});
|
|
|
|
|
+
|
|
|
|
|
+
|
|
|
|
|
+
|
|
|
// console.log(this.$route.query.status);
|
|
// console.log(this.$route.query.status);
|
|
|
},
|
|
},
|
|
|
methods: {
|
|
methods: {
|
|
@@ -351,6 +376,7 @@ export default {
|
|
|
this.form.endHectometer = this.planList[index].endHectometer;
|
|
this.form.endHectometer = this.planList[index].endHectometer;
|
|
|
this.form.contentOne = this.planList[index].contentOne;
|
|
this.form.contentOne = this.planList[index].contentOne;
|
|
|
this.form.contentTwo = this.planList[index].contentTwo;
|
|
this.form.contentTwo = this.planList[index].contentTwo;
|
|
|
|
|
+
|
|
|
}
|
|
}
|
|
|
}
|
|
}
|
|
|
},
|
|
},
|