|
|
|
@ -4,7 +4,7 @@
|
|
|
|
|
* @Author: JC9527
|
|
|
|
|
* @Date: 2023-09-04 10:20:06
|
|
|
|
|
* @LastEditors: JC9527
|
|
|
|
|
* @LastEditTime: 2023-09-30 01:03:48
|
|
|
|
|
* @LastEditTime: 2023-09-30 13:44:10
|
|
|
|
|
-->
|
|
|
|
|
<template>
|
|
|
|
|
<div class="plan-management">
|
|
|
|
@ -32,6 +32,7 @@
|
|
|
|
|
:props="props"
|
|
|
|
|
@change="handleChange"></el-cascader>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="select-btn reset" @click="reset">重置</div>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="btns">
|
|
|
|
|
<div class="export" @click="exportFile">
|
|
|
|
@ -42,7 +43,6 @@
|
|
|
|
|
<img src="@/assets/images/newProject.png" alt="">
|
|
|
|
|
<span>新增计划</span>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="select-btn reset" @click="reset">重置</div>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="plan-bottomBox">
|
|
|
|
@ -265,13 +265,17 @@
|
|
|
|
|
// console.log(newForm,'newForm')
|
|
|
|
|
// 如果是苏州市或者是某个区
|
|
|
|
|
if(!this.disabled) {
|
|
|
|
|
console.log('123')
|
|
|
|
|
if(Array.isArray(newForm.district)){
|
|
|
|
|
console.log('456')
|
|
|
|
|
if(newForm.district.length == 2) {
|
|
|
|
|
let district = this.form.district[1].slice(1, 11);
|
|
|
|
|
obj = { ...this.pages, ...this.form,district };
|
|
|
|
|
} else if(newForm.district.length == 1) {
|
|
|
|
|
let district = this.form.district[0].slice(1, 8);
|
|
|
|
|
obj = { ...this.pages, ...this.form,district };
|
|
|
|
|
} else {
|
|
|
|
|
obj = { ...this.pages, ...this.form};
|
|
|
|
|
}
|
|
|
|
|
// 不是数组
|
|
|
|
|
} else {
|
|
|
|
@ -475,6 +479,9 @@
|
|
|
|
|
// this.commentData(item.children,this.dept)
|
|
|
|
|
// }
|
|
|
|
|
item.children.map((itemTwo)=>{
|
|
|
|
|
if(itemTwo.children.length == 0){
|
|
|
|
|
delete itemTwo.children;
|
|
|
|
|
}
|
|
|
|
|
itemTwo.county = itemTwo.subdistrict
|
|
|
|
|
})
|
|
|
|
|
})
|
|
|
|
@ -564,15 +571,15 @@
|
|
|
|
|
.area {
|
|
|
|
|
display: flex;
|
|
|
|
|
align-items: center;
|
|
|
|
|
justify-content: center;
|
|
|
|
|
flex: 1;
|
|
|
|
|
// justify-content: center;
|
|
|
|
|
// flex: 1;
|
|
|
|
|
.area-span {
|
|
|
|
|
// font-size: 20px;
|
|
|
|
|
// font-family: 'Alibaba PuHuiTi';
|
|
|
|
|
// font-weight: bold;
|
|
|
|
|
// color: #525966;
|
|
|
|
|
// line-height: 40px;
|
|
|
|
|
// margin-right: 100px;
|
|
|
|
|
margin-left: 40px;
|
|
|
|
|
font-size: 14px;
|
|
|
|
|
font-family: 'Alibaba PuHuiTi';
|
|
|
|
|
font-weight: 400;
|
|
|
|
@ -624,6 +631,21 @@
|
|
|
|
|
transform: rotate(180deg);
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
.select-btn {
|
|
|
|
|
width: 120px;
|
|
|
|
|
height: 34px;
|
|
|
|
|
border-radius: 2px;
|
|
|
|
|
display: flex;
|
|
|
|
|
align-items: center;
|
|
|
|
|
justify-content: center;
|
|
|
|
|
font-size: 15px;
|
|
|
|
|
font-family: 'Alibaba PuHuiTi';
|
|
|
|
|
font-weight: 500;
|
|
|
|
|
color: #ffffff;
|
|
|
|
|
cursor: pointer;
|
|
|
|
|
background: #FDAB5B;
|
|
|
|
|
margin-left: 20px;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
.btns {
|
|
|
|
|
display: flex;
|
|
|
|
@ -645,21 +667,6 @@
|
|
|
|
|
font-weight: 400;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
.select-btn {
|
|
|
|
|
width: 120px;
|
|
|
|
|
height: 34px;
|
|
|
|
|
border-radius: 2px;
|
|
|
|
|
display: flex;
|
|
|
|
|
align-items: center;
|
|
|
|
|
justify-content: center;
|
|
|
|
|
font-size: 15px;
|
|
|
|
|
font-family: 'Alibaba PuHuiTi';
|
|
|
|
|
font-weight: 500;
|
|
|
|
|
color: #ffffff;
|
|
|
|
|
cursor: pointer;
|
|
|
|
|
background: #FDAB5B;
|
|
|
|
|
margin-left: 20px;
|
|
|
|
|
}
|
|
|
|
|
.export {
|
|
|
|
|
background-color: #2378EC;
|
|
|
|
|
margin-right: 30px;
|
|
|
|
|