update
This commit is contained in:
@@ -135,7 +135,7 @@
|
||||
>
|
||||
<template slot-scope="scope">
|
||||
<!-- && !scope.row.downloadStatus-->
|
||||
<el-button type="text" icon="el-icon-info" v-if="scope.row.recordStatus=='done' && !scope.row.downloadStatus" @click="applyUse(scope.row)">申请使用</el-button>
|
||||
<el-button type="text" icon="el-icon-info" v-if="checkApplyUseBtn(scope.row)" @click="applyUse(scope.row)">申请使用</el-button>
|
||||
<el-button type="text" icon="el-icon-info" @click="handleDetail(scope.row)">详情</el-button>
|
||||
<el-button type="text" icon="el-icon-download" v-if="scope.row.downloadStatus" @click="handleFileDownload(scope.row)">下载</el-button>
|
||||
<el-dropdown size="mini" v-if="selectable(scope.row)" @command="(command) => handleCommand(command, scope.row)">
|
||||
@@ -209,7 +209,7 @@
|
||||
<el-drawer
|
||||
:visible.sync="drawerShow"
|
||||
direction="rtl"
|
||||
size="90%"
|
||||
size="80%"
|
||||
:with-header="false"
|
||||
:wrapperClosable="false"
|
||||
:show-close="false"
|
||||
@@ -475,8 +475,15 @@ export default {
|
||||
let _this = this
|
||||
_this.handleOpen({...row,type:'use_apply',procInstId:undefined})
|
||||
},
|
||||
submitApply(){
|
||||
|
||||
checkApplyUseBtn(row){
|
||||
let result = false;
|
||||
if(row.recordStatus=='done' && !row.downloadStatus){
|
||||
result = true;
|
||||
}
|
||||
if(row.isHasApplyUse){
|
||||
result = false;
|
||||
}
|
||||
return result;
|
||||
},
|
||||
/**=============================申请使用End================================*/
|
||||
/** 搜索按钮操作 */
|
||||
|
||||
Reference in New Issue
Block a user