Commit a8b30a37 by crushh

udpate: 详情加参

parent 4def3163
...@@ -570,7 +570,8 @@ export default { ...@@ -570,7 +570,8 @@ export default {
}, },
getData() { getData() {
let para = { let para = {
welcomeId: this.$route.query.id welcomeId: this.$route.query.id,
wxEnterpriseId: this.wxEnterpriseId
}; };
getRequest('/haoban-manage3-web/welcome/get', para) getRequest('/haoban-manage3-web/welcome/get', para)
.then(res => { .then(res => {
...@@ -578,7 +579,6 @@ export default { ...@@ -578,7 +579,6 @@ export default {
if (resData.code == 0 && resData.result) { if (resData.code == 0 && resData.result) {
const { suitDepartmentList, title, welcomeId, welcomeContent, welcomeMediaList, wxEnterpriseId } = resData.result; const { suitDepartmentList, title, welcomeId, welcomeContent, welcomeMediaList, wxEnterpriseId } = resData.result;
this.form = { suitDepartmentList: suitDepartmentList || [], suitDepartmentAddList: JSON.parse(JSON.stringify(suitDepartmentList)) || [], title, welcomeId, welcomeContent, welcomeMediaList, wxEnterpriseId }; this.form = { suitDepartmentList: suitDepartmentList || [], suitDepartmentAddList: JSON.parse(JSON.stringify(suitDepartmentList)) || [], title, welcomeId, welcomeContent, welcomeMediaList, wxEnterpriseId };
console.log(this.form);
this.form = Object.assign({}, this.form); this.form = Object.assign({}, this.form);
} }
}) })
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment