|
|
|
@ -99,7 +99,7 @@ |
|
|
|
v-hasPermi="['business:archive:gyzj:tygd']">{{ |
|
|
|
$t('page.business.resource.gyzj.tygd') }}</el-button> |
|
|
|
<!-- 拒绝归档 --> |
|
|
|
<el-button type="text" v-if="scope.row.zjzt==7" @click="handleSign(scope.row, 'page.business.resource.gyzj.jjgd', false, 'jjgd')" |
|
|
|
<el-button type="text" v-if="scope.row.zjzt==7" @click="handleSign(scope.row, 'page.business.resource.gyzj.jjgd', false, 'jjgd',true,true)" |
|
|
|
v-hasPermi="['business:archive:gyzj:jjgd']">{{ |
|
|
|
$t('page.business.resource.gyzj.jjgd') }}</el-button> |
|
|
|
<!-- 同意解档 --> |
|
|
|
@ -107,7 +107,7 @@ |
|
|
|
v-hasPermi="['business:archive:gyzj:tyjd']">{{ |
|
|
|
$t('page.business.resource.gyzj.tyjd') }}</el-button> |
|
|
|
<!-- 拒绝解档 --> |
|
|
|
<el-button type="text" v-if="scope.row.zjzt==11" @click="handleSign(scope.row, 'page.business.resource.gyzj.jjjd', false, 'jjjd')" |
|
|
|
<el-button type="text" v-if="scope.row.zjzt==11" @click="handleSign(scope.row, 'page.business.resource.gyzj.jjjd', false, 'jjjd',true,true)" |
|
|
|
v-hasPermi="['business:archive:gyzj:jjjd']">{{ |
|
|
|
$t('page.business.resource.gyzj.jjjd') }}</el-button> |
|
|
|
<!-- 同意借阅 --> |
|
|
|
@ -115,7 +115,7 @@ |
|
|
|
v-hasPermi="['business:archive:gyzj:tyjy']">{{ |
|
|
|
$t('page.business.resource.gyzj.tyjy') }}</el-button> |
|
|
|
<!-- 拒绝借阅 --> |
|
|
|
<el-button type="text" v-if="scope.row.zjzt==9&&scope.row.jyzt==3" @click="handleSign(scope.row, 'page.business.resource.gyzj.jjjy', true, 'jjjy')" |
|
|
|
<el-button type="text" v-if="scope.row.zjzt==9&&scope.row.jyzt==3" @click="handleSign(scope.row, 'page.business.resource.gyzj.jjjy', true, 'jjjy',true,true)" |
|
|
|
v-hasPermi="['business:archive:gyzj:jjjy']">{{ |
|
|
|
$t('page.business.resource.gyzj.jjjy') }}</el-button> |
|
|
|
<!-- 确认归还 --> |
|
|
|
@ -170,15 +170,14 @@ export default { |
|
|
|
this.getList() |
|
|
|
}, |
|
|
|
methods: { |
|
|
|
handleSign(row, qmyy, showDate, type) { |
|
|
|
handleSign(row, qmyy, showDate, type,isReson,reasonRequired) { |
|
|
|
this.form.id = row.id |
|
|
|
let title = this.$t(qmyy) |
|
|
|
this.type = type |
|
|
|
this.$refs.refSign.show(title, title, showDate) |
|
|
|
this.$refs.refSign.show(title, title, showDate,(type=='jjjy'||type=='tyjy')?[row.jyksrq,row.jyjsrq]:[],isReson,reasonRequired) |
|
|
|
}, |
|
|
|
doSign(val) { |
|
|
|
let params = _.merge({}, this.form, val) |
|
|
|
debugger |
|
|
|
this.$modal.loading() |
|
|
|
if (this.type == 'tygd') { |
|
|
|
tygd(params).then(response => { |
|
|
|
|