feat: There is no way the
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
<!-- ProcessFooter -->
|
||||
<template>
|
||||
<div class="process-footer" v-if="showSave || showSubmit">
|
||||
<div class="process-footer" v-if="showSave || showSubmit || showSubmit2">
|
||||
<div class="footer-line"></div>
|
||||
<div class="btn-group-wrap">
|
||||
<slot></slot>
|
||||
@@ -39,14 +39,32 @@
|
||||
v-if="showOver"
|
||||
>撤销申请</el-button>
|
||||
<el-button
|
||||
type="primary"
|
||||
size="small"
|
||||
class="common-button-primary"
|
||||
icon="el-icon-s-promotion"
|
||||
@click="handleTransfer"
|
||||
:loading="transferLoading"
|
||||
v-if="showTransfer"
|
||||
type="primary"
|
||||
size="small"
|
||||
class="common-button-primary"
|
||||
icon="el-icon-s-promotion"
|
||||
@click="handleTransfer"
|
||||
:loading="transferLoading"
|
||||
v-if="showTransfer"
|
||||
>转办</el-button>
|
||||
<el-button
|
||||
type="primary"
|
||||
size="small"
|
||||
class="common-button-primary"
|
||||
icon="el-icon-check"
|
||||
@click="handleSubmit2"
|
||||
:loading="submitLoading"
|
||||
v-if="showSubmit2"
|
||||
>通过</el-button>
|
||||
<el-button
|
||||
type="danger"
|
||||
size="small"
|
||||
class="common-button-danger"
|
||||
icon="el-icon-close"
|
||||
@click="handleOver2"
|
||||
:loading="submitLoading"
|
||||
v-if="showOver2"
|
||||
>驳回</el-button>
|
||||
<el-button
|
||||
type="primary"
|
||||
size="mini"
|
||||
@@ -129,6 +147,10 @@ export default {
|
||||
type: Boolean,
|
||||
default: false
|
||||
},
|
||||
showOver2: {
|
||||
type: Boolean,
|
||||
default: false
|
||||
},
|
||||
// 是否显示保存按钮
|
||||
showSave: {
|
||||
type: Boolean,
|
||||
@@ -149,6 +171,10 @@ export default {
|
||||
type: Boolean,
|
||||
default: false
|
||||
},
|
||||
showSubmit2: {
|
||||
type: Boolean,
|
||||
default: false
|
||||
},
|
||||
showTransfer:{
|
||||
type: Boolean,
|
||||
default: false
|
||||
@@ -237,9 +263,15 @@ export default {
|
||||
handleOver() {
|
||||
this.$emit('over')
|
||||
},
|
||||
handleOver2() {
|
||||
this.$emit('over2')
|
||||
},
|
||||
handleSave() {
|
||||
this.$emit('save')
|
||||
},
|
||||
handleSubmit2() {
|
||||
this.$emit('submit2')
|
||||
},
|
||||
handleSubmit() {
|
||||
this.$emit('submit')
|
||||
},
|
||||
|
||||
@@ -516,14 +516,14 @@
|
||||
ref="formTongGuo"
|
||||
:model="formTongGuo"
|
||||
:rules="rules">
|
||||
<el-form-item
|
||||
prop="approvalOpinion"
|
||||
>
|
||||
<el-select @change="getRule" v-model="formTongGuo.approvalOpinion" placeholder="请审批" style="margin-bottom: 20px;">
|
||||
<el-option label="驳回" value="1"></el-option>
|
||||
<el-option label="通过" value="0"></el-option>
|
||||
</el-select>
|
||||
</el-form-item>
|
||||
<!-- <el-form-item-->
|
||||
<!-- prop="approvalOpinion"-->
|
||||
<!-- >-->
|
||||
<!-- <el-select @change="getRule" v-model="formTongGuo.approvalOpinion" placeholder="请审批" style="margin-bottom: 20px;">-->
|
||||
<!-- <el-option label="驳回" value="1"></el-option>-->
|
||||
<!-- <el-option label="通过" value="0"></el-option>-->
|
||||
<!-- </el-select>-->
|
||||
<!-- </el-form-item>-->
|
||||
<el-form-item
|
||||
prop="commentText"
|
||||
>
|
||||
@@ -659,13 +659,14 @@
|
||||
<!-- 提交-->
|
||||
<ProcessFooter
|
||||
:show-save="false"
|
||||
show-submit
|
||||
show-over2
|
||||
show-submit2
|
||||
show-transfer
|
||||
:submitLoading="isSubmit"
|
||||
:saveLoading="saveLoading"
|
||||
@transfer="handleTransfer"
|
||||
@save="handleSave"
|
||||
@submit="handleSubmit"
|
||||
@submit2="handle2"
|
||||
@over2="handle1"
|
||||
>
|
||||
</ProcessFooter>
|
||||
|
||||
@@ -1049,6 +1050,14 @@
|
||||
this.drawerTitle = '转办处理人'
|
||||
},
|
||||
handleSave() {},
|
||||
handle1(){
|
||||
this.formTongGuo.approvalOpinion = 1
|
||||
this.handleSubmit()
|
||||
},
|
||||
handle2(){
|
||||
this.formTongGuo.approvalOpinion = 0
|
||||
this.handleSubmit()
|
||||
},
|
||||
handleSubmit() {
|
||||
const val= this.form.country;
|
||||
if (val !== '' && val !== null && typeof (val) !== 'undefined') {
|
||||
|
||||
Reference in New Issue
Block a user