update
This commit is contained in:
@@ -3,7 +3,7 @@
|
||||
<div slot="header" class="clearfix">
|
||||
<span>{{ title }}</span>
|
||||
<el-button-group style="float: right;">
|
||||
<el-button v-hasPerm="['workflow:business:add']" size="mini" icon="el-icon-plus" round :loading="loadingOptions.loading" :disabled="loadingOptions.isDisabled" @click="submitForm">{{ loadingOptions.loadingText }}</el-button>
|
||||
<el-button size="mini" icon="el-icon-plus" round :loading="loadingOptions.loading" :disabled="loadingOptions.isDisabled" @click="submitForm">{{ loadingOptions.loadingText }}</el-button>
|
||||
<el-button size="mini" icon="el-icon-back" round @click="showCard">返回</el-button>
|
||||
</el-button-group>
|
||||
</div>
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
<div slot="header" class="clearfix">
|
||||
<span>{{ title }}</span>
|
||||
<el-button-group style="float: right;">
|
||||
<el-button v-hasPerm="['workflow:business:edit']" size="mini" icon="el-icon-plus" round :loading="loadingOptions.loading" :disabled="loadingOptions.isDisabled" @click="submitForm">{{ loadingOptions.loadingText }}</el-button>
|
||||
<el-button size="mini" icon="el-icon-plus" round :loading="loadingOptions.loading" :disabled="loadingOptions.isDisabled" @click="submitForm">{{ loadingOptions.loadingText }}</el-button>
|
||||
<el-button size="mini" icon="el-icon-back" round @click="showCard">返回</el-button>
|
||||
</el-button-group>
|
||||
</div>
|
||||
|
||||
@@ -20,14 +20,12 @@
|
||||
<el-col :span="12">
|
||||
<el-button-group>
|
||||
<el-button
|
||||
v-hasPerm="['workflow:business:add']"
|
||||
type="primary"
|
||||
icon="el-icon-plus"
|
||||
size="mini"
|
||||
@click="handleAdd"
|
||||
>新增</el-button>
|
||||
<el-button
|
||||
v-hasPerm="['workflow:business:refresh']"
|
||||
type="warning"
|
||||
icon="el-icon-refresh"
|
||||
size="mini"
|
||||
@@ -107,21 +105,18 @@
|
||||
trigger="click"
|
||||
>
|
||||
<el-button
|
||||
v-hasPerm="['workflow:business:edit']"
|
||||
size="mini"
|
||||
type="text"
|
||||
icon="el-icon-edit-outline"
|
||||
@click="handleEdit(scope.row)"
|
||||
>修改</el-button>
|
||||
<el-button
|
||||
v-hasPerm="['workflow:business:detail']"
|
||||
size="mini"
|
||||
type="text"
|
||||
icon="el-icon-view"
|
||||
@click="handleDetail(scope.row)"
|
||||
>详情</el-button>
|
||||
<el-button
|
||||
v-hasPerm="['workflow:business:remove']"
|
||||
size="mini"
|
||||
type="text"
|
||||
icon="el-icon-delete"
|
||||
|
||||
@@ -18,9 +18,9 @@
|
||||
<span class="custom-tree-node" @mouseenter="mouseenter(data)" @mouseleave="mouseleave(data)">
|
||||
<span><i v-if="node.level === 1" class="iconfont icon-zuzhi tree-folder" />{{ node.label }}</span>
|
||||
<span class="tree-bts">
|
||||
<i v-show="!data.id && data.show" v-hasPerm="['workflow:definition:type:add']" class="el-icon-circle-plus-outline bt-add" @click="() => handleAddCategory()" />
|
||||
<i v-show="data.id && data.show" v-hasPerm="['workflow:definition:type:edit']" class="el-icon-edit-outline bt-edit" @click="() => handleEditCategory(data)" />
|
||||
<i v-show="data.id && data.show" v-hasPerm="['workflow:definition:type:remove']" class="el-icon-delete bt-delete" @click="() => handleDelCategory(data)" />
|
||||
<i v-show="!data.id && data.show" class="el-icon-circle-plus-outline bt-add" @click="() => handleAddCategory()" />
|
||||
<i v-show="data.id && data.show" class="el-icon-edit-outline bt-edit" @click="() => handleEditCategory(data)" />
|
||||
<i v-show="data.id && data.show" class="el-icon-delete bt-delete" @click="() => handleDelCategory(data)" />
|
||||
</span>
|
||||
</span>
|
||||
</template>
|
||||
@@ -50,7 +50,6 @@
|
||||
<el-col :span="12">
|
||||
<el-button-group>
|
||||
<el-button
|
||||
v-hasPerm="['workflow:definition:import']"
|
||||
type="primary"
|
||||
icon="el-icon-plus"
|
||||
size="mini"
|
||||
@@ -130,7 +129,6 @@
|
||||
trigger="click"
|
||||
>
|
||||
<el-button
|
||||
v-hasPerm="['workflow:definition:resource']"
|
||||
size="mini"
|
||||
type="text"
|
||||
icon="el-icon-view"
|
||||
@@ -138,7 +136,6 @@
|
||||
>流程图</el-button>
|
||||
<el-button
|
||||
v-if="scope.row.suspensionState === 2"
|
||||
v-hasPerm="['workflow:definition:activate']"
|
||||
size="mini"
|
||||
type="text"
|
||||
icon="el-icon-view"
|
||||
@@ -146,14 +143,12 @@
|
||||
>激活</el-button>
|
||||
<el-button
|
||||
v-if="scope.row.suspensionState === 1"
|
||||
v-hasPerm="['workflow:definition:suspend']"
|
||||
size="mini"
|
||||
type="text"
|
||||
icon="el-icon-view"
|
||||
@click="handleSuspend(scope.row)"
|
||||
>挂起</el-button>
|
||||
<el-button
|
||||
v-hasPerm="['workflow:definition:remove']"
|
||||
size="mini"
|
||||
type="text"
|
||||
icon="el-icon-delete"
|
||||
|
||||
@@ -48,7 +48,6 @@
|
||||
trigger="click"
|
||||
>
|
||||
<el-button
|
||||
v-hasPerm="['workflow:instance:track']"
|
||||
size="mini"
|
||||
type="text"
|
||||
icon="el-icon-view"
|
||||
|
||||
@@ -48,7 +48,6 @@
|
||||
trigger="click"
|
||||
>
|
||||
<el-button
|
||||
v-hasPerm="['workflow:instance:track']"
|
||||
size="mini"
|
||||
type="text"
|
||||
icon="el-icon-view"
|
||||
|
||||
@@ -48,7 +48,6 @@
|
||||
trigger="click"
|
||||
>
|
||||
<el-button
|
||||
v-hasPerm="['workflow:instance:track']"
|
||||
size="mini"
|
||||
type="text"
|
||||
icon="el-icon-view"
|
||||
@@ -56,7 +55,6 @@
|
||||
>流程追踪</el-button>
|
||||
<el-button
|
||||
v-if="scope.row.suspensionState === 2"
|
||||
v-hasPerm="['workflow:instance:running:activate']"
|
||||
size="mini"
|
||||
type="text"
|
||||
icon="el-icon-view"
|
||||
@@ -64,14 +62,12 @@
|
||||
>激活</el-button>
|
||||
<el-button
|
||||
v-if="scope.row.suspensionState === 1"
|
||||
v-hasPerm="['workflow:instance:running:suspend']"
|
||||
size="mini"
|
||||
type="text"
|
||||
icon="el-icon-view"
|
||||
@click="handleSuspend(scope.row)"
|
||||
>挂起</el-button>
|
||||
<el-button
|
||||
v-hasPerm="['workflow:instance:running:remove']"
|
||||
size="mini"
|
||||
type="text"
|
||||
icon="el-icon-delete"
|
||||
|
||||
@@ -58,7 +58,6 @@
|
||||
>
|
||||
<el-button
|
||||
v-if="scope.row.assignee === undefined || scope.row.assignee === null || scope.row.assignee === ''"
|
||||
v-hasPerm="['workflow:task:caim']"
|
||||
size="mini"
|
||||
type="text"
|
||||
icon="el-icon-view"
|
||||
@@ -66,7 +65,6 @@
|
||||
>签收</el-button>
|
||||
<el-button
|
||||
v-if="scope.row.assignee && scope.row.assignee === user.id"
|
||||
v-hasPerm="['workflow:task:unclaim']"
|
||||
size="mini"
|
||||
type="text"
|
||||
icon="el-icon-view"
|
||||
@@ -74,7 +72,6 @@
|
||||
>反签收</el-button>
|
||||
<el-button
|
||||
v-if="scope.row.assignee && scope.row.assignee === user.id"
|
||||
v-hasPerm="['workflow:task:delegate']"
|
||||
size="mini"
|
||||
type="text"
|
||||
icon="el-icon-view"
|
||||
@@ -82,7 +79,6 @@
|
||||
>委派</el-button>
|
||||
<el-button
|
||||
v-if="scope.row.assignee && scope.row.assignee === user.id"
|
||||
v-hasPerm="['workflow:task:assignee']"
|
||||
size="mini"
|
||||
type="text"
|
||||
icon="el-icon-view"
|
||||
@@ -90,7 +86,6 @@
|
||||
>转办</el-button>
|
||||
<el-button
|
||||
v-if="scope.row.assignee && scope.row.assignee === user.id"
|
||||
v-hasPerm="['workflow:task:exam']"
|
||||
size="mini"
|
||||
type="text"
|
||||
icon="el-icon-view"
|
||||
|
||||
Reference in New Issue
Block a user