|
|
|
|
@ -10,9 +10,9 @@
|
|
|
|
|
|
|
|
|
|
<span style="padding: 0 6px;word-break: keep-all;">预算类型</span>
|
|
|
|
|
<span>
|
|
|
|
|
<Select clearable v-model="select.type" placeholder="请选择预算类型" type="date" style="width: 160px">
|
|
|
|
|
<Option v-for="item in type" :value="item.id" :key="item.id">{{item.value}}</Option>
|
|
|
|
|
</Select>
|
|
|
|
|
<el-select size="small" clearable v-model="select.type" placeholder="请选择预算类型" type="date" style="width: 160px">
|
|
|
|
|
<el-option v-for="item in type" :value="item.id" :key="item.id" :label="item.value"></el-option>
|
|
|
|
|
</el-select>
|
|
|
|
|
</span>
|
|
|
|
|
|
|
|
|
|
<span style="padding: 0 6px;">
|
|
|
|
|
@ -177,10 +177,14 @@ export default {
|
|
|
|
|
console.log(res)
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
mounted() {
|
|
|
|
|
this.getType()
|
|
|
|
|
this.getDepartment()
|
|
|
|
|
this.getPlanProgress()
|
|
|
|
|
async mounted() {
|
|
|
|
|
await this.getType()
|
|
|
|
|
await this.getDepartment()
|
|
|
|
|
|
|
|
|
|
this.select.department = Number(this.$route.query.departmentId) || ''
|
|
|
|
|
this.select.type = Number(this.$route.query.typeId) || ''
|
|
|
|
|
|
|
|
|
|
await this.getPlanProgress()
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
</script>
|
|
|
|
|
|