|
|
@@ -27,6 +27,8 @@
|
|
|
v-if="auditBtn && this.formData.Status == '5'">集中评审</el-button>
|
|
|
<el-button type="primary" size="mini" style="margin-left: 8px" @click="AuditEntity()"
|
|
|
v-if="this.formData.Status == '10'">分办</el-button>
|
|
|
+ <el-button type="primary" size="mini" style="margin-left: 8px" @click="paySureClick()"
|
|
|
+ v-if="parseInt(this.formData.Status) === 6">交费</el-button>
|
|
|
<el-button type="primary" size="mini" style="margin-left: 8px" onclick="window.history.go(-1)">返回</el-button>
|
|
|
</span>
|
|
|
</div>
|
|
|
@@ -971,6 +973,48 @@
|
|
|
allocationBtn () {
|
|
|
this.dialogAllocation = true
|
|
|
},
|
|
|
+ paySureClick () {
|
|
|
+ console.log('交费按钮')
|
|
|
+ this.$confirm('是否确认交费', '提示', {
|
|
|
+ confirmButtonText: '确定',
|
|
|
+ cancelButtonText: '取消',
|
|
|
+ type: 'warning'
|
|
|
+ }).then(() => {
|
|
|
+ this.payMakeSure()
|
|
|
+ }).catch(() => {
|
|
|
+ this.$message({
|
|
|
+ type: 'info',
|
|
|
+ message: '已取消'
|
|
|
+ })
|
|
|
+ })
|
|
|
+ },
|
|
|
+ payMakeSure () {
|
|
|
+ console.log('交费结果确认')
|
|
|
+ this.loading = true
|
|
|
+ let params = {
|
|
|
+ payStatus: this.payStatus
|
|
|
+ }
|
|
|
+ console.log('交费结果确认提交参数:', params)
|
|
|
+ apiCert.updatePayStatus(this.certId, params, this.$axios).then(res => {
|
|
|
+ if (res.data.code === 0) {
|
|
|
+ console.log('交费成功')
|
|
|
+ this.initDatas()
|
|
|
+ this.$message({
|
|
|
+ type: 'success',
|
|
|
+ message: res.data.message
|
|
|
+ })
|
|
|
+ } else {
|
|
|
+ this.$message({
|
|
|
+ type: 'warning',
|
|
|
+ message: res.data.message
|
|
|
+ })
|
|
|
+ }
|
|
|
+ this.dialogSecUnitSeparateVisible = false
|
|
|
+ this.loading = false
|
|
|
+ }).catch(err => {
|
|
|
+ console.error(err)
|
|
|
+ })
|
|
|
+ },
|
|
|
// 审核通过
|
|
|
makeSure () {
|
|
|
if (this.shenheForm.SuccessStatus === 1) {
|