标准/译文申请 行级撤回 重新提交
This commit is contained in:
@@ -159,8 +159,9 @@
|
|||||||
<div class="table-operate-btn" @click="toView(scope.row)">查看</div>
|
<div class="table-operate-btn" @click="toView(scope.row)">查看</div>
|
||||||
<div v-show="scope.row.buttonFlag ==='Audit'" class="table-operate-btn" @click="batchPass([scope.row.id])">通过</div>
|
<div v-show="scope.row.buttonFlag ==='Audit'" class="table-operate-btn" @click="batchPass([scope.row.id])">通过</div>
|
||||||
<div v-show="scope.row.buttonFlag ==='Audit'" class="table-operate-btn" @click="batchOverrule([scope.row.id])">驳回</div>
|
<div v-show="scope.row.buttonFlag ==='Audit'" class="table-operate-btn" @click="batchOverrule([scope.row.id])">驳回</div>
|
||||||
|
<div v-show="scope.row.buttonFlag ==='editOrDelete'" class="table-operate-btn" @click="ResubmitOrWithdraw (scope.row.id,'Staging')">撤回</div>
|
||||||
<div v-show="scope.row.buttonFlag ==='editOrDelete'" class="table-operate-btn" @click="edit(scope.row)">编辑</div>
|
<div v-show="scope.row.buttonFlag ==='editOrDelete'" class="table-operate-btn" @click="edit(scope.row)">编辑</div>
|
||||||
<div v-show="scope.row.status==='refuse'" class="table-operate-btn" @click="batchOverrule([scope.row.id])">重新提交</div>
|
<div v-show="scope.row.status==='refuse'" class="table-operate-btn" @click="ResubmitOrWithdraw (scope.row.id)">重新提交</div>
|
||||||
</template>
|
</template>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
</el-table>
|
</el-table>
|
||||||
@@ -251,12 +252,27 @@ export default {
|
|||||||
this.getDicTypeListCode()
|
this.getDicTypeListCode()
|
||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
|
ResubmitOrWithdraw (id, status) {
|
||||||
|
const query = {
|
||||||
|
status: status,
|
||||||
|
ids: id
|
||||||
|
}
|
||||||
|
this.$http.postData('/lawss/standardApplyFor/batchUpdateStatus', query, { _this: this }, res => {
|
||||||
|
if (res.ok) {
|
||||||
|
this.$message.success('操作成功')
|
||||||
|
this.getList()
|
||||||
|
}else{
|
||||||
|
this.$message.warning(res.message)
|
||||||
|
}
|
||||||
|
})
|
||||||
|
},
|
||||||
edit (item) {
|
edit (item) {
|
||||||
this.$refs.addModalRef.showModal(item)
|
this.$refs.addModalRef.showModal(item)
|
||||||
},
|
},
|
||||||
checkedRole (data) {
|
checkedRole (data) {
|
||||||
let idList = ''
|
let idList = ''
|
||||||
let nameList = ''
|
let nameList = ''
|
||||||
|
console.log(data)
|
||||||
data.forEach(item => {
|
data.forEach(item => {
|
||||||
if (nameList.length > 0) {
|
if (nameList.length > 0) {
|
||||||
nameList += ','
|
nameList += ','
|
||||||
|
|||||||
Reference in New Issue
Block a user