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