desc: 调整权限分发 组织结构配置
This commit is contained in:
parent
5c973ba468
commit
f712c93622
@ -157,5 +157,6 @@ export default {
|
||||
colon: ':',
|
||||
processFailure: 'Process failure',
|
||||
enterLastStep: 'Please enter a hint and click next',
|
||||
pleaseOpearte: 'Please proceed'
|
||||
pleaseOpearte: 'Please proceed',
|
||||
help: 'help'
|
||||
};
|
||||
|
@ -157,6 +157,7 @@ export default {
|
||||
colon: ':',
|
||||
processFailure: '处理失败',
|
||||
enterLastStep: '请输入提示并点击下一步',
|
||||
pleaseOpearte: '请开始操作'
|
||||
pleaseOpearte: '请开始操作',
|
||||
help: '帮助'
|
||||
|
||||
};
|
||||
|
@ -10,6 +10,11 @@
|
||||
<el-dropdown-item>
|
||||
<span style="display:block;" @click="language">{{ $t('global.language') }}</span>
|
||||
</el-dropdown-item>
|
||||
<el-dropdown-item>
|
||||
<a href="https://joylink.club/helps/help1.pdf" target="frame1">
|
||||
<span style="display:block;">{{ $t('global.help') }}</span>
|
||||
</a>
|
||||
</el-dropdown-item>
|
||||
<el-dropdown-item>
|
||||
<span style="display:block;" @click="logout">{{ $t('global.exit') }}</span>
|
||||
</el-dropdown-item>
|
||||
|
@ -3,10 +3,10 @@ export function getBaseUrl() {
|
||||
let BASE_API;
|
||||
if (process.env.NODE_ENV === 'development') {
|
||||
// BASE_API = 'https://joylink.club/jlcloud';
|
||||
// BASE_API = 'https://test.joylink.club/jlcloud';
|
||||
BASE_API = 'https://test.joylink.club/jlcloud';
|
||||
// BASE_API = 'http://192.168.3.5:9000'; // 袁琪
|
||||
// BASE_API = 'http://192.168.3.6:9000'; // 旭强
|
||||
BASE_API = 'http://192.168.3.41:9000'; // 王兴杰
|
||||
// BASE_API = 'http://192.168.3.41:9000'; // 王兴杰
|
||||
} else {
|
||||
BASE_API = process.env.VUE_APP_BASE_API;
|
||||
}
|
||||
|
@ -60,6 +60,7 @@ export default {
|
||||
BizTypeList: [],
|
||||
PayTypeList: [],
|
||||
PayStatusTypeList: [],
|
||||
OrgzList: [],
|
||||
foreverInitData: false,
|
||||
canDistribute: true,
|
||||
urlInfo: {},
|
||||
@ -344,6 +345,19 @@ export default {
|
||||
}
|
||||
}
|
||||
},
|
||||
buildModel() {
|
||||
// 如果新增的条目不存在字典当中,则需要在临时字典中取对应的值
|
||||
let orgzId = this.formModel.organizationId;
|
||||
if (this.OrgzList && this.OrgzList.length) {
|
||||
for (var i in this.OrgzList) {
|
||||
if (orgzId === this.OrgzList[i].name) {
|
||||
orgzId = this.OrgzList[i].id;
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
return orgzId;
|
||||
},
|
||||
packageCode() {
|
||||
if (this.permissionType == '01') {
|
||||
this.createPackage();
|
||||
@ -355,6 +369,7 @@ export default {
|
||||
this.$refs.dataform.validateForm(() => {
|
||||
this.orderList = [];
|
||||
this.goodsList.forEach(item => {
|
||||
this.formModel.organizationId = this.buildModel();
|
||||
const param = deepAssign({}, this.formModel);
|
||||
param.goodsId = item.id;
|
||||
param.goodsName = item.name;
|
||||
@ -390,6 +405,7 @@ export default {
|
||||
// 万能权限生成订单,生成二维码
|
||||
createPermission() {
|
||||
this.$refs.dataform.validateForm(() => {
|
||||
this.formModel.organizationId = this.buildModel();
|
||||
const param = {
|
||||
createVO: {
|
||||
isPackage: true,
|
||||
|
Loading…
Reference in New Issue
Block a user