解决非admin用户的一些操作权限问题
This commit is contained in:
@@ -189,7 +189,7 @@ import { treeselect } from '@/api/system/dept'
|
||||
import ProcessViewer from '@/components/ProcessViewer'
|
||||
import '@riophae/vue-treeselect/dist/vue-treeselect.css'
|
||||
import Treeselect from '@riophae/vue-treeselect'
|
||||
import { listUser } from '@/api/system/user'
|
||||
import { selectUser } from '@/api/system/user'
|
||||
|
||||
export default {
|
||||
name: "Detail",
|
||||
@@ -330,7 +330,7 @@ export default {
|
||||
/** 查询用户列表 */
|
||||
getList() {
|
||||
this.userLoading = true;
|
||||
listUser(this.addDateRange(this.queryParams, this.dateRange)).then(response => {
|
||||
selectUser(this.addDateRange(this.queryParams, this.dateRange)).then(response => {
|
||||
this.userList = response.rows;
|
||||
this.total = response.total;
|
||||
this.toggleSelection(this.userMultipleSelection);
|
||||
|
||||
@@ -56,7 +56,7 @@
|
||||
size="mini"
|
||||
icon="el-icon-video-play"
|
||||
@click="handleStart(scope.row)"
|
||||
v-hasPermi="['workflow:definition:designer']"
|
||||
v-hasPermi="['workflow:process:start']"
|
||||
>发起</el-button>
|
||||
</template>
|
||||
</el-table-column>
|
||||
|
||||
@@ -107,7 +107,7 @@
|
||||
|
||||
<script>
|
||||
import { listOwnProcess, stopProcess, delProcess } from '@/api/workflow/process';
|
||||
import { listCategory } from '@/api/workflow/category';
|
||||
import { listAllCategory } from '@/api/workflow/category';
|
||||
export default {
|
||||
name: "Own",
|
||||
components: {
|
||||
@@ -165,7 +165,7 @@ export default {
|
||||
methods: {
|
||||
/** 查询流程分类列表 */
|
||||
getCategoryList() {
|
||||
listCategory().then(response => this.categoryOptions = response.rows)
|
||||
listAllCategory().then(response => this.categoryOptions = response.rows)
|
||||
},
|
||||
/** 查询流程定义列表 */
|
||||
getList() {
|
||||
|
||||
Reference in New Issue
Block a user