|
@@ -11,6 +11,10 @@
|
|
|
<el-form-item label="选址范围:" prop="xzmj">
|
|
|
<range type="hgxfx" :keys="['hx', 'sc']" class="range" ref="range" />
|
|
|
</el-form-item>
|
|
|
+ <el-form-item label-width="180px" label="是否在城镇开发边界内:" prop="inCzkfbj">
|
|
|
+ <el-radio v-model="ruleForm.inCzkfbj" :label="true">是</el-radio>
|
|
|
+ <el-radio v-model="ruleForm.inCzkfbj" :label="false">否</el-radio>
|
|
|
+ </el-form-item>
|
|
|
<el-form-item label="项目名称:" prop="xmmc">
|
|
|
<el-input
|
|
|
v-model="ruleForm.xmmc"
|
|
@@ -166,6 +170,7 @@ export default {
|
|
|
checkbox_data: 0,
|
|
|
ruleForm: {
|
|
|
xzmj: 0,
|
|
|
+ inCzkfbj: true,
|
|
|
xmmc: "规划选址项目_" + this.getCurrentDateTime(),
|
|
|
jsdw: "建设单位",
|
|
|
// xmlx: "",
|
|
@@ -179,6 +184,7 @@ export default {
|
|
|
},
|
|
|
rules: {
|
|
|
xzmj: [{ required: true, message: "请填写范围的数据" }],
|
|
|
+ inCzkfbj: [{ required: true, message: "请选择条件",trigger: "blur" }],
|
|
|
// xzmj: [{ required: true, message: "请绘制选址范围" }],
|
|
|
xmmc: [
|
|
|
{ required: true, message: "请输入项目名称", trigger: "blur" },
|
|
@@ -354,6 +360,7 @@ export default {
|
|
|
});
|
|
|
let obj = {
|
|
|
xzmj: Number(this.ruleForm.xzmj),
|
|
|
+ inCzkfbj:this.ruleForm.inCzkfbj,
|
|
|
xmmc: this.ruleForm.xmmc,
|
|
|
// xmlx: this.ruleForm.xmlx,
|
|
|
jsdw: this.ruleForm.jsdw,
|
|
@@ -402,6 +409,7 @@ export default {
|
|
|
},
|
|
|
reset() {
|
|
|
(this.ruleForm = {
|
|
|
+ inCzkfbj:true,
|
|
|
xmmc: "规划选址项目_" + this.getCurrentDateTime(),
|
|
|
jsdw: "建设单位",
|
|
|
// xmlx: "",
|
|
@@ -465,7 +473,7 @@ export default {
|
|
|
|
|
|
.XZtree {
|
|
|
width: 100%;
|
|
|
- height: calc(100% - 400px);
|
|
|
+ height: calc(100% - 420px);
|
|
|
// padding: 7px;
|
|
|
margin-bottom: 10px;
|
|
|
overflow-y: auto;
|
|
@@ -489,8 +497,7 @@ export default {
|
|
|
}
|
|
|
|
|
|
.xzys {
|
|
|
- height: 95px;
|
|
|
- // background: pink;
|
|
|
+ height: 60px;
|
|
|
display: flex;
|
|
|
flex-direction: column;
|
|
|
}
|