权限增加
This commit is contained in:
parent
0033fb2b32
commit
88decef409
|
|
@ -100,6 +100,7 @@
|
||||||
size="mini"
|
size="mini"
|
||||||
type="text"
|
type="text"
|
||||||
@click="onHandleAuditing(scope.row)"
|
@click="onHandleAuditing(scope.row)"
|
||||||
|
v-hasPermi="['admin:audit:supervisor:person']"
|
||||||
v-if="scope.row.intoStatus == 1 || scope.row.intoStatus == 2"
|
v-if="scope.row.intoStatus == 1 || scope.row.intoStatus == 2"
|
||||||
>
|
>
|
||||||
审核
|
审核
|
||||||
|
|
|
||||||
|
|
@ -100,6 +100,7 @@
|
||||||
size="mini"
|
size="mini"
|
||||||
type="text"
|
type="text"
|
||||||
@click="onHandleAuditing(scope.row)"
|
@click="onHandleAuditing(scope.row)"
|
||||||
|
v-hasPermi="['out:audit:supervisor:person']"
|
||||||
v-if="scope.row.outStatus == 1 || scope.row.outStatus == 2"
|
v-if="scope.row.outStatus == 1 || scope.row.outStatus == 2"
|
||||||
>
|
>
|
||||||
审核
|
审核
|
||||||
|
|
|
||||||
|
|
@ -31,14 +31,14 @@
|
||||||
icon="el-icon-plus"
|
icon="el-icon-plus"
|
||||||
size="mini"
|
size="mini"
|
||||||
@click="handleAdd"
|
@click="handleAdd"
|
||||||
v-hasPermi="['system:addPersonnel:query']"
|
v-hasPermi="['add:supervisor:person']"
|
||||||
>
|
>
|
||||||
新增
|
新增
|
||||||
</el-button>
|
</el-button>
|
||||||
<el-button type="primary" plain icon="el-icon-upload" size="mini" @click="handlePersonImport">
|
<!-- <el-button type="primary" plain icon="el-icon-upload" size="mini" @click="handlePersonImport">
|
||||||
基础数据上传
|
基础数据上传
|
||||||
</el-button>
|
</el-button>
|
||||||
<el-button type="primary" plain icon="el-icon-upload" size="mini" @click="handleFileImport">文件上传</el-button>
|
<el-button type="primary" plain icon="el-icon-upload" size="mini" @click="handleFileImport">文件上传</el-button> -->
|
||||||
</el-col>
|
</el-col>
|
||||||
<right-toolbar :showSearch.sync="showSearch" @queryTable="getList"></right-toolbar>
|
<right-toolbar :showSearch.sync="showSearch" @queryTable="getList"></right-toolbar>
|
||||||
</el-row>
|
</el-row>
|
||||||
|
|
@ -112,6 +112,7 @@
|
||||||
size="mini"
|
size="mini"
|
||||||
type="text"
|
type="text"
|
||||||
@click="onHandleAudit(scope.row)"
|
@click="onHandleAudit(scope.row)"
|
||||||
|
v-hasPermi="['submit:auditing:supervisor:person']"
|
||||||
v-if="scope.row.intoStatus == 0 || scope.row.intoStatus == 5"
|
v-if="scope.row.intoStatus == 0 || scope.row.intoStatus == 5"
|
||||||
>
|
>
|
||||||
提交审核
|
提交审核
|
||||||
|
|
@ -120,6 +121,7 @@
|
||||||
size="mini"
|
size="mini"
|
||||||
type="text"
|
type="text"
|
||||||
@click="handleEdit(scope.row)"
|
@click="handleEdit(scope.row)"
|
||||||
|
v-hasPermi="['edit:supervisor:person']"
|
||||||
v-if="scope.row.intoStatus == 0 || scope.row.intoStatus == 5"
|
v-if="scope.row.intoStatus == 0 || scope.row.intoStatus == 5"
|
||||||
>
|
>
|
||||||
编辑
|
编辑
|
||||||
|
|
@ -128,6 +130,7 @@
|
||||||
size="mini"
|
size="mini"
|
||||||
type="text"
|
type="text"
|
||||||
@click="handleRetract(scope.row)"
|
@click="handleRetract(scope.row)"
|
||||||
|
v-hasPermi="['retract:auditing:supervisor:person']"
|
||||||
v-if="scope.row.intoStatus == 1 || scope.row.intoStatus == 2"
|
v-if="scope.row.intoStatus == 1 || scope.row.intoStatus == 2"
|
||||||
>
|
>
|
||||||
撤回
|
撤回
|
||||||
|
|
@ -136,6 +139,7 @@
|
||||||
size="mini"
|
size="mini"
|
||||||
type="text"
|
type="text"
|
||||||
@click="auditRecord(scope.row)"
|
@click="auditRecord(scope.row)"
|
||||||
|
v-hasPermi="['system:audit:query']"
|
||||||
v-if="scope.row.intoStatus == 3 || scope.row.intoStatus == 4"
|
v-if="scope.row.intoStatus == 3 || scope.row.intoStatus == 4"
|
||||||
>
|
>
|
||||||
审核记录
|
审核记录
|
||||||
|
|
|
||||||
|
|
@ -114,10 +114,13 @@
|
||||||
type="text"
|
type="text"
|
||||||
@click="handleWithdraw(scope.row)"
|
@click="handleWithdraw(scope.row)"
|
||||||
v-if="scope.row.outStatus == 2 || scope.row.outStatus == 1"
|
v-if="scope.row.outStatus == 2 || scope.row.outStatus == 1"
|
||||||
|
v-hasPermi="['retract:out:supervisor:person']"
|
||||||
>
|
>
|
||||||
撤回
|
撤回
|
||||||
</el-button>
|
</el-button>
|
||||||
<el-button size="mini" type="text" @click="handleAuditHistory(scope.row)">审核记录</el-button>
|
<el-button size="mini" type="text" @click="handleAuditHistory(scope.row)" v-hasPermi="['system:audit:query']">
|
||||||
|
审核记录
|
||||||
|
</el-button>
|
||||||
</template>
|
</template>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
</el-table>
|
</el-table>
|
||||||
|
|
@ -466,11 +469,7 @@ export default {
|
||||||
form: {},
|
form: {},
|
||||||
statusDict: [
|
statusDict: [
|
||||||
{
|
{
|
||||||
label: '待提交',
|
label: '待审核',
|
||||||
value: 0,
|
|
||||||
},
|
|
||||||
{
|
|
||||||
label: '已提交',
|
|
||||||
value: 1,
|
value: 1,
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
|
@ -478,13 +477,17 @@ export default {
|
||||||
value: 2,
|
value: 2,
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
label: '驳回',
|
label: '通过',
|
||||||
value: 4,
|
value: 3,
|
||||||
},
|
|
||||||
{
|
|
||||||
label: '撤回',
|
|
||||||
value: 5,
|
|
||||||
},
|
},
|
||||||
|
// {
|
||||||
|
// label: '驳回',
|
||||||
|
// value: 4,
|
||||||
|
// },
|
||||||
|
// {
|
||||||
|
// label: '撤回',
|
||||||
|
// value: 5,
|
||||||
|
// },
|
||||||
],
|
],
|
||||||
auditStatusDict: {
|
auditStatusDict: {
|
||||||
1: '待审批',
|
1: '待审批',
|
||||||
|
|
|
||||||
|
|
@ -24,7 +24,7 @@
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
</el-form>
|
</el-form>
|
||||||
|
|
||||||
<el-row :gutter="10" class="mb8">
|
<!-- <el-row :gutter="10" class="mb8">
|
||||||
<el-col :span="1.5">
|
<el-col :span="1.5">
|
||||||
<el-button
|
<el-button
|
||||||
type="primary"
|
type="primary"
|
||||||
|
|
@ -42,7 +42,7 @@
|
||||||
<el-button type="primary" plain icon="el-icon-upload" size="mini" @click="handleFileImport">文件上传</el-button>
|
<el-button type="primary" plain icon="el-icon-upload" size="mini" @click="handleFileImport">文件上传</el-button>
|
||||||
</el-col>
|
</el-col>
|
||||||
<right-toolbar :showSearch.sync="showSearch" @queryTable="getList"></right-toolbar>
|
<right-toolbar :showSearch.sync="showSearch" @queryTable="getList"></right-toolbar>
|
||||||
</el-row>
|
</el-row> -->
|
||||||
|
|
||||||
<el-table :data="supervisorList">
|
<el-table :data="supervisorList">
|
||||||
<el-table-column
|
<el-table-column
|
||||||
|
|
@ -113,6 +113,7 @@
|
||||||
size="mini"
|
size="mini"
|
||||||
type="text"
|
type="text"
|
||||||
@click="handleOut(scope.row)"
|
@click="handleOut(scope.row)"
|
||||||
|
v-hasPermi="['out:supervisor:person']"
|
||||||
v-if="scope.row.outStatus == 0 || scope.row.outStatus == 5"
|
v-if="scope.row.outStatus == 0 || scope.row.outStatus == 5"
|
||||||
>
|
>
|
||||||
出场
|
出场
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue