工程管理

This commit is contained in:
itcast 2025-11-18 10:14:51 +08:00
parent 6f05db2107
commit d5319fd04d
1 changed files with 52 additions and 53 deletions

View File

@ -577,7 +577,7 @@ export default {
// areaCode valuename label // areaCode valuename label
this.provinceOptions = res.data.map(item => ({ this.provinceOptions = res.data.map(item => ({
value: item.areaCode, // value: item.areaCode, //
label: item.name // label: item.short_name //
})) }))
} else { } else {
Message.error('加载省份失败:' + (res.message || '未知错误')) Message.error('加载省份失败:' + (res.message || '未知错误'))
@ -610,7 +610,7 @@ export default {
if (res.code === 200) { if (res.code === 200) {
this.cityOptions = res.data.map(item => ({ this.cityOptions = res.data.map(item => ({
value: item.areaCode, value: item.areaCode,
label: item.name label: item.short_name
})) }))
} else { } else {
Message.error('加载城市失败') Message.error('加载城市失败')
@ -653,7 +653,6 @@ export default {
}, },
// //
async getProjectListData() { async getProjectListData() {
try { try {