bug修复
This commit is contained in:
parent
d8f3ae3424
commit
2689f0cde1
|
|
@ -188,23 +188,22 @@ export default {
|
||||||
mounted() {
|
mounted() {
|
||||||
this.taskId = this.queryTaskId;
|
this.taskId = this.queryTaskId;
|
||||||
this.id = this.queryId;
|
this.id = this.queryId;
|
||||||
this.projectInfoList();
|
this.projectInfoList().then(() => {
|
||||||
this.getTaskInfo();
|
this.getTaskInfo();
|
||||||
|
});
|
||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
/** 租赁单位和工程-下拉选 */
|
/** 租赁单位和工程-下拉选 */
|
||||||
projectInfoList() {
|
async projectInfoList() {
|
||||||
getListUnite({ id: null }).then((response) => {
|
const uniteResponse = await getListUnite({ id: null });
|
||||||
this.uniteList = response.data;
|
this.uniteList = uniteResponse.data;
|
||||||
});
|
const projectResponse = await getListProject({ unitId: null });
|
||||||
getListProject({ id: null }).then((response) => {
|
this.projectList = projectResponse.data;
|
||||||
this.projectList = response.data;
|
|
||||||
});
|
|
||||||
},
|
},
|
||||||
//获取任务详情-列表数据
|
//获取任务详情-列表数据
|
||||||
getTaskInfo() {
|
async getTaskInfo() {
|
||||||
this.loading = true;
|
this.loading = true;
|
||||||
getApplyInfo(this.id).then((response) => {
|
await getApplyInfo(this.id).then((response) => {
|
||||||
this.maForm = response.data.leaseApplyInfo;
|
this.maForm = response.data.leaseApplyInfo;
|
||||||
this.maForm.unitId = response.data.leaseApplyInfo.leaseUnitId;
|
this.maForm.unitId = response.data.leaseApplyInfo.leaseUnitId;
|
||||||
this.maForm.projectId = response.data.leaseApplyInfo.leaseProjectId;
|
this.maForm.projectId = response.data.leaseApplyInfo.leaseProjectId;
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue