Browse Source

fix:[资源库管理][供试品管理]权限整理

master
HanLong 1 day ago
parent
commit
fa0388f05e
4 changed files with 147 additions and 144 deletions
  1. +98
    -101
      src/lang/en/business/resource/gsp.js
  2. +15
    -9
      src/views/business/resource/gsp/comps/ffjlList.vue
  3. +22
    -21
      src/views/business/resource/gsp/comps/gspList.vue
  4. +12
    -13
      src/views/business/resource/gsp/comps/rkjlList.vue

+ 98
- 101
src/lang/en/business/resource/gsp.js View File

@ -1,117 +1,114 @@
export default { export default {
gspgl: '供试品管理',
gsprkjl: '供试品入库记录',
ffhsjl: '发放回收记录',
gspxq: '供试品详情',
gxwzk: '更新物资库',
mc: '名称',
bh: '编号',
ph: '批号',
gg: '规格',
jyzt: '借阅状态',
zjzt: '制剂状态',
jlzt: '记录状态',
sxrq: '失效日期',
yxq: '有效期',
jsrq: '接收日期',
zysx: '注意事项',
nd: '浓度',
nddw: '浓度单位',
kcl: '库存量',
kc: '库存',
kcdw: '库存单位',
zcg: '暂存柜',
cctj: '存储条件',
ccwz: '存储位置',
cksj: '出库时间',
rksj: '入库时间',
ckjz: '出库净重',
rkjz: '入库净重',
syl: '使用量',
lqr1: '领取人1',
lqr2: '领取人2',
kgy1: '库管员1',
kgy2: '库管员2',
gspgl: 'Test',
gsprkjl: 'Test Item Reception Record',
ffhsjl: 'In-and-Out Record',
gspxq: 'Detail',
gxwzk: 'Refresh',
mc: 'Name',
bh: 'ID',
ph: 'Batch Number',
gg: 'Specification',
jyzt: 'Check-out Status',
zjzt: 'Status',
jlzt: 'Status',
sxrq: 'Expiration',
yxq: 'Validity Period',
jsrq: 'Date Received',
zysx: 'Notification',
nd: 'Concentration',
nddw: 'Concentration Unit',
kcl: 'Amount',
kc: 'Amount',
kcdw: 'Amount Unit',
zcg: 'Locker',
cctj: 'Storage Condition',
ccwz: 'Storage Location',
cksj: 'Out of Storage Date',
rksj: 'Into Storage Date',
ckjz: 'Amount out',
rkjz: 'Amount In',
syl: 'Usage Amount',
lqr1: 'Recipient',
lqr2: 'Recipient 2',
kgy1: 'Warehouse Keeper',
kgy2: 'Warehouse Keeper 2',
plff: '批量发放',
plcz: '批量处置',
ysff: '钥匙发放',
plsd: '批量锁定',
plgd: '批量归档',
lock: '锁定',
unlock: '解锁',
detail: '详情',
guidang: '归档',
jiedang: '解档',
jieyue: '借阅',
guihuan: '归还',
fafang: '发放',
ysff: '钥匙发放',
cz: '处置',
czrq: '处置容器',
czyj: '处置药剂',
yuanyin: '原因',
xgkc: '修改库存',
shxgkc: '审核修改库存',
shbj: '审核编辑',
xgqkc: '修改前库存',
xghkc: '修改后库存',
clr: '处理人',
czfs: '处置方式',
fhr: '复核人',
xgbz: '修改备注',
jdr: '监督人',
xgr: '修改人',
czl: '处置量',
ffr: '发放人',
ffr1: '发放人1',
ffr2: '发放人2',
zytj: '转移条件',
md: '目的',
ckmz: '出库毛重',
ckl: '出库量',
ckldw: '出库单位',
ffzytj: '发放转移条件',
ghzytj: '归还转移条件',
ckmz: '出库毛重',
ckmzdw: '出库毛重单位',
ys1lrq: '钥匙1领取人',
ys2lrq: '钥匙2领取人',
sssy: '所属试验',
ssbd: '所属表单',
bdssr: '表单所属人',
syr: '使用人',
plff: 'Batch Distribution',
plcz: 'Batch Disposal',
ysff: 'Key Distribution',
plsd: 'Batch Lock',
plgd: 'Batch Archive',
lock: 'Lock',
unlock: 'Unlock',
detail: 'Detail',
guidang: 'Archived',
jiedang: 'De-archiving',
jieyue: 'Check-out',
guihuan: 'Return',
fafang: 'Distribute',
cz: 'Dispose',
yuanyin: 'Reason',
xgkc: 'Change Inventory',
shxgkc: 'Approve Inventory Change',
shbj: 'Approve Edit',
xgqkc: 'Inventory before Change',
xghkc: 'Inventory After Change',
clr: 'Editor',
czfs: 'Dispose Method',
fhr: 'Reviewer',
xgbz: 'Remark',
jdr: 'Supervisor',
xgr: 'Editor',
czl: 'Amount',
ffr: 'Issuer',
ffr1: 'Issuer',
ffr2: 'Issuer 2',
zytj: 'Transfer Condition',
md: 'Purpose',
ckmz: 'Out Amount',
ckl: 'Out Amount',
ckldw: 'Out Amount Unit',
ffzytj: 'Transfer Condition',
ghzytj: 'Transfer Condition',
ckmz: 'Out Amount',
ckmzdw: 'Out Amount Unit',
ys1lrq: 'Key Recipient',
ys2lrq: 'Key Recipient 2',
sssy: 'From Study',
ssbd: 'In Record',
bdssr: 'By User',
syr: 'User',
lqghr: '领取/归还人', lqghr: '领取/归还人',
ffjsr: '发放/接收人', ffjsr: '发放/接收人',
czlx: '操作类型',
czl: '操作量',
bzyy: '备注/原因',
ccsj: '操作时间',
cksj: '出库时间',
rksj: '入库时间',
jiaqian: '加签',
czlx: 'Action',
czl: 'Amount',
bzyy: 'Comment/Reason',
ccsj: 'Datetime',
cksj: 'Out of Storage Date',
rksj: 'Into Storage Date',
jiaqian: 'Sign',
rkwz: '入库位置',
rktj: '入库条件',
zytj: '转移条件',
rkwz: 'Storage Location',
rktj: 'Storage Condition',
zytj: 'Storage Condition',
rkmz: '入库毛重', rkmz: '入库毛重',
jsl: '减少量', jsl: '减少量',
syl: '使用量',
ghr1Id: '归还人1',
ghr2Id: '归还人2',
jsr1Id: '库管员1',
jsr2Id: '库管员2',
tz: '台账',
syl: 'Usage Amount',
ghr1Id: 'Returner',
ghr2Id: 'Returner 2',
jsr1Id: 'Warehouse Keeper',
jsr2Id: 'Warehouse Keeper 2',
tz: 'Table',
lqsj: '领取时间', lqsj: '领取时间',
jcgj: '稽查轨迹',
jcgj: 'Track Record',
ffbz: '发放备注', ffbz: '发放备注',
ghbz: '归还备注', ghbz: '归还备注',
gdsqr: '归档申请人', gdsqr: '归档申请人',
cjsj: '创建时间',
rkl: '入库量',
cjsj: 'Created On',
rkl: 'Total Amount',
jysj: '借阅时间', jysj: '借阅时间',
mjyxq: '麻精药详情', mjyxq: '麻精药详情',
ffjlxq: '发放回收记录详情', ffjlxq: '发放回收记录详情',
dr: '导入',
dr: 'Import',
gd: '归档', gd: '归档',
} }

+ 15
- 9
src/views/business/resource/gsp/comps/ffjlList.vue View File

@ -64,19 +64,19 @@
<el-col :span="1.5"> <el-col :span="1.5">
<!-- 批量归档 --> <!-- 批量归档 -->
<el-button type="primary" :disabled="multiple" @click="handlePlgd" <el-button type="primary" :disabled="multiple" @click="handlePlgd"
v-hasPermi="['business:resource:mjy:ffjlgd']">{{
v-hasPermi="['business:resource:gsp:ffjlgd']">{{
$t('page.business.resource.mjy.plgd') }}</el-button> $t('page.business.resource.mjy.plgd') }}</el-button>
</el-col> </el-col>
<el-col :span="1.5"> <el-col :span="1.5">
<!-- 批量锁定 --> <!-- 批量锁定 -->
<el-button type="primary" :disabled="multiple" @click="handlePlsd" <el-button type="primary" :disabled="multiple" @click="handlePlsd"
v-hasPermi="['business:resource:mjy:ffjlsd']">{{
v-hasPermi="['business:resource:gsp:ffjlsd']">{{
$t('page.business.resource.mjy.plsd') }}</el-button> $t('page.business.resource.mjy.plsd') }}</el-button>
</el-col> </el-col>
<el-col :span="1.5"> <el-col :span="1.5">
<!-- 导出 --> <!-- 导出 -->
<el-button type="primary" :disabled="multiple" @click="handleDc" <el-button type="primary" :disabled="multiple" @click="handleDc"
v-hasPermi="['business:resource:mjy:ffjldc']">{{
v-hasPermi="['business:resource:gsp:ffjldc']">{{
$t('form.export') }}</el-button> $t('form.export') }}</el-button>
</el-col> </el-col>
</el-row> </el-row>
@ -138,26 +138,32 @@
class-name="small-padding fixed-width" width="250px"> class-name="small-padding fixed-width" width="250px">
<template slot-scope="scope"> <template slot-scope="scope">
<!-- 加签 --> <!-- 加签 -->
<el-button v-if="scope.row.jlzt == 1" type="text" @click="handleJq(scope.row)">{{
<el-button v-if="scope.row.jlzt == 1" type="text" v-hasPermi="['business:resource:gsp:ffjljq']" @click="handleJq(scope.row)">{{
$t('page.business.resource.gsp.jiaqian') }}</el-button> $t('page.business.resource.gsp.jiaqian') }}</el-button>
<!-- 详情 --> <!-- 详情 -->
<el-button v-if="scope.row.jlzt == 1 || scope.row.jlzt == 3 || scope.row.jlzt == 7" type="text" <el-button v-if="scope.row.jlzt == 1 || scope.row.jlzt == 3 || scope.row.jlzt == 7" type="text"
v-hasPermi="['business:resource:gsp:ffjlxq']"
@click="handleXq(scope.row)" >{{ @click="handleXq(scope.row)" >{{
$t('page.business.resource.gsp.detail') }}</el-button> $t('page.business.resource.gsp.detail') }}</el-button>
<!-- 锁定 --> <!-- 锁定 -->
<el-button type="text" v-if="scope.row.jlzt == 1" @click="handleSd(scope.row)">{{
<el-button type="text" v-if="scope.row.jlzt == 1" @click="handleSd(scope.row)"
v-hasPermi="['business:resource:gsp:ffjlsd']">{{
$t('page.business.resource.gsp.lock') }}</el-button> $t('page.business.resource.gsp.lock') }}</el-button>
<!-- 解锁 --> <!-- 解锁 -->
<el-button type="text" v-if="scope.row.jlzt == 3" @click="handleJs(scope.row)">{{
<el-button type="text" v-if="scope.row.jlzt == 3" @click="handleJs(scope.row)"
v-hasPermi="['business:resource:gsp:ffjljs']">{{
$t('page.business.resource.gsp.unlock') }}</el-button> $t('page.business.resource.gsp.unlock') }}</el-button>
<!-- 归档 --> <!-- 归档 -->
<el-button type="text" v-if="scope.row.jlzt == 3" @click="handleGd(scope.row)">{{
<el-button type="text" v-if="scope.row.jlzt == 3" @click="handleGd(scope.row)"
v-hasPermi="['business:resource:gsp:ffjlgd']">{{
$t('page.business.resource.gsp.guidang') }}</el-button> $t('page.business.resource.gsp.guidang') }}</el-button>
<!-- 解档 --> <!-- 解档 -->
<el-button type="text" v-if="scope.row.jlzt == 7" @click="handleJd(scope.row)">{{
<el-button type="text" v-if="scope.row.jlzt == 7" @click="handleJd(scope.row)"
v-hasPermi="['business:resource:gsp:ffjljd']">{{
$t('page.business.resource.gsp.jiedang') }}</el-button> $t('page.business.resource.gsp.jiedang') }}</el-button>
<!-- 借阅 --> <!-- 借阅 -->
<el-button type="text" v-if="scope.row.jlzt == 7 && scope.row.jyzt == 1" @click="handleJy(scope.row)">{{
<el-button type="text" v-if="scope.row.jlzt == 7 && scope.row.jyzt == 1" @click="handleJy(scope.row)"
v-hasPermi="['business:resource:gsp:ffjljy']">{{
$t('page.business.resource.gsp.jieyue') }}</el-button> $t('page.business.resource.gsp.jieyue') }}</el-button>
</template> </template>
</el-table-column> </el-table-column>

+ 22
- 21
src/views/business/resource/gsp/comps/gspList.vue View File

@ -55,42 +55,42 @@
<el-row :gutter="10" class="mb8"> <el-row :gutter="10" class="mb8">
<el-col :span="1.5"> <el-col :span="1.5">
<!-- 更新物资库 --> <!-- 更新物资库 -->
<el-button type="primary" @click="handlePlff">{{
<el-button type="primary" @click="handlePlff" v-hasPermi="['business:resource:gsp:gxwzk']">{{
$t('page.business.resource.gsp.gxwzk') }}</el-button> $t('page.business.resource.gsp.gxwzk') }}</el-button>
</el-col> </el-col>
<el-col :span="1.5"> <el-col :span="1.5">
<!-- 新增 --> <!-- 新增 -->
<el-button type="primary" @click="handleXz">{{
<el-button type="primary" @click="handleXz" v-hasPermi="['business:resource:gsp:xz']">{{
$t('form.add') }}</el-button> $t('form.add') }}</el-button>
</el-col> </el-col>
<el-col :span="1.5"> <el-col :span="1.5">
<!-- 批量发放 --> <!-- 批量发放 -->
<el-button type="primary" :disabled="multiple" @click="handlePlff">{{
<el-button type="primary" :disabled="multiple" @click="handlePlff" v-hasPermi="['business:resource:gsp:ff']">{{
$t('page.business.resource.gsp.plff') }}</el-button> $t('page.business.resource.gsp.plff') }}</el-button>
</el-col> </el-col>
<el-col :span="1.5"> <el-col :span="1.5">
<!-- 批量处置 --> <!-- 批量处置 -->
<el-button type="primary" :disabled="multiple" @click="handlePlcz">{{
<el-button type="primary" :disabled="multiple" @click="handlePlcz" v-hasPermi="['business:resource:gsp:cz']">{{
$t('page.business.resource.gsp.plcz') }}</el-button> $t('page.business.resource.gsp.plcz') }}</el-button>
</el-col> </el-col>
<el-col :span="1.5"> <el-col :span="1.5">
<!-- 钥匙发放 --> <!-- 钥匙发放 -->
<el-button type="primary" :disabled="multiple" @click="handleYsff">{{
<el-button type="primary" :disabled="multiple" @click="handleYsff" v-hasPermi="['business:resource:gsp:ff']">{{
$t('page.business.resource.gsp.ysff') }}</el-button> $t('page.business.resource.gsp.ysff') }}</el-button>
</el-col> </el-col>
<el-col :span="1.5"> <el-col :span="1.5">
<!-- 批量锁定 --> <!-- 批量锁定 -->
<el-button type="primary" :disabled="multiple" @click="handlePlsd">{{
<el-button type="primary" :disabled="multiple" @click="handlePlsd" v-hasPermi="['business:resource:gsp:ysff']">{{
$t('page.business.resource.gsp.plsd') }}</el-button> $t('page.business.resource.gsp.plsd') }}</el-button>
</el-col> </el-col>
<el-col :span="1.5"> <el-col :span="1.5">
<!-- 批量归档 --> <!-- 批量归档 -->
<el-button type="primary" :disabled="multiple" @click="handlePlgd">{{
<el-button type="primary" :disabled="multiple" @click="handlePlgd" v-hasPermi="['business:resource:gsp:gd']">{{
$t('page.business.resource.gsp.plgd') }}</el-button> $t('page.business.resource.gsp.plgd') }}</el-button>
</el-col> </el-col>
<el-col :span="1.5"> <el-col :span="1.5">
<!-- 导出 --> <!-- 导出 -->
<el-button type="primary" @click="handleDc">{{
<el-button type="primary" @click="handleDc" v-hasPermi="['business:resource:gsp:dc']">{{
$t('form.export') }}</el-button> $t('form.export') }}</el-button>
</el-col> </el-col>
</el-row> </el-row>
@ -138,55 +138,56 @@
<template <template
v-if="scope.row.zjzt == 1 || scope.row.zjzt == 3 || scope.row.zjzt == 5 || (scope.row.zjzt == 9 && scope.row.jyzt == 5)"> v-if="scope.row.zjzt == 1 || scope.row.zjzt == 3 || scope.row.zjzt == 5 || (scope.row.zjzt == 9 && scope.row.jyzt == 5)">
<!-- 详情 --> <!-- 详情 -->
<el-button type="text" @click="handleXq(scope.row)">{{
<el-button type="text" @click="handleXq(scope.row)" v-hasPermi="['business:resource:gsp:xq']">{{
$t('page.business.resource.gsp.detail') }}</el-button> $t('page.business.resource.gsp.detail') }}</el-button>
</template> </template>
<template v-if="scope.row.zjzt == 1"> <template v-if="scope.row.zjzt == 1">
<!-- 发放 --> <!-- 发放 -->
<el-button type="text" @click="handleFf(scope.row)">{{
<el-button type="text" @click="handleFf(scope.row)" v-hasPermi="['business:resource:gsp:ff']">{{
$t('page.business.resource.gsp.fafang') }}</el-button> $t('page.business.resource.gsp.fafang') }}</el-button>
<!-- 处置 --> <!-- 处置 -->
<el-button type="text" @click="handleCz(scope.row)">{{
<el-button type="text" @click="handleCz(scope.row)" v-hasPermi="['business:resource:gsp:cz']">{{
$t('page.business.resource.gsp.cz') }}</el-button> $t('page.business.resource.gsp.cz') }}</el-button>
<!-- 编辑 --> <!-- 编辑 -->
<el-button v-if="scope.row.bjzt == 1 && scope.row.zjzt == 1" type="text" @click="handleBj(scope.row)">{{
<el-button v-if="scope.row.bjzt == 1 && scope.row.zjzt == 1" type="text" @click="handleBj(scope.row)"
v-hasPermi="['business:resource:gsp:bj']">{{
$t('form.edit') }}</el-button> $t('form.edit') }}</el-button>
<!-- 修改库存 --> <!-- 修改库存 -->
<el-button v-if="scope.row.kcbjzt == 1" type="text" @click="handleXgkc(scope.row)" >{{
<el-button v-if="scope.row.kcbjzt == 1" type="text" @click="handleXgkc(scope.row)" v-hasPermi="['business:resource:gsp:xgkc']" >{{
$t('page.business.resource.gsp.xgkc') }}</el-button> $t('page.business.resource.gsp.xgkc') }}</el-button>
<!-- 锁定 --> <!-- 锁定 -->
<el-button type="text" @click="handleSd(scope.row)">{{
<el-button type="text" @click="handleSd(scope.row)" v-hasPermi="['business:resource:gsp:sd']">{{
$t('page.business.resource.gsp.lock') }}</el-button> $t('page.business.resource.gsp.lock') }}</el-button>
</template> </template>
<template v-if="scope.row.bjzt == 3 && (scope.row.zjzt == 1 || scope.row.zjzt == 3)"> <template v-if="scope.row.bjzt == 3 && (scope.row.zjzt == 1 || scope.row.zjzt == 3)">
<!-- 审核编辑 --> <!-- 审核编辑 -->
<el-button type="text" @click="handleShbj(scope.row)" >{{
<el-button type="text" @click="handleShbj(scope.row)" v-hasPermi="['business:resource:gsp:shbj']" >{{
$t('page.business.resource.gsp.shbj') }}</el-button> $t('page.business.resource.gsp.shbj') }}</el-button>
</template> </template>
<template v-if="scope.row.kcbjzt == 3 && (scope.row.zjzt == 1 || scope.row.zjzt == 3)"> <template v-if="scope.row.kcbjzt == 3 && (scope.row.zjzt == 1 || scope.row.zjzt == 3)">
<!-- 审核修改库存 --> <!-- 审核修改库存 -->
<el-button type="text" @click="handleShxgkc(scope.row)">{{
<el-button type="text" @click="handleShxgkc(scope.row)" v-hasPermi="['business:resource:gsp:xgkc']">{{
$t('page.business.resource.gsp.shxgkc') }}</el-button> $t('page.business.resource.gsp.shxgkc') }}</el-button>
</template> </template>
<template v-if="scope.row.zjzt == 5"> <template v-if="scope.row.zjzt == 5">
<!-- 解锁 --> <!-- 解锁 -->
<el-button type="text" @click="handleJs(scope.row)">{{
<el-button type="text" @click="handleJs(scope.row)" v-hasPermi="['business:resource:gsp:js']">{{
$t('page.business.resource.gsp.unlock') }}</el-button> $t('page.business.resource.gsp.unlock') }}</el-button>
<!-- 归档 --> <!-- 归档 -->
<el-button type="text" @click="handleGd(scope.row)">{{
<el-button type="text" @click="handleGd(scope.row)" v-hasPermi="['business:resource:gsp:gd']">{{
$t('page.business.resource.gsp.guidang') }}</el-button> $t('page.business.resource.gsp.guidang') }}</el-button>
</template> </template>
<template v-if="scope.row.zjzt == 3"> <template v-if="scope.row.zjzt == 3">
<!-- 归还 --> <!-- 归还 -->
<el-button type="text" @click="handleGh(scope.row)" >{{
<el-button type="text" @click="handleGh(scope.row)" v-hasPermi="['business:resource:gsp:gh']">{{
$t('page.business.resource.gsp.guihuan') }}</el-button> $t('page.business.resource.gsp.guihuan') }}</el-button>
</template> </template>
<template v-if="scope.row.zjzt == 9 && scope.row.jyzt == 1"> <template v-if="scope.row.zjzt == 9 && scope.row.jyzt == 1">
<!-- 解档 --> <!-- 解档 -->
<el-button type="text" @click="handleJd(scope.row)" >{{
<el-button type="text" @click="handleJd(scope.row)" v-hasPermi="['business:resource:gsp:jd']">{{
$t('page.business.resource.gsp.jiedang') }}</el-button> $t('page.business.resource.gsp.jiedang') }}</el-button>
<!-- 借阅 --> <!-- 借阅 -->
<el-button type="text" @click="handleJy(scope.row)" >{{
<el-button type="text" @click="handleJy(scope.row)" v-hasPermi="['business:resource:gsp:jy']">{{
$t('page.business.resource.gsp.jieyue') }}</el-button> $t('page.business.resource.gsp.jieyue') }}</el-button>
</template> </template>
</template> </template>

+ 12
- 13
src/views/business/resource/gsp/comps/rkjlList.vue View File

@ -57,28 +57,27 @@
<el-row :gutter="10" class="mb8"> <el-row :gutter="10" class="mb8">
<el-col :span="1.5"> <el-col :span="1.5">
<!-- 新增 --> <!-- 新增 -->
<el-button type="primary" @click="handleXz" >{{
<el-button type="primary" @click="handleXz" v-hasPermi="['business:resource:gsp:rkxz']">{{
$t('form.add') }}</el-button> $t('form.add') }}</el-button>
</el-col> </el-col>
<el-col :span="1.5"> <el-col :span="1.5">
<!-- 导入 --> <!-- 导入 -->
<el-button type="primary" @click="handleXz" >{{
<el-button type="primary" @click="handleXz" v-hasPermi="['business:resource:gsp:rkdr']">{{
$t('page.business.resource.gsp.dr') }}</el-button> $t('page.business.resource.gsp.dr') }}</el-button>
</el-col> </el-col>
<el-col :span="1.5"> <el-col :span="1.5">
<!-- 批量归档 --> <!-- 批量归档 -->
<el-button type="primary" :disabled="multiple" @click="handlePlgd">{{
<el-button type="primary" :disabled="multiple" @click="handlePlgd" v-hasPermi="['business:resource:gsp:rkgd']">{{
$t('page.business.resource.gsp.plgd') }}</el-button> $t('page.business.resource.gsp.plgd') }}</el-button>
</el-col> </el-col>
<el-col :span="1.5"> <el-col :span="1.5">
<!-- 批量锁定 --> <!-- 批量锁定 -->
<el-button type="primary" :disabled="multiple" @click="handlePlsd">{{
<el-button type="primary" :disabled="multiple" @click="handlePlsd" v-hasPermi="['business:resource:gsp:rksd']">{{
$t('page.business.resource.gsp.plsd') }}</el-button> $t('page.business.resource.gsp.plsd') }}</el-button>
</el-col> </el-col>
<el-col :span="1.5"> <el-col :span="1.5">
<!-- 导出 --> <!-- 导出 -->
<el-button type="primary" :disabled="multiple" @click="handleDc"
v-hasPermi="['business:resource:mjy:ffjldc']">{{
<el-button type="primary" :disabled="multiple" @click="handleDc" v-hasPermi="['business:resource:gsp:rkdc']">{{
$t('form.export') }}</el-button> $t('form.export') }}</el-button>
</el-col> </el-col>
</el-row> </el-row>
@ -124,26 +123,26 @@
class-name="small-padding fixed-width" width="250px"> class-name="small-padding fixed-width" width="250px">
<template slot-scope="scope"> <template slot-scope="scope">
<!-- 编辑 --> <!-- 编辑 -->
<el-button v-if="scope.row.jlzt == 1" type="text" @click="handleBj(scope.row)">{{
<el-button v-if="scope.row.jlzt == 1" type="text" @click="handleBj(scope.row)" v-hasPermi="['business:resource:gsp:rkbj']">{{
$t('form.edit') }}</el-button> $t('form.edit') }}</el-button>
<!-- 详情 --> <!-- 详情 -->
<el-button v-if="scope.row.jlzt == 1 || scope.row.jlzt == 3 || scope.row.jlzt == 7" type="text" <el-button v-if="scope.row.jlzt == 1 || scope.row.jlzt == 3 || scope.row.jlzt == 7" type="text"
@click="handleXq(scope.row)" >{{
@click="handleXq(scope.row)" v-hasPermi="['business:resource:gsp:rkxq']">{{
$t('page.business.resource.gsp.detail') }}</el-button> $t('page.business.resource.gsp.detail') }}</el-button>
<!-- 锁定 --> <!-- 锁定 -->
<el-button type="text" v-if="scope.row.jlzt == 1" @click="handleSd(scope.row)">{{
<el-button type="text" v-if="scope.row.jlzt == 1" @click="handleSd(scope.row)" v-hasPermi="['business:resource:gsp:rksd']">{{
$t('page.business.resource.gsp.lock') }}</el-button> $t('page.business.resource.gsp.lock') }}</el-button>
<!-- 解锁 --> <!-- 解锁 -->
<el-button type="text" v-if="scope.row.jlzt == 3" @click="handleJs(scope.row)">{{
<el-button type="text" v-if="scope.row.jlzt == 3" @click="handleJs(scope.row)" v-hasPermi="['business:resource:gsp:rkjs']">{{
$t('page.business.resource.gsp.unlock') }}</el-button> $t('page.business.resource.gsp.unlock') }}</el-button>
<!-- 归档 --> <!-- 归档 -->
<el-button type="text" v-if="scope.row.jlzt == 3" @click="handleGd(scope.row)">{{
<el-button type="text" v-if="scope.row.jlzt == 3" @click="handleGd(scope.row)" v-hasPermi="['business:resource:gsp:rkgd']">{{
$t('page.business.resource.gsp.guidang') }}</el-button> $t('page.business.resource.gsp.guidang') }}</el-button>
<!-- 解档 --> <!-- 解档 -->
<el-button type="text" v-if="scope.row.jlzt == 7" @click="handleJd(scope.row)">{{
<el-button type="text" v-if="scope.row.jlzt == 7" @click="handleJd(scope.row)" v-hasPermi="['business:resource:gsp:rkjd']">{{
$t('page.business.resource.gsp.jiedang') }}</el-button> $t('page.business.resource.gsp.jiedang') }}</el-button>
<!-- 借阅 --> <!-- 借阅 -->
<el-button type="text" v-if="scope.row.jlzt == 7 && scope.row.jyzt == 1" @click="handleJy(scope.row)">{{
<el-button type="text" v-if="scope.row.jlzt == 7 && scope.row.jyzt == 1" @click="handleJy(scope.row)" v-hasPermi="['business:resource:gsp:rkjy']">{{
$t('page.business.resource.gsp.jieyue') }}</el-button> $t('page.business.resource.gsp.jieyue') }}</el-button>
</template> </template>
</el-table-column> </el-table-column>

Loading…
Cancel
Save