按钮权限校验增加
This commit is contained in:
parent
9b7b18881a
commit
295019f3c7
|
|
@ -183,7 +183,7 @@
|
|||
<el-form-item prop="diplomaImg">
|
||||
<template #label>
|
||||
<span>上述资格证书照片</span>
|
||||
<span style="color: #999; font-size: 12px">(最多上传5张,仅支持jpg、png格式)</span>
|
||||
<span style="color: #999; font-size: 12px">(最多上传5张,仅支持jpg、png、jpeg格式)</span>
|
||||
</template>
|
||||
<UploadImg
|
||||
:limit="5"
|
||||
|
|
@ -205,7 +205,7 @@
|
|||
<el-form-item prop="otherImg">
|
||||
<template #label>
|
||||
<span>其他资质照片</span>
|
||||
<span style="color: #999; font-size: 12px">(最多上传5张,仅支持jpg、png格式)</span>
|
||||
<span style="color: #999; font-size: 12px">(最多上传5张,仅支持jpg、png、jpeg格式)</span>
|
||||
</template>
|
||||
<UploadImg
|
||||
:limit="5"
|
||||
|
|
|
|||
|
|
@ -28,8 +28,14 @@
|
|||
<el-form-item>
|
||||
<el-button type="primary" @click="getKeyPersonList">查询</el-button>
|
||||
<el-button @click="resetQueryParams">重置</el-button>
|
||||
<el-button type="primary" @click="onHandleAddOrEdit(null, 1)">新增人员</el-button>
|
||||
<el-button @click="handleExport">导出数据</el-button>
|
||||
<el-button
|
||||
type="primary"
|
||||
@click="onHandleAddOrEdit(null, 1)"
|
||||
v-hasPermi="['company:key:person:add']"
|
||||
>
|
||||
新增人员
|
||||
</el-button>
|
||||
<el-button @click="handleExport" v-hasPermi="['company:key:person:export']">导出数据</el-button>
|
||||
</el-form-item>
|
||||
</el-col>
|
||||
</el-row>
|
||||
|
|
@ -77,6 +83,7 @@
|
|||
icon="el-icon-edit"
|
||||
style="color: #409eff"
|
||||
@click="onHandleAddOrEdit(row, 3)"
|
||||
v-hasPermi="['company:key:person:edit']"
|
||||
>
|
||||
编辑
|
||||
</el-button>
|
||||
|
|
@ -86,6 +93,7 @@
|
|||
icon="el-icon-delete"
|
||||
style="color: #f56c6c"
|
||||
@click="onHandleDelete(row)"
|
||||
v-hasPermi="['company:key:person:delete']"
|
||||
>
|
||||
删除
|
||||
</el-button>
|
||||
|
|
|
|||
|
|
@ -164,7 +164,7 @@
|
|||
<el-form-item prop="diplomaImg">
|
||||
<template #label>
|
||||
<span>上传资格证照片</span>
|
||||
<span style="color: #999; font-size: 12px">(最多上传5张,仅支持jpg、png格式)</span>
|
||||
<span style="color: #999; font-size: 12px">(最多上传5张,仅支持jpg、png、jpeg格式)</span>
|
||||
</template>
|
||||
<UploadImg
|
||||
:limit="5"
|
||||
|
|
@ -186,7 +186,7 @@
|
|||
<el-form-item prop="otherImg">
|
||||
<template #label>
|
||||
<span>其他资质照片</span>
|
||||
<span style="color: #999; font-size: 12px">(最多上传5张,仅支持jpg、png格式)</span>
|
||||
<span style="color: #999; font-size: 12px">(最多上传5张,仅支持jpg、png、jpeg格式)</span>
|
||||
</template>
|
||||
<UploadImg
|
||||
:limit="5"
|
||||
|
|
|
|||
|
|
@ -28,8 +28,16 @@
|
|||
<el-form-item>
|
||||
<el-button type="primary" @click="getOtherPersonList">查询</el-button>
|
||||
<el-button @click="resetQueryParams">重置</el-button>
|
||||
<el-button type="primary" @click="onHandleAddOrEdit(null, 1)">新增人员</el-button>
|
||||
<el-button @click="handleExport">导出数据</el-button>
|
||||
<el-button
|
||||
type="primary"
|
||||
@click="onHandleAddOrEdit(null, 1)"
|
||||
v-hasPermi="['company:other:person:add']"
|
||||
>
|
||||
新增人员
|
||||
</el-button>
|
||||
<el-button @click="handleExport" v-hasPermi="['company:other:person:export']">
|
||||
导出数据
|
||||
</el-button>
|
||||
</el-form-item>
|
||||
</el-col>
|
||||
</el-row>
|
||||
|
|
@ -81,6 +89,7 @@
|
|||
icon="el-icon-edit"
|
||||
style="color: #409eff"
|
||||
@click="onHandleAddOrEdit(row, 3)"
|
||||
v-hasPermi="['company:other:person:edit']"
|
||||
>
|
||||
编辑
|
||||
</el-button>
|
||||
|
|
@ -90,6 +99,7 @@
|
|||
icon="el-icon-delete"
|
||||
style="color: #f56c6c"
|
||||
@click="onHandleDelete(row)"
|
||||
v-hasPermi="['company:other:person:delete']"
|
||||
>
|
||||
删除
|
||||
</el-button>
|
||||
|
|
|
|||
|
|
@ -228,7 +228,7 @@
|
|||
<template #label>
|
||||
<span>合同关键页</span>
|
||||
<span style="color: #999; font-size: 12px">
|
||||
(合同起始页面、关键页面、竣工报告、相关证明等,一个项目最多上传8张仅支持jpg、png格式图片)
|
||||
(合同起始页面、关键页面、竣工报告、相关证明等,一个项目最多上传8张,仅支持jpg、png、jpeg格式图片)
|
||||
</span>
|
||||
</template>
|
||||
<UploadImg
|
||||
|
|
@ -261,7 +261,7 @@
|
|||
>
|
||||
<div class="upload-title">
|
||||
<span> 证明材料 </span>
|
||||
最多上传4张,仅支持JPG、PNG格式图片
|
||||
最多上传4张,仅支持jpg、png、jpeg格式图片
|
||||
</div>
|
||||
<UploadImg
|
||||
:limit="4"
|
||||
|
|
|
|||
|
|
@ -25,8 +25,16 @@
|
|||
<el-form-item>
|
||||
<el-button type="primary" @click="getCompanyPerformanceList">查询</el-button>
|
||||
<el-button @click="resetQueryParams">重置</el-button>
|
||||
<el-button type="primary" @click="onHandleAddOrEdit(null, 1)">新增业绩</el-button>
|
||||
<el-button @click="handleExport">导出数据</el-button>
|
||||
<el-button
|
||||
type="primary"
|
||||
@click="onHandleAddOrEdit(null, 1)"
|
||||
v-hasPermi="['company:performance:manage:add']"
|
||||
>
|
||||
新增业绩
|
||||
</el-button>
|
||||
<el-button @click="handleExport" v-hasPermi="['company:performance:manage:export']">
|
||||
导出数据
|
||||
</el-button>
|
||||
</el-form-item>
|
||||
</el-col>
|
||||
</el-row>
|
||||
|
|
@ -58,7 +66,7 @@
|
|||
</template>
|
||||
</template>
|
||||
</el-table-column>
|
||||
|
||||
0
|
||||
<el-table-column label="操作" width="200" align="center">
|
||||
<template #default="{ row }">
|
||||
<el-button
|
||||
|
|
@ -76,6 +84,7 @@
|
|||
icon="el-icon-edit"
|
||||
style="color: #409eff"
|
||||
@click="onHandleAddOrEdit(row, 3)"
|
||||
v-hasPermi="['company:performance:manage:edit']"
|
||||
>
|
||||
编辑
|
||||
</el-button>
|
||||
|
|
@ -85,6 +94,7 @@
|
|||
icon="el-icon-delete"
|
||||
style="color: #f56c6c"
|
||||
@click="onHandleDelete(row)"
|
||||
v-hasPermi="['company:performance:manage:delete']"
|
||||
>
|
||||
删除
|
||||
</el-button>
|
||||
|
|
|
|||
|
|
@ -27,7 +27,9 @@
|
|||
<el-form-item>
|
||||
<el-button type="primary" @click="getEpcTemplateList">查询</el-button>
|
||||
<el-button @click="resetQueryParams">重置</el-button>
|
||||
<el-button type="primary" @click="onHandleAddOrEdit(null, 1)">新增</el-button>
|
||||
<el-button type="primary" @click="onHandleAddOrEdit(null, 1)" v-hasPermi="['epc:template:add']">
|
||||
新增
|
||||
</el-button>
|
||||
</el-form-item>
|
||||
</el-col>
|
||||
</el-row>
|
||||
|
|
@ -56,29 +58,32 @@
|
|||
详情
|
||||
</el-button>
|
||||
<el-button
|
||||
style="color: #d140ff"
|
||||
icon="el-icon-download"
|
||||
type="text"
|
||||
size="mini"
|
||||
icon="el-icon-download"
|
||||
style="color: #d140ff"
|
||||
@click="onHandleDownload(row)"
|
||||
v-hasPermi="['epc:template:download']"
|
||||
>
|
||||
下载
|
||||
</el-button>
|
||||
<el-button
|
||||
style="color: #409eff"
|
||||
icon="el-icon-edit"
|
||||
type="text"
|
||||
size="mini"
|
||||
icon="el-icon-edit"
|
||||
style="color: #409eff"
|
||||
@click="onHandleAddOrEdit(row, 3)"
|
||||
v-hasPermi="['epc:template:edit']"
|
||||
>
|
||||
编辑
|
||||
</el-button>
|
||||
<el-button
|
||||
style="color: #f56c6c"
|
||||
icon="el-icon-delete"
|
||||
type="text"
|
||||
size="mini"
|
||||
icon="el-icon-delete"
|
||||
style="color: #f56c6c"
|
||||
@click="onHandleDelete(row)"
|
||||
v-hasPermi="['epc:template:delete']"
|
||||
>
|
||||
删除
|
||||
</el-button>
|
||||
|
|
|
|||
|
|
@ -27,7 +27,9 @@
|
|||
<el-form-item>
|
||||
<el-button type="primary" @click="getGwTemplateList">查询</el-button>
|
||||
<el-button @click="resetQueryParams">重置</el-button>
|
||||
<el-button type="primary" @click="onHandleAddOrEdit(null, 1)">新增</el-button>
|
||||
<el-button type="primary" @click="onHandleAddOrEdit(null, 1)" v-hasPermi="['gw:template:add']">
|
||||
新增
|
||||
</el-button>
|
||||
</el-form-item>
|
||||
</el-col>
|
||||
</el-row>
|
||||
|
|
@ -61,6 +63,7 @@
|
|||
type="text"
|
||||
size="mini"
|
||||
@click="onHandleDownload(row)"
|
||||
v-hasPermi="['gw:template:download']"
|
||||
>
|
||||
下载
|
||||
</el-button>
|
||||
|
|
@ -70,6 +73,7 @@
|
|||
type="text"
|
||||
size="mini"
|
||||
@click="onHandleAddOrEdit(row, 3)"
|
||||
v-hasPermi="['gw:template:edit']"
|
||||
>
|
||||
编辑
|
||||
</el-button>
|
||||
|
|
@ -79,6 +83,7 @@
|
|||
type="text"
|
||||
size="mini"
|
||||
@click="onHandleDelete(row)"
|
||||
v-hasPermi="['gw:template:delete']"
|
||||
>
|
||||
删除
|
||||
</el-button>
|
||||
|
|
|
|||
|
|
@ -27,7 +27,9 @@
|
|||
<el-form-item>
|
||||
<el-button type="primary" @click="getNwTemplateList">查询</el-button>
|
||||
<el-button @click="resetQueryParams">重置</el-button>
|
||||
<el-button type="primary" @click="onHandleAddOrEdit(null, 1)">新增</el-button>
|
||||
<el-button type="primary" @click="onHandleAddOrEdit(null, 1)" v-hasPermi="['nw:template:add']">
|
||||
新增
|
||||
</el-button>
|
||||
</el-form-item>
|
||||
</el-col>
|
||||
</el-row>
|
||||
|
|
@ -61,6 +63,7 @@
|
|||
style="color: #d140ff"
|
||||
icon="el-icon-download"
|
||||
@click="onHandleDownload(row)"
|
||||
v-hasPermi="['nw:template:download']"
|
||||
>
|
||||
下载
|
||||
</el-button>
|
||||
|
|
@ -70,6 +73,7 @@
|
|||
icon="el-icon-edit"
|
||||
style="color: #409eff"
|
||||
@click="onHandleAddOrEdit(row, 3)"
|
||||
v-hasPermi="['nw:template:edit']"
|
||||
>
|
||||
编辑
|
||||
</el-button>
|
||||
|
|
@ -79,6 +83,7 @@
|
|||
icon="el-icon-delete"
|
||||
style="color: #f56c6c"
|
||||
@click="onHandleDelete(row)"
|
||||
v-hasPermi="['nw:template:delete']"
|
||||
>
|
||||
删除
|
||||
</el-button>
|
||||
|
|
|
|||
|
|
@ -64,7 +64,7 @@
|
|||
<template #label>
|
||||
<span>公司资质</span>
|
||||
<span style="color: #999; font-size: 12px">
|
||||
(请上传公司营业执照、生产许可证以及其他相关资质证书图片、最多上传20张,仅支持jpg、png格式)
|
||||
(请上传公司营业执照、生产许可证以及其他相关资质证书图片、最多上传20张,仅支持jpg、png、jpeg格式)
|
||||
</span>
|
||||
</template>
|
||||
<UploadImg
|
||||
|
|
|
|||
|
|
@ -13,8 +13,10 @@
|
|||
<el-form-item>
|
||||
<el-button type="primary" @click="getSubManageList">查询</el-button>
|
||||
<el-button @click="resetQueryParam">重置</el-button>
|
||||
<el-button type="primary" @click="onHandleAddOrEdit(null, 1)">新增分包商</el-button>
|
||||
<el-button @click="handleExport">导出数据</el-button>
|
||||
<el-button type="primary" @click="onHandleAddOrEdit(null, 1)" v-hasPermi="['sub:manage:add']">
|
||||
新增分包商
|
||||
</el-button>
|
||||
<el-button @click="handleExport" v-hasPermi="['sub:manage:export']">导出数据</el-button>
|
||||
</el-form-item>
|
||||
</el-col>
|
||||
</el-row>
|
||||
|
|
@ -47,6 +49,7 @@
|
|||
icon="el-icon-edit"
|
||||
type="text"
|
||||
size="mini"
|
||||
v-hasPermi="['sub:manage:edit']"
|
||||
@click="onHandleAddOrEdit(row, 3)"
|
||||
>
|
||||
编辑
|
||||
|
|
@ -57,6 +60,7 @@
|
|||
type="text"
|
||||
size="mini"
|
||||
@click="onHandleDelete(row)"
|
||||
v-hasPermi="['sub:manage:delete']"
|
||||
>
|
||||
删除
|
||||
</el-button>
|
||||
|
|
|
|||
|
|
@ -164,7 +164,7 @@
|
|||
<template #label>
|
||||
<span>合同关键页</span>
|
||||
<span style="color: #999; font-size: 12px">
|
||||
(合同起始页面、关键页面、竣工报告、相关证明等,一个项目最多上传8张仅支持jpg、png格式图片)
|
||||
(合同起始页面、关键页面、竣工报告、相关证明等,一个项目最多上传8张,仅支持jpg、png、jpeg格式图片)
|
||||
</span>
|
||||
</template>
|
||||
<UploadImg
|
||||
|
|
|
|||
|
|
@ -25,8 +25,16 @@
|
|||
<el-form-item>
|
||||
<el-button type="primary" @click="getSubPerformanceManageList">查询</el-button>
|
||||
<el-button @click="resetQueryParams">重置</el-button>
|
||||
<el-button type="primary" @click="onHandleAddOrEdit(null, 1)">新增业绩</el-button>
|
||||
<el-button @click="handleExport">导出数据</el-button>
|
||||
<el-button
|
||||
type="primary"
|
||||
@click="onHandleAddOrEdit(null, 1)"
|
||||
v-hasPermi="['sub:performance:manage:add']"
|
||||
>
|
||||
新增业绩
|
||||
</el-button>
|
||||
<el-button @click="handleExport" v-hasPermi="['sub:performance:manage:export']">
|
||||
导出数据
|
||||
</el-button>
|
||||
</el-form-item>
|
||||
</el-col>
|
||||
</el-row>
|
||||
|
|
@ -71,20 +79,22 @@
|
|||
详情
|
||||
</el-button>
|
||||
<el-button
|
||||
style="color: #409eff"
|
||||
icon="el-icon-edit"
|
||||
type="text"
|
||||
size="mini"
|
||||
icon="el-icon-edit"
|
||||
style="color: #409eff"
|
||||
@click="onHandleAddOrEdit(row, 3)"
|
||||
v-hasPermi="['sub:performance:manage:edit']"
|
||||
>
|
||||
编辑
|
||||
</el-button>
|
||||
<el-button
|
||||
style="color: #f56c6c"
|
||||
icon="el-icon-delete"
|
||||
type="text"
|
||||
size="mini"
|
||||
icon="el-icon-delete"
|
||||
style="color: #f56c6c"
|
||||
@click="onHandleDelete(row)"
|
||||
v-hasPermi="['sub:performance:manage:delete']"
|
||||
>
|
||||
删除
|
||||
</el-button>
|
||||
|
|
|
|||
|
|
@ -128,7 +128,7 @@
|
|||
<el-form-item prop="diplomaImg">
|
||||
<template #label>
|
||||
<span>上传资格证照片</span>
|
||||
<span style="color: #999; font-size: 12px">(最多上传5张,仅支持jpg、png格式)</span>
|
||||
<span style="color: #999; font-size: 12px">(最多上传5张,仅支持jpg、png、jpeg格式)</span>
|
||||
</template>
|
||||
<UploadImg
|
||||
:limit="5"
|
||||
|
|
@ -150,7 +150,7 @@
|
|||
<el-form-item prop="otherImg">
|
||||
<template #label>
|
||||
<span>其他资质照片</span>
|
||||
<span style="color: #999; font-size: 12px">(最多上传5张,仅支持jpg、png格式)</span>
|
||||
<span style="color: #999; font-size: 12px">(最多上传5张,仅支持jpg、png、jpeg格式)</span>
|
||||
</template>
|
||||
<UploadImg
|
||||
:limit="5"
|
||||
|
|
|
|||
|
|
@ -23,8 +23,14 @@
|
|||
<el-form-item>
|
||||
<el-button type="primary" @click="getSubPersonManageList">查询</el-button>
|
||||
<el-button @click="resetQueryParams">重置</el-button>
|
||||
<el-button type="primary" @click="onHandleAddOrEdit(null, 1)">新增人员</el-button>
|
||||
<el-button @click="handleExport">导出数据</el-button>
|
||||
<el-button
|
||||
type="primary"
|
||||
@click="onHandleAddOrEdit(null, 1)"
|
||||
v-hasPermi="['sub:person:manage:add']"
|
||||
>
|
||||
新增人员
|
||||
</el-button>
|
||||
<el-button @click="handleExport" v-hasPermi="['sub:person:manage:export']">导出数据</el-button>
|
||||
</el-form-item>
|
||||
</el-col>
|
||||
</el-row>
|
||||
|
|
@ -53,20 +59,22 @@
|
|||
详情
|
||||
</el-button>
|
||||
<el-button
|
||||
style="color: #409eff"
|
||||
icon="el-icon-edit"
|
||||
type="text"
|
||||
size="mini"
|
||||
icon="el-icon-edit"
|
||||
style="color: #409eff"
|
||||
@click="onHandleAddOrEdit(row, 3)"
|
||||
v-hasPermi="['sub:person:manage:edit']"
|
||||
>
|
||||
编辑
|
||||
</el-button>
|
||||
<el-button
|
||||
style="color: #f56c6c"
|
||||
icon="el-icon-delete"
|
||||
type="text"
|
||||
size="mini"
|
||||
icon="el-icon-delete"
|
||||
style="color: #f56c6c"
|
||||
@click="onHandleDelete(row)"
|
||||
v-hasPermi="['sub:person:manage:delete']"
|
||||
>
|
||||
删除
|
||||
</el-button>
|
||||
|
|
@ -121,17 +129,7 @@ export default {
|
|||
pageSize: 10,
|
||||
},
|
||||
timeValue: [],
|
||||
tableList: [
|
||||
{
|
||||
projectName: '测试工程1',
|
||||
},
|
||||
{
|
||||
projectName: '测试工程2',
|
||||
},
|
||||
{
|
||||
projectName: '测试工程3',
|
||||
},
|
||||
],
|
||||
tableList: [],
|
||||
tableColumn: [
|
||||
{ label: '所属分包商', prop: 'subName' },
|
||||
{ label: '姓名', prop: 'userName' },
|
||||
|
|
|
|||
Loading…
Reference in New Issue