|
|
@@ -13,7 +13,6 @@
|
|
|
</el-button>
|
|
|
</template>
|
|
|
|
|
|
-
|
|
|
<!-- 操作菜单 -->
|
|
|
<template slot-scope="{row}" slot="menu">
|
|
|
<el-button type="text" size="small" icon="el-icon-view" plain class="none-border"
|
|
|
@@ -22,9 +21,9 @@
|
|
|
<el-button v-if="row.registerStatus == 100 || row.registerStatus == 400 || row.registerStatus == 99" type="text" size="small" icon="el-icon-edit" plain class="none-border"
|
|
|
@click.stop="handleEdit(row)">编辑
|
|
|
</el-button>
|
|
|
-<!-- <el-button type="text" size="small" icon="el-icon-delete" plain class="none-border"-->
|
|
|
-<!-- @click.stop="rowDel(scope.row,scope.index)">删除-->
|
|
|
-<!-- </el-button>-->
|
|
|
+ <el-button v-if="row.registerStatus == 101" type="text" size="small" icon="el-icon-edit" plain class="none-border"
|
|
|
+ @click.stop="handleSign(row)">签署协议
|
|
|
+ </el-button>
|
|
|
</template>
|
|
|
<template slot="registerStatus" slot-scope="{row}">
|
|
|
<el-tag plain type="warning" size="small" v-if="row.registerStatus == 100">资料完善中</el-tag>
|
|
|
@@ -50,7 +49,8 @@
|
|
|
getDetail,
|
|
|
add,
|
|
|
update,
|
|
|
- remove
|
|
|
+ remove,
|
|
|
+ agreeSign
|
|
|
} from "@/api/bussiness/bussinessinfo";
|
|
|
import {add as merchantRegister} from "@/api/bussiness/bussinessregisterrequest";
|
|
|
import {getByTypeAndBussinessInfoId} from "@/api/bussiness/bussinesscontactinfo";
|
|
|
@@ -293,6 +293,10 @@
|
|
|
value: "dictKey"
|
|
|
},
|
|
|
},
|
|
|
+ {
|
|
|
+ label: "审核意见",
|
|
|
+ prop: "auditOpinion",
|
|
|
+ },
|
|
|
]
|
|
|
},
|
|
|
data: []
|
|
|
@@ -359,6 +363,11 @@
|
|
|
})
|
|
|
that.$refs.addDialog.open()
|
|
|
},
|
|
|
+ handleSign(){
|
|
|
+ agreeSign().then(res =>{
|
|
|
+ window.open(res.data.data, '_blank');
|
|
|
+ });
|
|
|
+ },
|
|
|
closeDialog(){
|
|
|
this.onLoad(this.page);
|
|
|
this.resetData();
|
|
|
@@ -375,7 +384,7 @@
|
|
|
}
|
|
|
},
|
|
|
submit(item) {
|
|
|
- merchantRegister(item).then(res => {
|
|
|
+ merchantRegister(item).then(() => {
|
|
|
this.$message({
|
|
|
type: "success",
|
|
|
message: "操作成功!"
|