master
271556543@qq.com 3 years ago
parent ad5f23a7cd
commit 75b1c6e7b7

@ -2,8 +2,8 @@
ENV = 'development'
# base api
VUE_APP_DOMIAN=http://192.168.60.99:9003/
#VUE_APP_DOMIAN=http://hdcontract.ali251.langye.net/
#VUE_APP_DOMIAN=http://192.168.60.99:9003/
VUE_APP_DOMIAN=http://hdcontract.ali251.langye.net/
VUE_APP_BASE_API = ''

@ -15,3 +15,11 @@ export function readNotice(params){
params
})
}
export function statistic(data){
return request({
method:'get',
url:'/api/admin/notice/statistic',
data
})
}

@ -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>

Loading…
Cancel
Save