标准/译文申请 待办标记更新/回显
This commit is contained in:
+1
-1
@@ -38,7 +38,7 @@
|
||||
</el-col>
|
||||
<el-col :span="12">
|
||||
<el-form-item label="标准编号" label-width="100px" class="add-form-item">
|
||||
<div class="content">{{ StandardApplyForEO.standNum ? StandardApplyForEO.standNum : '--' }}</div>
|
||||
<div class="content">{{ StandardApplyForEO.standNumShow ? StandardApplyForEO.standNumShow : '--' }}</div>
|
||||
</el-form-item>
|
||||
</el-col>
|
||||
<el-col :span="12">
|
||||
|
||||
@@ -109,12 +109,8 @@
|
||||
label="标准编号"
|
||||
width="150"
|
||||
align="center"
|
||||
prop="standNum"
|
||||
>
|
||||
<template slot-scope="scope">
|
||||
{{ scope.row.standLb }}{{ scope.row.standName }}{{ scope.row.standYear }}
|
||||
</template>
|
||||
</el-table-column>
|
||||
prop="standNumShow"
|
||||
/>
|
||||
<el-table-column
|
||||
show-overflow-tooltip
|
||||
label="标准名称"
|
||||
@@ -146,22 +142,18 @@
|
||||
<el-table-column
|
||||
show-overflow-tooltip
|
||||
label="申请状态"
|
||||
prop="status"
|
||||
prop="statusShow"
|
||||
align="center"
|
||||
min-width="100"
|
||||
>
|
||||
<template slot-scope="scope">
|
||||
{{ scope.row.status === 'refuse' ? '驳回' : scope.row.status === 'pendingApproval' ? '待审批' : scope.row.status === 'pass' ? '通过' : '草稿' }}
|
||||
</template>
|
||||
</el-table-column>
|
||||
/>
|
||||
<el-table-column label="操作" align="center" width="200" fixed="right">
|
||||
<template slot-scope="scope">
|
||||
<div class="table-operate-btn" @click="toView(scope.row)">查看</div>
|
||||
<div v-btn-permission="'3bc041e58bcb4b0510bcc1aad0b9ce89'" v-show="scope.row.buttonFlag ==='Audit'" class="table-operate-btn" @click="batchPass([scope.row.id])">通过</div>
|
||||
<div v-btn-permission="'92adace8c9a703b3b2472f684808db98'" v-show="scope.row.buttonFlag ==='Audit'" class="table-operate-btn" @click="batchOverrule([scope.row.id])">驳回</div>
|
||||
<div v-btn-permission="'08d4e36d7580c108f3a4ee8a66bbe04e'" v-show="scope.row.buttonFlag ==='editOrDelete'" class="table-operate-btn" @click="ResubmitOrWithdraw (scope.row.id,'Staging')">撤回</div>
|
||||
<div v-btn-permission="'a2a193e87244b42fb2f989a1a9b40330'" v-show="scope.row.buttonFlag ==='editOrDelete'" class="table-operate-btn" @click="edit(scope.row)">编辑</div>
|
||||
<div v-btn-permission="'c3944c3c309ba5bc5d11b6b5a2773454'" v-show="scope.row.status==='refuse'" class="table-operate-btn" @click="ResubmitOrWithdraw (scope.row.id)">重新提交</div>
|
||||
<div v-btn-permission="'a2a193e87244b42fb2f989a1a9b40330'" v-show="scope.row.status === 'refuse' || scope.row.status === 'draft'" class="table-operate-btn" @click="edit(scope.row)">编辑</div>
|
||||
<div v-btn-permission="'c3944c3c309ba5bc5d11b6b5a2773454'" v-show="scope.row.status === 'refuse' || scope.row.status === 'draft'" class="table-operate-btn" @click="ResubmitOrWithdraw (scope.row.id)">重新提交</div>
|
||||
</template>
|
||||
</el-table-column>
|
||||
</el-table>
|
||||
@@ -337,6 +329,11 @@ export default {
|
||||
this.selectedList = []
|
||||
this.$refs.selections.clearSelection()
|
||||
this.tableLoading = false
|
||||
this.$http.get('/lawss/standardApplyFor/queryPendingApprovalCount', '', { _this: this }, res => {
|
||||
if (res.ok) {
|
||||
this.$store.commit('SET_STANDARD_TRANSLATION_TODO', res.data)
|
||||
}
|
||||
})
|
||||
})
|
||||
},
|
||||
batchPass (id) {
|
||||
|
||||
Reference in New Issue
Block a user