pal小组角色权限支持流程清单应用,且流程清单数据受小组权限控制
This commit is contained in:
parent
adc3a056c2
commit
ad8d808eba
@ -24,6 +24,7 @@
|
||||
<script>
|
||||
<%if (process.env.NODE_ENV === "development") {%>
|
||||
var wsId = '4645328c-d20e-4a3c-bcb0-4518c9abdd93';
|
||||
var teamId = '';
|
||||
var levelSelect = [{
|
||||
value: 1,
|
||||
label: '一级流程'
|
||||
@ -44,6 +45,7 @@
|
||||
var wHref = "http://localhost:8088/portal/r/w";
|
||||
<%}else {%>
|
||||
var wsId = "<#wsId>";
|
||||
var teamId = "<#teamId>";
|
||||
var levelSelect = <#levelSelect>;
|
||||
var defaultSelectVal = <#defaultSelectVal>;
|
||||
var wHref = "./w";
|
||||
|
||||
@ -18,7 +18,8 @@
|
||||
<el-tooltip class="item" effect="dark" content="重置筛选条件" placement="bottom-end" :hide-after="1000">
|
||||
<awsui-button class="button_fixed_width" @click="resetCondition">重置</awsui-button>
|
||||
</el-tooltip>
|
||||
<el-tooltip class="item" effect="dark" content="自定义表项" placement="bottom-end" :hide-after="1000">
|
||||
<!-- 小组模式不支持自定义表项 -->
|
||||
<el-tooltip v-if="teamId == ''" class="item" effect="dark" content="自定义表项" placement="bottom-end" :hide-after="1000">
|
||||
<i class="el-icon-circle-plus custom_table_dlg_icon" @click="customTableDlg = true"></i>
|
||||
</el-tooltip>
|
||||
</div>
|
||||
@ -164,6 +165,7 @@
|
||||
},
|
||||
data() {
|
||||
return {
|
||||
teamId: teamId,
|
||||
customTableDlg : false,
|
||||
headerHeight : '30px',
|
||||
tableHeight : (document.documentElement.clientHeight - 66 - 20) + 'px',
|
||||
@ -236,7 +238,8 @@
|
||||
url:'jd',
|
||||
data:{
|
||||
cmd: 'com.actionsoft.apps.coe.pal.processlist_header_query',
|
||||
wsId: wsId
|
||||
wsId: wsId,
|
||||
teamId: teamId
|
||||
}
|
||||
};
|
||||
params = this.getSearchCondition(params);
|
||||
@ -301,6 +304,7 @@
|
||||
}
|
||||
};
|
||||
params.data.wsId = wsId;
|
||||
params.data.teamId = teamId;
|
||||
params.data.currentPage = that.currentPage;
|
||||
params.data.pageStep = that.pageStep;
|
||||
params.data.tableHead = JSON.stringify(that.tableHeaderData);
|
||||
@ -393,6 +397,7 @@
|
||||
}
|
||||
};
|
||||
params.data.wsId = wsId;
|
||||
params.data.teamId = teamId;
|
||||
params.data.cmd = 'com.actionsoft.apps.coe.pal.processlist_data_export';
|
||||
params = this.getSearchCondition(params);
|
||||
awsuiAxios.post(params).then(function (ro) {// 查询数据总条数
|
||||
|
||||
Loading…
Reference in New Issue
Block a user