|
|
@@ -214,9 +214,7 @@ export default {
|
|
|
amount: '',
|
|
|
isImportant: '', // 是否省重点
|
|
|
isFocusStart: '', // 是否集中开工
|
|
|
- deptIds: '', // 机构id,多选
|
|
|
type: true,
|
|
|
- projectYear: '',
|
|
|
reportType: ''
|
|
|
},
|
|
|
totalAmount: [
|
|
|
@@ -285,7 +283,6 @@ export default {
|
|
|
created() {
|
|
|
this.reportTypes = confing.reportTypes
|
|
|
this.getTypeList()
|
|
|
- this.form.projectYear = new Date().getFullYear()
|
|
|
},
|
|
|
methods: {
|
|
|
getTypeList() {
|
|
|
@@ -350,13 +347,11 @@ export default {
|
|
|
this.form.amount = ''
|
|
|
this.form.isFocusStart = ''
|
|
|
this.form.isImportant = ''
|
|
|
- this.form.deptIds = ''
|
|
|
this.form.type = false
|
|
|
this.form.planCommencementTime = ''
|
|
|
this.form.startTime = ''
|
|
|
this.form.planStorageTime = ''
|
|
|
this.form.storageTime = ''
|
|
|
- this.form.projectYear = ''
|
|
|
this.form.reportType = ''
|
|
|
this.time1 = null
|
|
|
this.time2 = null
|
|
|
@@ -389,15 +384,6 @@ export default {
|
|
|
changeChecked(index) {
|
|
|
this.deptList[index].checked = !this.deptList[index].checked
|
|
|
},
|
|
|
- orgCheck() {
|
|
|
- const checked = this.deptList.filter(sub => sub.checked)
|
|
|
- this.form.deptIds = checked.map(sub => sub.id).join(',')
|
|
|
- const tmp = checked.map(e => e.deptName)
|
|
|
- if (tmp.length > 0) {
|
|
|
- this.deptName = tmp[0]
|
|
|
- }
|
|
|
- this.showOrg = false
|
|
|
- },
|
|
|
orgRefresh() {
|
|
|
this.deptList = this.deptList.map(sub => {
|
|
|
sub.checked = false
|