增加按钮权限
This commit is contained in:
parent
b5c0c58ca7
commit
26a2d4b49e
@ -84,9 +84,9 @@ if (process.env.NODE_ENV == 'development') {
|
||||
// axios.defaults.baseURL ='http://101.43.164.214:45011/' //上海优益(上海建工)
|
||||
// axios.defaults.baseURL = 'http://192.168.34.221:28888/' //郭圣雄本地
|
||||
// axios.defaults.baseURL = 'http://192.168.34.221:28889/' //郭圣雄本地
|
||||
axios.defaults.baseURL ='http://192.168.34.221:9111/' //郭圣雄本地
|
||||
// axios.defaults.baseURL ='http://192.168.34.221:9111/' //郭圣雄本地
|
||||
// axios.defaults.baseURL = 'http://192.168.34.155:19111/' //彭洁本地
|
||||
// axios.defaults.baseURL = 'http://182.90.224.237:51234' //郭圣雄远程
|
||||
axios.defaults.baseURL = 'http://182.90.224.237:51234' //郭圣雄远程
|
||||
// axios.defaults.baseURL = 'http://jxj.zhgdyun.com:61212/' //彭洁远程
|
||||
// axios.defaults.baseURL ='http://101.43.164.214:45020/' //沈阳和盈
|
||||
// axios.defaults.baseURL ='http://183.249.224.118:9000/' //嘉兴王江泾公用码头
|
||||
|
||||
@ -48,13 +48,13 @@ export default new Vuex.Store({
|
||||
PAGESIZRS: [10, 20, 30, 50],
|
||||
// UPLOADURL:' http://101.43.164.214:11111/upload/image/',// 百色
|
||||
// FILEURL:' http://101.43.164.214:11111/image/',// 百色
|
||||
// UPLOADURL:'http://182.90.224.237:51234/upload/image/',
|
||||
// FILEURL:'http://182.90.224.237:51234/image/',
|
||||
UPLOADURL:'http://182.90.224.237:51234/upload/image/',
|
||||
FILEURL:'http://182.90.224.237:51234/image/',
|
||||
// UPLOADURL: "http://http://192.168.34.155:19111/upload/image/", // 洁本地
|
||||
// FILEURL: "http://http://192.168.34.155:19111/image/", //洁本地
|
||||
UPLOADURL:'http://192.168.34.221:9111/upload/image/',// 郭圣雄本地
|
||||
FILEURL:'http://192.168.34.221:9111/image/',//郭圣雄本地
|
||||
WORKFLOWURL: "http://192.168.34.138:88/#/workspace/forms", //坤工作流地址(本地)
|
||||
// UPLOADURL:'http://192.168.34.221:9111/upload/image/',// 郭圣雄本地
|
||||
// FILEURL:'http://192.168.34.221:9111/image/',//郭圣雄本地
|
||||
// WORKFLOWURL: "http://192.168.34.138:88/#/workspace/forms", //坤工作流地址(本地)
|
||||
// WORKFLOWURL: "http://192.168.34.126:88/#/workspace/forms", //罗峰工作流地址(本地)
|
||||
// UPLOADURL:'http://182.90.224.237:51234/upload/image/',// 郭圣雄远程
|
||||
// FILEURL:'http://182.90.224.237:51234/image/',//郭圣雄远程
|
||||
|
||||
@ -85,7 +85,8 @@
|
||||
<!-- 操作 -->
|
||||
<el-table-column align="center" :label="$t('message.dangerousBigProject.operation')">
|
||||
<template slot-scope="scope">
|
||||
<el-button @click.native.prevent="viewData(scope.row)" type="text" size="small">
|
||||
<el-button @click.native.prevent="viewData(scope.row)" type="text" size="small"
|
||||
v-permission="{key: 'emergencyDisposal_detail', menuPath: '/project/emergencyDisposal/emergencyDisposal'}">
|
||||
<i class="el-icon-s-order"></i>
|
||||
查看详情
|
||||
</el-button>
|
||||
@ -104,7 +105,8 @@
|
||||
<i class="el-icon-edit"></i>
|
||||
</el-button> -->
|
||||
<!-- v-permission="{key: 'wdgc_delete', menuPath: '/project/dangerousBigProject/parameter'}" -->
|
||||
<el-button @click.stop="deleteRow(scope.row)" type="text" size="small">
|
||||
<el-button @click.stop="deleteRow(scope.row)" type="text" size="small"
|
||||
v-permission="{key: 'emergencyDisposal_delete', menuPath: '/project/emergencyDisposal/emergencyDisposal'}">
|
||||
<i class="el-icon-delete"></i>
|
||||
删除
|
||||
</el-button>
|
||||
|
||||
@ -55,7 +55,8 @@
|
||||
<i class="el-icon-s-order"></i>
|
||||
查看详情
|
||||
</el-button> -->
|
||||
<el-button @click.native.prevent="addEmergencyType(scope.row)" type="text" size="small">
|
||||
<el-button @click.native.prevent="addEmergencyType(scope.row)" type="text" size="small"
|
||||
v-permission="{key: 'emergencyPush_set', menuPath: '/project/emergencyDisposal/emergencyPush'}">
|
||||
<i class="el-icon-setting"></i>
|
||||
设置责任人
|
||||
</el-button>
|
||||
|
||||
@ -29,7 +29,10 @@
|
||||
<el-button type="warning" @click="onRefresh" plain>刷新</el-button>
|
||||
</el-form-item>
|
||||
<el-form-item>
|
||||
<el-button type="primary" @click="addEmergencyType(1)">新增</el-button>
|
||||
<el-button type="primary" @click="addEmergencyType(1)"
|
||||
v-permission="{key: 'emergencyType_add', menuPath: '/project/emergencyDisposal/emergencyType'}">
|
||||
新增
|
||||
</el-button>
|
||||
</el-form-item>
|
||||
</el-form>
|
||||
</div>
|
||||
@ -67,12 +70,14 @@
|
||||
<!-- 操作 -->
|
||||
<el-table-column align="center" :label="$t('message.dangerousBigProject.operation')">
|
||||
<template slot-scope="scope">
|
||||
<el-button @click.native.prevent="addEmergencyType(2, scope.row)" type="text" size="small">
|
||||
<el-button @click.native.prevent="addEmergencyType(2, scope.row)" type="text" size="small"
|
||||
v-permission="{key: 'emergencyType_edit', menuPath: '/project/emergencyDisposal/emergencyType'}">
|
||||
<i class="el-icon-edit"></i>
|
||||
编辑
|
||||
</el-button>
|
||||
<!-- v-permission="{key: 'wdgc_delete', menuPath: '/project/dangerousBigProject/parameter'}" -->
|
||||
<el-button @click.stop="deleteRow(scope.row)" type="text" size="small">
|
||||
<el-button @click.stop="deleteRow(scope.row)" type="text" size="small"
|
||||
v-permission="{key: 'emergencyType_delete', menuPath: '/project/emergencyDisposal/emergencyType'}">
|
||||
<i class="el-icon-delete"></i>
|
||||
删除
|
||||
</el-button>
|
||||
|
||||
@ -79,15 +79,18 @@
|
||||
<!-- 操作 -->
|
||||
<el-table-column align="center" width="270px" :label="$t('message.dangerousBigProject.operation')">
|
||||
<template slot-scope="scope">
|
||||
<el-button v-if="scope.row.dispositionStatus === 3" @click.stop="downloadReport(scope.row)" type="text" size="small">
|
||||
<el-button v-if="scope.row.dispositionStatus === 3" @click.stop="downloadReport(scope.row)" type="text" size="small"
|
||||
v-permission="{key: 'reliefApprove_download', menuPath: '/project/emergencyDisposal/reliefApprove'}">
|
||||
<i class="el-icon-upload"></i>
|
||||
下载处置报告
|
||||
</el-button>
|
||||
<el-button @click.native.prevent="viewData(scope.row)" type="text" size="small">
|
||||
<el-button @click.native.prevent="viewData(scope.row)" type="text" size="small"
|
||||
v-permission="{key: 'reliefApprove_detail', menuPath: '/project/emergencyDisposal/reliefApprove'}">
|
||||
<i class="el-icon-s-order"></i>
|
||||
查看详情
|
||||
</el-button>
|
||||
<el-button @click.stop="deleteRow(scope.row)" type="text" size="small">
|
||||
<el-button @click.stop="deleteRow(scope.row)" type="text" size="small"
|
||||
v-permission="{key: 'reliefApprove_delete', menuPath: '/project/emergencyDisposal/reliefApprove'}">
|
||||
<i class="el-icon-delete"></i>
|
||||
删除
|
||||
</el-button>
|
||||
|
||||
@ -28,7 +28,10 @@
|
||||
<el-button type="warning" @click="onRefresh" plain>刷新</el-button>
|
||||
</el-form-item>
|
||||
<el-form-item>
|
||||
<el-button type="primary" @click="addEmergencyType()">新增</el-button>
|
||||
<el-button type="primary" @click="addEmergencyType()"
|
||||
v-permission="{key: 'reliefGoods_add', menuPath: '/project/emergencyDisposal/reliefGoods'}">
|
||||
新增
|
||||
</el-button>
|
||||
</el-form-item>
|
||||
</el-form>
|
||||
</div>
|
||||
@ -59,10 +62,12 @@
|
||||
<!-- 操作 -->
|
||||
<el-table-column align="center" :label="$t('message.dangerousBigProject.operation')">
|
||||
<template slot-scope="scope">
|
||||
<el-button @click.native.prevent="editData(scope.row)" type="text" size="small">
|
||||
<el-button @click.native.prevent="editData(scope.row)" type="text" size="small"
|
||||
v-permission="{key: 'reliefGoods_edit', menuPath: '/project/emergencyDisposal/reliefGoods'}">
|
||||
<i class="el-icon-edit"></i> 编辑
|
||||
</el-button>
|
||||
<el-button @click.stop="deleteRow(scope.row)" type="text" size="small">
|
||||
<el-button @click.stop="deleteRow(scope.row)" type="text" size="small"
|
||||
v-permission="{key: 'reliefGoods_delete', menuPath: '/project/emergencyDisposal/reliefGoods'}">
|
||||
<i class="el-icon-delete"></i>
|
||||
删除
|
||||
</el-button>
|
||||
|
||||
@ -16,7 +16,8 @@
|
||||
<el-button class="expintBtn" suffix-icon="el-icon-search" size="medium" type="primary" @click="getRecordList()">
|
||||
查询
|
||||
</el-button>
|
||||
<el-button class="expintBtn" size="medium" type="primary" @click="addExam()">
|
||||
<el-button class="expintBtn" size="medium" type="primary" @click="addExam()"
|
||||
v-permission="{key: 'examManagement_add', menuPath: '/project/examSystem2/examManagement'}">
|
||||
新增考试
|
||||
</el-button>
|
||||
</el-form-item>
|
||||
@ -35,7 +36,8 @@
|
||||
<el-table-column width="240px" label="操作" align="center">
|
||||
<template slot-scope="scope">
|
||||
<div style="display:flex;justify-content:center">
|
||||
<div @click="editExam(scope.row)" style="margin-left:10px;" class="operationText">
|
||||
<div @click="editExam(scope.row)" style="margin-left:10px;" class="operationText"
|
||||
v-permission="{key: 'examManagement_edit', menuPath: '/project/examSystem2/examManagement'}">
|
||||
<img src="@/assets/images/icon-edit.png" width="15px" height="15px" />
|
||||
<span style="white-space: nowrap;display:flex;align-items:center">编辑</span>
|
||||
</div>
|
||||
@ -43,7 +45,9 @@
|
||||
<img src="@/assets/images/icon-detail.png" width="15px" height="15px" />
|
||||
<span style="white-space: nowrap;display:flex;align-items:center">试题详情</span>
|
||||
</div>
|
||||
<el-button size="mini" type="text" style="color:#ec4b52;margin-left:10px;font-size:14px" class="delete-btn" icon="el-icon-delete" @click.native.stop="removeExam(scope.row) ">
|
||||
<el-button size="mini" type="text" style="color:#ec4b52;margin-left:10px;font-size:14px" class="delete-btn" icon="el-icon-delete"
|
||||
v-permission="{key: 'examManagement_delete', menuPath: '/project/examSystem2/examManagement'}"
|
||||
@click.native.stop="removeExam(scope.row) ">
|
||||
<span style="color:black">删除</span>
|
||||
</el-button>
|
||||
</div>
|
||||
|
||||
@ -1,7 +1,9 @@
|
||||
<template>
|
||||
<div class="fullHeight">
|
||||
<div class="searchBox whiteBlock">
|
||||
<el-button type="primary" size="medium" @click="add">新增</el-button>
|
||||
<el-button type="primary" size="medium" @click="add"
|
||||
v-permission="{key: 'examRegulation_add', menuPath: '/project/examSystem2/examRegulation'}"
|
||||
>新增</el-button>
|
||||
</div>
|
||||
<div class="table_wrap whiteBlock">
|
||||
<el-table class="tables" :data="tableData">
|
||||
@ -17,19 +19,23 @@
|
||||
<el-table-column align="center" label="操作" width="280">
|
||||
<template slot-scope="scope">
|
||||
<div class="tableBtns">
|
||||
<div @click="edit(scope.row)" class="operationText">
|
||||
<div @click="edit(scope.row)" class="operationText"
|
||||
v-permission="{key: 'examRegulation_edit', menuPath: '/project/examSystem2/examRegulation'}">
|
||||
<img src="@/assets/images/icon-edit.png" width="15px" height="15px" />
|
||||
<span style="white-space: nowrap;">编辑</span>
|
||||
</div>
|
||||
<div v-if="scope.row.isEnable === 1" @click="drop(0,scope.row)" class="operationText">
|
||||
<div v-if="scope.row.isEnable === 1" @click="drop(0,scope.row)" class="operationText"
|
||||
v-permission="{key: 'examRegulation_disabled', menuPath: '/project/examSystem2/examRegulation'}">
|
||||
<img src="@/assets/images/icon-drop.png" width="15px" height="15px" />
|
||||
<span style="white-space: nowrap;">下架</span>
|
||||
</div>
|
||||
<div v-if="scope.row.isEnable === 0" @click="drop(1,scope.row)" class="operationText">
|
||||
<div v-if="scope.row.isEnable === 0" @click="drop(1,scope.row)" class="operationText"
|
||||
v-permission="{key: 'examRegulation_enable', menuPath: '/project/examSystem2/examRegulation'}">
|
||||
<img src="@/assets/images/icon-raise.png" width="15px" height="15px" />
|
||||
<span style="white-space: nowrap;">上架</span>
|
||||
</div>
|
||||
<div @click="remove(scope.row)" class="operationText">
|
||||
<div @click="remove(scope.row)" class="operationText"
|
||||
v-permission="{key: 'examRegulation_delete', menuPath: '/project/examSystem2/examRegulation'}">
|
||||
<img src="@/assets/images/icon-delete.png" width="15px" height="15px" />
|
||||
<span style="white-space: nowrap;">删除</span>
|
||||
</div>
|
||||
|
||||
@ -14,7 +14,8 @@
|
||||
<el-button class="expintBtn" size="medium" type="primary" plain @click="getPageCourseApi">查询</el-button>
|
||||
</el-form-item>
|
||||
<el-form-item>
|
||||
<el-button class="expintBtn" size="medium" type="primary" @click="handleOpen(null,'新增课程')">新增</el-button>
|
||||
<el-button class="expintBtn" size="medium" type="primary" @click="handleOpen(null,'新增课程')"
|
||||
v-permission="{key: 'learningMaterial_add', menuPath: '/project/examSystem2/learningMaterial'}">新增</el-button>
|
||||
</el-form-item>
|
||||
</el-form>
|
||||
</div>
|
||||
@ -60,10 +61,12 @@
|
||||
</el-table-column>
|
||||
<el-table-column width="240" label="操作" align="center">
|
||||
<template slot-scope="scope">
|
||||
<el-button size="medium" type="text" style="color:#5886f6" icon="el-icon-edit" @click="editBefore(scope.row,'编辑课程')" >
|
||||
<el-button size="medium" type="text" style="color:#5886f6" icon="el-icon-edit" @click="editBefore(scope.row,'编辑课程')"
|
||||
v-permission="{key: 'learningMaterial_edit', menuPath: '/project/examSystem2/learningMaterial'}">
|
||||
<span style="color:black">编辑</span>
|
||||
</el-button>
|
||||
<el-button size="medium" type="text" style="color:#ec4b52" class="delete-btn" icon="el-icon-delete" @click.native.stop="remove(scope.row) ">
|
||||
<el-button size="medium" type="text" style="color:#ec4b52" class="delete-btn" icon="el-icon-delete" @click.native.stop="remove(scope.row)"
|
||||
v-permission="{key: 'learningMaterial_delete', menuPath: '/project/examSystem2/learningMaterial'}">
|
||||
<span style="color:black">删除</span>
|
||||
</el-button>
|
||||
</template>
|
||||
|
||||
@ -19,8 +19,10 @@
|
||||
</el-form-item>
|
||||
<el-form-item>天</el-form-item>
|
||||
<el-form-item>
|
||||
<el-button type="primary" size="medium" @click="submitNoticeForm('noticeForm')">保 存</el-button>
|
||||
<el-button type="primary" size="medium" plain @click="editNotice">编 辑</el-button>
|
||||
<el-button type="primary" size="medium" @click="submitNoticeForm('noticeForm')"
|
||||
v-permission="{key: 'noticeManagement_save', menuPath: '/project/examSystem2/noticeManagement'}">保 存</el-button>
|
||||
<el-button type="primary" size="medium" plain @click="editNotice"
|
||||
v-permission="{key: 'noticeManagement_save', menuPath: '/project/examSystem2/noticeManagement'}">编 辑</el-button>
|
||||
</el-form-item>
|
||||
|
||||
</el-form>
|
||||
@ -34,7 +36,8 @@
|
||||
<el-table-column prop="createTime" align="center" label="时间" width="180"></el-table-column>
|
||||
<el-table-column width="240" label="操作" align="center">
|
||||
<template slot-scope="scope">
|
||||
<el-button size="mini" type="text" style="color:#ec4b52" class="delete-btn" icon="el-icon-delete" @click.native.stop="remove(scope.row) ">
|
||||
<el-button size="mini" type="text" style="color:#ec4b52" class="delete-btn" icon="el-icon-delete" @click.native.stop="remove(scope.row) "
|
||||
v-permission="{key: 'noticeManagement_delete', menuPath: '/project/examSystem2/noticeManagement'}">
|
||||
<span style="color:black">删除</span>
|
||||
</el-button>
|
||||
</template>
|
||||
|
||||
@ -5,7 +5,8 @@
|
||||
<div class="searchBox whiteBlock">
|
||||
<el-form :inline="true" size="medium" class="demo-form-inline">
|
||||
<el-form-item>
|
||||
<el-button class="expintBtn" size="medium" type="primary" @click="addRuleForm">
|
||||
<el-button class="expintBtn" size="medium" type="primary" @click="addRuleForm"
|
||||
v-permission="{key: 'pointManagement_add', menuPath: '/project/examSystem2/pointManagement'}">
|
||||
新增规则
|
||||
</el-button>
|
||||
</el-form-item>
|
||||
@ -56,17 +57,19 @@
|
||||
<el-table-column label="操作" align="center">
|
||||
<template slot-scope="scope">
|
||||
|
||||
<el-button class="expintBtn" size="mini" type="primary" @click="edit(scope.$index,scope.row)" v-if="!scope.row.isEdit">
|
||||
<el-button class="expintBtn" size="mini" type="primary" @click="edit(scope.$index,scope.row)" v-if="!scope.row.isEdit"
|
||||
v-permission="{key: 'pointManagement_edit', menuPath: '/project/examSystem2/pointManagement'}">
|
||||
编辑
|
||||
</el-button>
|
||||
<el-button class="expintBtn" size="mini" plain type="danger" @click="delData(scope.$index,scope.row)" v-if="!scope.row.isEdit">
|
||||
<el-button class="expintBtn" size="mini" plain type="danger" @click="delData(scope.$index,scope.row)" v-if="!scope.row.isEdit"
|
||||
v-permission="{key: 'pointManagement_delete', menuPath: '/project/examSystem2/pointManagement'}">
|
||||
删除
|
||||
</el-button>
|
||||
<el-button class="expintBtn" size="mini" type="primary" plain @click="editSuccess(scope.$index, scope.row)" v-if="scope.row.isEdit">
|
||||
保存
|
||||
</el-button>
|
||||
<el-button class="expintBtn" size="mini" type="danger" @click="deleteItem(scope.$index, ruleList)" v-if="scope.row.dictData === ''">
|
||||
删除
|
||||
<el-button class="expintBtn" size="mini" type="danger" @click="scope.row.isEdit = false" v-if="scope.row.isEdit">
|
||||
取消
|
||||
</el-button>
|
||||
</template>
|
||||
</el-table-column>
|
||||
|
||||
@ -58,6 +58,7 @@
|
||||
</el-form-item>
|
||||
</el-form>
|
||||
<el-button type="primary" size="medium" @click="addQuestionBtn"
|
||||
v-permission="{key: 'questionManagement_add', menuPath: '/project/examSystem2/questionManagement'}"
|
||||
>添加试题</el-button
|
||||
>
|
||||
</div>
|
||||
@ -111,7 +112,8 @@
|
||||
>
|
||||
<template slot-scope="scope">
|
||||
<div class="operation-style">
|
||||
<div class="operationText" @click="editQuestionBtn(scope.row)">
|
||||
<div class="operationText" @click="editQuestionBtn(scope.row)"
|
||||
v-permission="{key: 'questionManagement_edit', menuPath: '/project/examSystem2/questionManagement'}">
|
||||
<img
|
||||
src="@/assets/images/tableIcon/icon-edit.png"
|
||||
width="15px"
|
||||
@ -127,7 +129,8 @@
|
||||
/>
|
||||
<span>预览</span>
|
||||
</div>
|
||||
<div class="operationText" @click="moveDialogQuestionBank(scope.row)">
|
||||
<div class="operationText" @click="moveDialogQuestionBank(scope.row)"
|
||||
v-permission="{key: 'questionManagement_move', menuPath: '/project/examSystem2/questionManagement'}">
|
||||
<img
|
||||
src="@/assets/images/tableIcon/move.png"
|
||||
width="15px"
|
||||
@ -135,7 +138,8 @@
|
||||
/>
|
||||
<span>移动</span>
|
||||
</div>
|
||||
<div class="operationText" @click="deleteQuestionBank(scope.row)">
|
||||
<div class="operationText" @click="deleteQuestionBank(scope.row)"
|
||||
v-permission="{key: 'questionManagement_delete', menuPath: '/project/examSystem2/questionManagement'}">
|
||||
<img
|
||||
src="@/assets/images/tableIcon/icon-delete.png"
|
||||
width="15px"
|
||||
|
||||
@ -1,7 +1,8 @@
|
||||
<template>
|
||||
<div class="fullHeight">
|
||||
<div class="searchBox whiteBlock">
|
||||
<el-button type="primary" size="medium" @click="add">新增</el-button>
|
||||
<el-button type="primary" size="medium" @click="add"
|
||||
v-permission="{key: 'safetyManual_add', menuPath: '/project/examSystem2/safetyManual'}">新增</el-button>
|
||||
</div>
|
||||
<div class="table_wrap whiteBlock">
|
||||
<el-table class="tables" :data="tableData">
|
||||
@ -17,19 +18,23 @@
|
||||
<el-table-column align="center" label="操作" width="280">
|
||||
<template slot-scope="scope">
|
||||
<div class="tableBtns">
|
||||
<div @click="edit(scope.row)" class="operationText">
|
||||
<div @click="edit(scope.row)" class="operationText"
|
||||
v-permission="{key: 'safetyManual_edit', menuPath: '/project/examSystem2/safetyManual'}">
|
||||
<img src="@/assets/images/icon-edit.png" width="15px" height="15px" />
|
||||
<span style="white-space: nowrap;">编辑</span>
|
||||
</div>
|
||||
<div v-if="scope.row.isEnable === 1" @click="drop(0,scope.row)" class="operationText">
|
||||
<div v-if="scope.row.isEnable === 1" @click="drop(0,scope.row)" class="operationText"
|
||||
v-permission="{key: 'safetyManual_disabled', menuPath: '/project/examSystem2/safetyManual'}">
|
||||
<img src="@/assets/images/icon-drop.png" width="15px" height="15px" />
|
||||
<span style="white-space: nowrap;">下架</span>
|
||||
</div>
|
||||
<div v-if="scope.row.isEnable === 0" @click="drop(1,scope.row)" class="operationText">
|
||||
<div v-if="scope.row.isEnable === 0" @click="drop(1,scope.row)" class="operationText"
|
||||
v-permission="{key: 'safetyManual_enable', menuPath: '/project/examSystem2/safetyManual'}">
|
||||
<img src="@/assets/images/icon-raise.png" width="15px" height="15px" />
|
||||
<span style="white-space: nowrap;">上架</span>
|
||||
</div>
|
||||
<div @click="remove(scope.row)" class="operationText">
|
||||
<div @click="remove(scope.row)" class="operationText"
|
||||
v-permission="{key: 'safetyManual_delete', menuPath: '/project/examSystem2/safetyManual'}">
|
||||
<img src="@/assets/images/icon-delete.png" width="15px" height="15px" />
|
||||
<span style="white-space: nowrap;">删除</span>
|
||||
</div>
|
||||
|
||||
@ -5,7 +5,9 @@
|
||||
<div class="searchBox whiteBlock">
|
||||
<el-form :inline="true" size="medium" class="demo-form-inline">
|
||||
<el-form-item>
|
||||
<el-button class="expintBtn" size="medium" type="primary" @click="addBefore(1, null)">新增</el-button>
|
||||
<el-button class="expintBtn" size="medium" type="primary" @click="addBefore(1, null)"
|
||||
v-permission="{key: 'subjectManagement_add', menuPath: '/project/examSystem2/subjectManagement'}"
|
||||
>新增</el-button>
|
||||
</el-form-item>
|
||||
</el-form>
|
||||
</div>
|
||||
@ -16,10 +18,14 @@
|
||||
<el-table-column></el-table-column>
|
||||
<el-table-column width="240" label="操作" align="center">
|
||||
<template slot-scope="scope">
|
||||
<el-button size="mini" type="text" style="color:#5886f6" icon="el-icon-edit" @click="editBefore(scope.row)" >
|
||||
<el-button size="mini" type="text" style="color:#5886f6" icon="el-icon-edit"
|
||||
v-permission="{key: 'subjectManagement_edit', menuPath: '/project/examSystem2/subjectManagement'}"
|
||||
@click="editBefore(scope.row)">
|
||||
<span style="color:black">编辑</span>
|
||||
</el-button>
|
||||
<el-button size="mini" type="text" style="color:#ec4b52" class="delete-btn" icon="el-icon-delete" @click.native.stop="deleteBefore(scope.row) ">
|
||||
<el-button size="mini" type="text" style="color:#ec4b52" class="delete-btn" icon="el-icon-delete"
|
||||
v-permission="{key: 'subjectManagement_delete', menuPath: '/project/examSystem2/subjectManagement'}"
|
||||
@click.native.stop="deleteBefore(scope.row)">
|
||||
<span style="color:black">删除</span>
|
||||
</el-button>
|
||||
<!-- <el-button size="mini" type="text" icon="el-icon-edit" @click="editBefore(scope.row)" >
|
||||
|
||||
@ -19,7 +19,8 @@
|
||||
<el-button class="expintBtn" size="medium" type="primary" @click="getRecordList">
|
||||
查询
|
||||
</el-button>
|
||||
<el-button class="expintBtn" size="medium" type="primary" @click="addExam">
|
||||
<el-button class="expintBtn" size="medium" type="primary" @click="addExam"
|
||||
v-permission="{key: 'trainPlan_add', menuPath: '/project/examSystem2/trainPlan'}">
|
||||
新增培训计划
|
||||
</el-button>
|
||||
</el-form-item>
|
||||
@ -54,10 +55,14 @@
|
||||
<el-table-column width="220" label="操作" align="center">
|
||||
<template slot-scope="scope">
|
||||
<div style="display:flex;justify-content:center">
|
||||
<el-button size="medium" type="text" class="delete-btn" icon="el-icon-tickets" @click.native.stop="goTrainRecord(scope.row)">
|
||||
<el-button size="medium" type="text" class="delete-btn" icon="el-icon-tickets"
|
||||
v-permission="{key: 'trainPlan_detail', menuPath: '/project/examSystem2/trainPlan'}"
|
||||
@click.native.stop="goTrainRecord(scope.row)">
|
||||
<span style="color:black">培训情况</span>
|
||||
</el-button>
|
||||
<el-button size="medium" type="text" style="color:#ec4b52" class="delete-btn" icon="el-icon-delete" @click.native.stop="onDeleteInfo(scope.row) ">
|
||||
<el-button size="medium" type="text" style="color:#ec4b52" class="delete-btn" icon="el-icon-delete"
|
||||
v-permission="{key: 'trainPlan_delete', menuPath: '/project/examSystem2/trainPlan'}"
|
||||
@click.native.stop="onDeleteInfo(scope.row) ">
|
||||
<span style="color:black">删除</span>
|
||||
</el-button>
|
||||
</div>
|
||||
|
||||
@ -19,7 +19,10 @@
|
||||
<el-button type="warning" size="medium" plain @click="refresh"
|
||||
>刷新</el-button
|
||||
>
|
||||
<el-button type="primary" size="medium" @click="toAdd">新增</el-button>
|
||||
<el-button type="primary" size="medium" @click="toAdd"
|
||||
v-permission="{key: 'inspection_add', menuPath: '/project/inspecPoint/inspection'}">
|
||||
新增
|
||||
</el-button>
|
||||
</el-form>
|
||||
</div>
|
||||
<div class="table_wrap whiteBlock">
|
||||
@ -119,6 +122,7 @@
|
||||
target="_blank"
|
||||
:href="$store.state.FILEURL + scope.row.qrCode"
|
||||
download
|
||||
v-permission="{key: 'inspection_download', menuPath: '/project/inspecPoint/inspection'}"
|
||||
>下载巡检二维码</a
|
||||
>
|
||||
</div>
|
||||
@ -130,7 +134,8 @@
|
||||
></i>
|
||||
<span>详情</span>
|
||||
</div>
|
||||
<div class="operationText" @click="editBtn(scope.row)">
|
||||
<div class="operationText" @click="editBtn(scope.row)"
|
||||
v-permission="{key: 'inspection_edit', menuPath: '/project/inspecPoint/inspection'}">
|
||||
<img
|
||||
src="@/assets/images/icon-edit.png"
|
||||
width="15px"
|
||||
@ -138,7 +143,8 @@
|
||||
/>
|
||||
<span>编辑</span>
|
||||
</div>
|
||||
<div @click="toDelete(scope.row)" class="operationText">
|
||||
<div @click="toDelete(scope.row)" class="operationText"
|
||||
v-permission="{key: 'inspection_delete', menuPath: '/project/inspecPoint/inspection'}">
|
||||
<img
|
||||
src="@/assets/images/icon-delete.png"
|
||||
width="15px"
|
||||
|
||||
@ -110,7 +110,8 @@
|
||||
<span>详情</span>
|
||||
</div>
|
||||
|
||||
<div @click="deleteDev(scope.row)" class="operationText styleDom">
|
||||
<div @click="deleteDev(scope.row)" class="operationText styleDom"
|
||||
v-permission="{key: 'selfInspect_delete', menuPath: '/project/inspecPoint/selfInspect'}">
|
||||
<img
|
||||
src="@/assets/images/icon-delete.png"
|
||||
width="15px"
|
||||
|
||||
@ -19,7 +19,10 @@
|
||||
<el-button type="warning" size="medium" plain @click="refresh"
|
||||
>刷新</el-button
|
||||
>
|
||||
<el-button type="primary" size="medium" @click="toAdd">新增</el-button>
|
||||
<el-button type="primary" size="medium" @click="toAdd"
|
||||
v-permission="{key: 'routeManage_add', menuPath: '/project/inspectRoute/routeManage'}">
|
||||
新增
|
||||
</el-button>
|
||||
</el-form>
|
||||
</div>
|
||||
<div class="table_wrap whiteBlock">
|
||||
@ -88,14 +91,16 @@
|
||||
>
|
||||
<template slot-scope="scope">
|
||||
<div class="operation-style">
|
||||
<div class="operationText" @click.stop="deilBtn(scope.row)">
|
||||
<div class="operationText" @click.stop="deilBtn(scope.row)"
|
||||
v-permission="{key: 'routeManage_detail', menuPath: '/project/inspectRoute/routeManage'}">
|
||||
<i
|
||||
class="el-icon-tickets"
|
||||
style="color: #8dacfa; font-size: 16px; margin-right: 2px"
|
||||
></i>
|
||||
<span>任务详情</span>
|
||||
</div>
|
||||
<div @click.stop="toDelete(scope.row)" class="operationText">
|
||||
<div @click.stop="toDelete(scope.row)" class="operationText"
|
||||
v-permission="{key: 'routeManage_delete', menuPath: '/project/inspectRoute/routeManage'}">
|
||||
<img
|
||||
src="@/assets/images/icon-delete.png"
|
||||
width="15px"
|
||||
|
||||
@ -3,6 +3,7 @@
|
||||
<vue-scroll style="height: 100%">
|
||||
<div class="checkPoint">
|
||||
<el-button type="primary" size="medium" @click="newRootNode"
|
||||
v-permission="{key: 'business_add', menuPath: '/project/quality/business'}"
|
||||
>新增区域</el-button
|
||||
>
|
||||
<el-table
|
||||
@ -54,14 +55,17 @@
|
||||
>
|
||||
<template slot-scope="scope">
|
||||
<div class="flex2 edit">
|
||||
<img src="@/assets/images/icon-edit.png" />
|
||||
<el-button type="text" @click="editBtn(scope.row)">{{
|
||||
<!-- <img src="@/assets/images/icon-edit.png" /> -->
|
||||
<el-button type="text" @click="editBtn(scope.row)"
|
||||
v-permission="{key: 'business_edit', menuPath: '/project/quality/business'}">{{
|
||||
$t("message.quality.compile")
|
||||
}}</el-button>
|
||||
<el-button type="text" @click="newJuniorBtn(scope.row)">{{
|
||||
<el-button type="text" @click="newJuniorBtn(scope.row)"
|
||||
v-permission="{key: 'business_add', menuPath: '/project/quality/business'}">{{
|
||||
$t("message.quality.newJunior")
|
||||
}}</el-button>
|
||||
<el-button type="text" @click="deleteBtn(scope.row)">{{
|
||||
<el-button type="text" @click="deleteBtn(scope.row)"
|
||||
v-permission="{key: 'business_delete', menuPath: '/project/quality/business'}">{{
|
||||
$t("message.quality.delete")
|
||||
}}</el-button>
|
||||
</div>
|
||||
|
||||
@ -49,6 +49,7 @@
|
||||
type="text"
|
||||
size="mini"
|
||||
@click.stop="() => singleEditState(node, data, 0)"
|
||||
v-permission="{key: 'criterion_open', menuPath: '/project/quality/criterion'}"
|
||||
>
|
||||
{{ $t('message.quality.click')
|
||||
}}{{ $t('message.quality.startUsing') }}
|
||||
@ -58,6 +59,7 @@
|
||||
type="text"
|
||||
size="mini"
|
||||
@click.stop="() => singleEditState(node, data, 1)"
|
||||
v-permission="{key: 'criterion_stop', menuPath: '/project/quality/criterion'}"
|
||||
>
|
||||
{{ $t('message.quality.click')
|
||||
}}{{ $t('message.quality.forbidden') }}
|
||||
|
||||
@ -204,8 +204,14 @@
|
||||
<el-button type="warning" plain @click="refreshBtn">{{
|
||||
$t("message.quality.flush")
|
||||
}}</el-button>
|
||||
<el-button type="primary" @click="addBtn">新增</el-button>
|
||||
<el-button type="primary" @click="exportData">导出</el-button>
|
||||
<el-button type="primary" @click="addBtn"
|
||||
v-permission="{key: 'inspectionLedger_add', menuPath: '/project/quality/inspectionLedger'}">
|
||||
新增
|
||||
</el-button>
|
||||
<el-button type="primary" @click="exportData"
|
||||
v-permission="{key: 'inspectionLedger_export', menuPath: '/project/quality/inspectionLedger'}">
|
||||
导出
|
||||
</el-button>
|
||||
</el-form-item>
|
||||
</el-form>
|
||||
<el-table :data="tableData" class="tables" height="570" style="width: 100%">
|
||||
@ -2102,6 +2108,7 @@
|
||||
size="medium"
|
||||
type="danger"
|
||||
@click.stop="rectifAdd(detailData.id, detailData.status, 3)"
|
||||
v-permission="{key: 'inspectionLedger_back', menuPath: '/project/quality/inspectionLedger'}"
|
||||
>驳回</el-button
|
||||
>
|
||||
<el-button
|
||||
@ -2116,6 +2123,7 @@
|
||||
size="medium"
|
||||
type="primary"
|
||||
@click="rectifAdd(detailData.id, detailData.status, 2)"
|
||||
v-permission="{key: 'inspectionLedger_pass', menuPath: '/project/quality/inspectionLedger'}"
|
||||
>通过</el-button
|
||||
>
|
||||
<el-button
|
||||
|
||||
@ -28,6 +28,7 @@
|
||||
dialogVisible = true
|
||||
isAdd = true
|
||||
"
|
||||
v-permission="{key: 'projectSelfinspection_add', menuPath: '/project/qualityManage/projectSelfinspection'}"
|
||||
>{{ $t('message.safeMangeCheck.add') }}</el-button
|
||||
>
|
||||
</el-form>
|
||||
@ -153,7 +154,8 @@
|
||||
<template slot-scope="scope">
|
||||
<div class="tableBtns" style="margin-left: 25%;">
|
||||
<!-- 详情 -->
|
||||
<div @click="detailsPoint(scope.row)" class="operationText">
|
||||
<div @click="detailsPoint(scope.row)" class="operationText"
|
||||
v-permission="{key: 'projectSelfinspection_detail', menuPath: '/project/qualityManage/projectSelfinspection'}">
|
||||
<i
|
||||
class="el-icon-tickets"
|
||||
style="color: #8dacfa; font-size: 16px; margin-right: 2px"
|
||||
@ -164,6 +166,7 @@
|
||||
<div
|
||||
@click="deleteTaskFn(scope.row)"
|
||||
class="operationText redText last"
|
||||
v-permission="{key: 'projectSelfinspection_delete', menuPath: '/project/qualityManage/projectSelfinspection'}"
|
||||
>
|
||||
<i
|
||||
class="el-icon-delete"
|
||||
|
||||
@ -16,7 +16,9 @@
|
||||
</el-form-item> -->
|
||||
<el-form-item>
|
||||
<el-button type="warning" plain @click="refresh">刷新</el-button>
|
||||
<el-button type="primary" size="medium" @click="add">新增</el-button>
|
||||
<el-button type="primary" size="medium" @click="add"
|
||||
v-permission="{key: 'deviceCentral_add', menuPath: '/project/smartSafeHat/deviceCentral'}"
|
||||
>新增</el-button>
|
||||
<el-button size="medium" type="primary" @click="downloadFn()"> 下载模板</el-button>
|
||||
<el-upload
|
||||
style="display: inline-block; margin: 0 15px"
|
||||
@ -43,11 +45,13 @@
|
||||
<el-table-column align="center" label="操作" width="280">
|
||||
<template slot-scope="scope">
|
||||
<div class="tableBtns">
|
||||
<div @click="edit(scope.row)" class="operationText">
|
||||
<div @click="edit(scope.row)" class="operationText"
|
||||
v-permission="{key: 'deviceCentral_edit', menuPath: '/project/smartSafeHat/deviceCentral'}">
|
||||
<img src="@/assets/images/icon-edit.png" width="15px" height="15px" />
|
||||
<span style="white-space: nowrap;">编辑</span>
|
||||
</div>
|
||||
<div @click="deleteDev(scope.row)" class="operationText">
|
||||
<div @click="deleteDev(scope.row)" class="operationText"
|
||||
v-permission="{key: 'deviceCentral_delete', menuPath: '/project/smartSafeHat/deviceCentral'}">
|
||||
<img src="@/assets/images/icon-delete.png" width="15px" height="15px" />
|
||||
<span style="white-space: nowrap;">删除</span>
|
||||
</div>
|
||||
|
||||
@ -103,7 +103,9 @@
|
||||
<i class="el-icon-edit"></i>
|
||||
</el-button> -->
|
||||
<!-- v-permission="{key: 'wdgc_delete', menuPath: '/project/dangerousBigProject/parameter'}" -->
|
||||
<el-button v-if="$store.state.userInfo.accountType != 6 || ($store.state.userInfo.userId == scope.row.assignmentPersonInCharge)" @click.stop="deleteRow(scope.$index, tableData)" type="text" size="small">
|
||||
<el-button v-if="$store.state.userInfo.accountType != 6 || ($store.state.userInfo.userId == scope.row.assignmentPersonInCharge)"
|
||||
v-permission="{key: 'blindPlugWork_delete', menuPath: '/project/specialWork/blindPlugWork'}"
|
||||
@click.stop="deleteRow(scope.$index, tableData)" type="text" size="small">
|
||||
<i class="el-icon-delete"></i>
|
||||
删除
|
||||
</el-button>
|
||||
|
||||
@ -99,7 +99,9 @@
|
||||
<i class="el-icon-edit"></i>
|
||||
</el-button> -->
|
||||
<!-- v-permission="{key: 'wdgc_delete', menuPath: '/project/dangerousBigProject/parameter'}" -->
|
||||
<el-button v-if="$store.state.userInfo.accountType != 6 || ($store.state.userInfo.userId == scope.row.assignmentPersonInCharge)" @click.stop="deleteRow(scope.$index, tableData)" type="text" size="small">
|
||||
<el-button v-if="$store.state.userInfo.accountType != 6 || ($store.state.userInfo.userId == scope.row.assignmentPersonInCharge)"
|
||||
v-permission="{key: 'confinedSpaceWork_delete', menuPath: '/project/specialWork/confinedSpaceWork'}"
|
||||
@click.stop="deleteRow(scope.$index, tableData)" type="text" size="small">
|
||||
<i class="el-icon-delete"></i>
|
||||
删除
|
||||
</el-button>
|
||||
|
||||
@ -102,6 +102,7 @@
|
||||
<!-- v-permission="{key: 'wdgc_delete', menuPath: '/project/dangerousBigProject/parameter'}" -->
|
||||
<el-button
|
||||
v-if="$store.state.userInfo.accountType != 6 || ($store.state.userInfo.userId == scope.row.assignmentPersonInCharge)"
|
||||
v-permission="{key: 'disconnectionWork_delete', menuPath: '/project/specialWork/disconnectionWork'}"
|
||||
@click.stop="deleteRow(scope.$index, tableData)" type="text" size="small">
|
||||
<i class="el-icon-delete"></i>
|
||||
删除
|
||||
|
||||
@ -109,7 +109,9 @@
|
||||
<!-- v-permission="{key: 'wdgc_delete', menuPath: '/project/dangerousBigProject/parameter'}" -->
|
||||
<!-- {{$store.state.userInfo.accountType}} -->
|
||||
<!-- {{($store.state.userInfo.userId == scope.row.assignmentPersonInCharge)}} -->
|
||||
<el-button v-if="$store.state.userInfo.accountType != 6 || ($store.state.userInfo.userId == scope.row.assignmentPersonInCharge)" @click.stop="deleteRow(scope.$index, tableData)" type="text" size="small">
|
||||
<el-button v-if="$store.state.userInfo.accountType != 6 || ($store.state.userInfo.userId == scope.row.assignmentPersonInCharge)"
|
||||
v-permission="{key: 'fireWork_delete', menuPath: '/project/specialWork/fireWork'}"
|
||||
@click.stop="deleteRow(scope.$index, tableData)" type="text" size="small">
|
||||
<i class="el-icon-delete"></i>
|
||||
删除
|
||||
</el-button>
|
||||
|
||||
@ -101,7 +101,9 @@
|
||||
<i class="el-icon-edit"></i>
|
||||
</el-button> -->
|
||||
<!-- v-permission="{key: 'wdgc_delete', menuPath: '/project/dangerousBigProject/parameter'}" -->
|
||||
<el-button v-if="$store.state.userInfo.accountType != 6 || ($store.state.userInfo.userId == scope.row.assignmentPersonInCharge)" @click.stop="deleteRow(scope.$index, tableData)" type="text" size="small">
|
||||
<el-button v-if="$store.state.userInfo.accountType != 6 || ($store.state.userInfo.userId == scope.row.assignmentPersonInCharge)"
|
||||
v-permission="{key: 'riggingOutWork_delete', menuPath: '/project/specialWork/riggingOutWork'}"
|
||||
@click.stop="deleteRow(scope.$index, tableData)" type="text" size="small">
|
||||
<i class="el-icon-delete"></i>
|
||||
删除
|
||||
</el-button>
|
||||
|
||||
@ -97,7 +97,9 @@
|
||||
<i class="el-icon-edit"></i>
|
||||
</el-button> -->
|
||||
<!-- v-permission="{key: 'wdgc_delete', menuPath: '/project/dangerousBigProject/parameter'}" -->
|
||||
<el-button v-if="$store.state.userInfo.accountType != 6 || ($store.state.userInfo.userId == scope.row.assignmentPersonInCharge)" @click.stop="deleteRow(scope.$index, tableData)" type="text" size="small">
|
||||
<el-button v-if="$store.state.userInfo.accountType != 6 || ($store.state.userInfo.userId == scope.row.assignmentPersonInCharge)"
|
||||
v-permission="{key: 'startBuildingWork_delete', menuPath: '/project/specialWork/startBuildingWork'}"
|
||||
@click.stop="deleteRow(scope.$index, tableData)" type="text" size="small">
|
||||
<i class="el-icon-delete"></i>
|
||||
删除
|
||||
</el-button>
|
||||
|
||||
@ -103,7 +103,9 @@
|
||||
<i class="el-icon-edit"></i>
|
||||
</el-button> -->
|
||||
<!-- v-permission="{key: 'wdgc_delete', menuPath: '/project/dangerousBigProject/parameter'}" -->
|
||||
<el-button v-if="$store.state.userInfo.accountType != 6 || ($store.state.userInfo.userId == scope.row.assignmentPersonInCharge)" @click.stop="deleteRow(scope.$index, tableData)" type="text" size="small">
|
||||
<el-button v-if="$store.state.userInfo.accountType != 6 || ($store.state.userInfo.userId == scope.row.assignmentPersonInCharge)"
|
||||
v-permission="{key: 'temporaryPowerWork_delete', menuPath: '/project/specialWork/temporaryPowerWork'}"
|
||||
@click.stop="deleteRow(scope.$index, tableData)" type="text" size="small">
|
||||
<i class="el-icon-delete"></i>
|
||||
删除
|
||||
</el-button>
|
||||
|
||||
@ -99,7 +99,9 @@
|
||||
<i class="el-icon-edit"></i>
|
||||
</el-button> -->
|
||||
<!-- v-permission="{key: 'wdgc_delete', menuPath: '/project/dangerousBigProject/parameter'}" -->
|
||||
<el-button v-if="$store.state.userInfo.accountType != 6 || ($store.state.userInfo.userId == scope.row.assignmentPersonInCharge)" @click.stop="deleteRow(scope.$index, tableData)" type="text" size="small">
|
||||
<el-button v-if="$store.state.userInfo.accountType != 6 || ($store.state.userInfo.userId == scope.row.assignmentPersonInCharge)"
|
||||
v-permission="{key: 'towerOverWork_delete', menuPath: '/project/specialWork/towerOverWork'}"
|
||||
@click.stop="deleteRow(scope.$index, tableData)" type="text" size="small">
|
||||
<i class="el-icon-delete"></i>
|
||||
删除
|
||||
</el-button>
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user