diff --git a/com.actionsoft.apps.coe.pal.cooperation/AWSDevParams.js b/com.actionsoft.apps.coe.pal.cooperation/AWSDevParams.js
index bf7a63a..7cea775 100644
--- a/com.actionsoft.apps.coe.pal.cooperation/AWSDevParams.js
+++ b/com.actionsoft.apps.coe.pal.cooperation/AWSDevParams.js
@@ -1,6 +1,6 @@
module.exports = {
AWSPortalUrl: "http://localhost:8088/portal/",//aws平台启动地址,用于开发时获取平台静态资源,请求数据等(注意最后的/,不要删)
- AWSReleasePath: "/Users/sunlh/idea_workspace_aws6/release/", /*C:/work/workspace/release/*/ //aws的平台路径,暂时写绝对路径,用于build生成的主文件位置(注意最后的/,不要删)
+ AWSReleasePath: "/Users/sunlh/Documents/ideaData/actionsoft/aws6.4.1.1008.yili6/release/", /*C:/work/workspace/release/*/ //aws的平台路径,暂时写绝对路径,用于build生成的主文件位置(注意最后的/,不要删)
moduleTemplateInAWS: "apps/install/com.actionsoft.apps.coe.pal.cooperation/template/page/main.htm", /*apps/install/_bpm.platform/template/page/console.m.dw.design.vue.htm*/ //build后生成到平台的模板位置及名称
outputDir: "apps/install/com.actionsoft.apps.coe.pal.cooperation/web/com.actionsoft.apps.coe.pal.cooperation/main", /*webserver/webapps/portal/apps/_bpm.platform/dw/designer/main*/ //build后js或css生成到平台的位置
publicPath: "../apps/com.actionsoft.apps.coe.pal.cooperation/main", /*../apps/_bpm.platform/dw/designer/main*/ //build到平台后生成到模板中,引入js文件的相对平台的位置
diff --git a/com.actionsoft.apps.coe.pal.cooperation/src/views/main/Update.vue b/com.actionsoft.apps.coe.pal.cooperation/src/views/main/Update.vue
index 0adb798..a37dd1f 100644
--- a/com.actionsoft.apps.coe.pal.cooperation/src/views/main/Update.vue
+++ b/com.actionsoft.apps.coe.pal.cooperation/src/views/main/Update.vue
@@ -72,7 +72,8 @@
label="授权状态"
width="150">
-
+ 正在加载...
+
{
console.log(error);
})
},
+ loadTeamPerm() {
+ const that = this;
+ const teamIdArr = [];
+ for (let i = 0; i < that.tableData.length; i++) {
+ if (that.tableData[i].permStatus == -1) {
+ teamIdArr.push(that.tableData[i].teamId);
+ if (teamIdArr.length >= 5) {// 每次查询5个
+ break;
+ }
+ }
+ }
+ if (teamIdArr.length > 0) {
+ const data = {
+ url:'jd',
+ data:{
+ cmd: 'com.actionsoft.apps.coe.pal.cooperation_manage_team_info_perm',
+ teamIdArr: JSON.stringify(teamIdArr)
+ }
+ };
+ awsuiAxios.post(data).then(function (ro) {
+ if (ro.result == 'ok') {
+ const result = ro.data
+ for (let i = 0; i < that.tableData.length; i++) {
+ if (result[that.tableData[i].teamId] != undefined) {
+ that.tableData[i].permStatus = result[that.tableData[i].teamId];
+ }
+ }
+ that.loadTeamPerm();// 再一次请求
+ }
+ }).catch(error=>{
+ console.log(error);
+ })
+ }
+
+ },
updateTeam(teamId) {
this.update.teamId = teamId;
this.update.visible = true;