- 业务角色
-
+ 楼盘角色
+ 公司角色
代理商角色
系统角色
@@ -503,6 +503,7 @@ export default {
};
if (this.tabselect == 0 || this.tabselect == 1) {
obj.orgCode = this.orgCode;
+ this.tabselect == 0?obj.orgType=1:obj.orgType=2
}
if (this.tabselect == 2) {
obj.agentId = this.orgCode;
@@ -578,7 +579,8 @@ export default {
this.dialogFormVisible = false;
return;
}
- if(this.tabselect==0){
+ if(this.tabselect==0||this.tabselect==1){
+ this.tabselect == 0?this.form.orgType=1:this.form.orgType=2
this.form.orgCode = this.orgCode;
this.form.agentId = null;
}
diff --git a/src/views/building/index.vue b/src/views/building/index.vue
index 6f3a573..0748e10 100644
--- a/src/views/building/index.vue
+++ b/src/views/building/index.vue
@@ -284,6 +284,7 @@
正式
试用
演示
+ 测试
@@ -699,6 +700,7 @@ export default {
managerPassword: "", //密码
provinceId: "", //省id
cityId: "", //市id
+ agentId:localStorage.getItem('agentId')
},
ruleForm1: {},
optionsagentId:[],
@@ -1016,6 +1018,7 @@ export default {
this.$api.api
.getCompanyList({
orgType: this.orgType,
+ agentId:localStorage.getItem('agentId')
})
.then((res) => {
if (res.code == 0) {
diff --git a/vue.config.js b/vue.config.js
index 6a846f6..797e0c7 100644
--- a/vue.config.js
+++ b/vue.config.js
@@ -7,7 +7,7 @@
// const url = 'http://192.168.31.169:9999' //长龙
// const url = 'http://192.168.31.134:9999' //嘉豪
// const url = 'http://192.168.31.100:9999' //王笑
-const url = 'http://jw2vzp.natappfree.cc' //王笑
+const url = 'http://zwfakg.natappfree.cc' //王笑
const CompressionWebpackPlugin = require('compression-webpack-plugin')
const productionGzipExtensions = ['js', 'css']