Commit 19869c27 by xiaohai

部门选择控件

parent 4d41a8e8
......@@ -174,8 +174,8 @@
};
getRequest("/haoban-manage-web/dept/deptListForCompany", params)
.then(res => {
_this.menuData = res.data.result || [];
res.data.result.some(li => {
_this.menuData = res.data.result.departmentList || [];
_this.menuData.some(li => {
if (li.level == 0) {
_this.groupInfo.departmentId = li.groupId;
_this.groupInfo.groupName = li.name;
......
......@@ -61,6 +61,7 @@
</div>
</div>
<add-brand ref="add_brand"></add-brand>
<vue-select-store></vue-select-store>
</div>
</template>
<script>
......@@ -71,6 +72,7 @@ import storeInfo from "components/contacts/storeFrame/storeInfo";
import addBrand from "components/contacts/storeFrame/addBrand";
import employeeInfo from "components/contacts/employeeInfo";
import clerkInfo from "components/contacts/storeFrame/clerkInfo";
import vueSelectStore from "components/common/vueSelectStore";
import { getRequest, postRequest, postJsonRequest } from '@/api/api';
export default {
name: "storeEstruturaContainer",
......@@ -81,7 +83,8 @@ export default {
employeeInfo,
storeInfo,
addBrand,
clerkInfo
clerkInfo,
vueSelectStore
},
data() {
return {
......
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