|
@@ -2108,9 +2108,21 @@ export default {
|
|
|
},
|
|
|
//签收
|
|
|
handleSignFor(row){
|
|
|
- const zfiId = row.zfiId || this.ids
|
|
|
- Cookies.set("/credit/signFor/"+zfiId + "/", this.$route.fullPath)
|
|
|
- this.$router.push({ path: "/credit/signFor/"+zfiId + "/" });
|
|
|
+ //查询当前用户是否为经办人
|
|
|
+ listCompanyHandler().then((response) => {
|
|
|
+ if(false == response.data){
|
|
|
+ this.$message({
|
|
|
+ message: "此操作需经办人权限,请确认您是否是经办人",
|
|
|
+ type: 'warning'
|
|
|
+ });
|
|
|
+ return false;
|
|
|
+ }else{
|
|
|
+ const zfiId = row.zfiId || this.ids
|
|
|
+ Cookies.set("/credit/signFor/"+zfiId + "/", this.$route.fullPath)
|
|
|
+ this.$router.push({ path: "/credit/signFor/"+zfiId + "/" });
|
|
|
+ }
|
|
|
+ });
|
|
|
+
|
|
|
},
|
|
|
//去融资
|
|
|
handleGoFinance(row){
|
|
@@ -2310,29 +2322,40 @@ export default {
|
|
|
},
|
|
|
//拒签
|
|
|
handleRefuse(row){
|
|
|
- const zfiNumber = row.zfiNumber ;
|
|
|
- this.$confirm('是否拒签融信编号为"' + zfiNumber + '"的数据项?', "警告",{
|
|
|
- confirmButtonText: "确定",
|
|
|
- cancelButtonText: "取消",
|
|
|
- type: "warning"
|
|
|
- }).then(function() {
|
|
|
- //拒签
|
|
|
- return creditRefuse(row);
|
|
|
- }).then(() => {
|
|
|
- this.getList();
|
|
|
- this.getListSign();
|
|
|
- this.getListFinancing();
|
|
|
- this.getListOpening();
|
|
|
- this.getListFinanced();
|
|
|
- this.getListInvalid();
|
|
|
- this.msgSuccess("拒签成功");
|
|
|
- })
|
|
|
- .catch(() => {
|
|
|
- this.$message({
|
|
|
- type: "warning",
|
|
|
- message: "已取消",
|
|
|
-
|
|
|
- });
|
|
|
+ //查询当前用户是否为经办人
|
|
|
+ listCompanyHandler().then((response) => {
|
|
|
+ if(false == response.data){
|
|
|
+ this.$message({
|
|
|
+ message: "此操作需经办人权限,请确认您是否是经办人",
|
|
|
+ type: 'warning'
|
|
|
+ });
|
|
|
+ return false;
|
|
|
+ }else{
|
|
|
+ const zfiNumber = row.zfiNumber ;
|
|
|
+ this.$confirm('是否拒签融信编号为"' + zfiNumber + '"的数据项?', "警告",{
|
|
|
+ confirmButtonText: "确定",
|
|
|
+ cancelButtonText: "取消",
|
|
|
+ type: "warning"
|
|
|
+ }).then(function() {
|
|
|
+ //拒签
|
|
|
+ return creditRefuse(row);
|
|
|
+ }).then(() => {
|
|
|
+ this.getList();
|
|
|
+ this.getListSign();
|
|
|
+ this.getListFinancing();
|
|
|
+ this.getListOpening();
|
|
|
+ this.getListFinanced();
|
|
|
+ this.getListInvalid();
|
|
|
+ this.msgSuccess("拒签成功");
|
|
|
+ })
|
|
|
+ .catch(() => {
|
|
|
+ this.$message({
|
|
|
+ type: "warning",
|
|
|
+ message: "已取消",
|
|
|
+
|
|
|
+ });
|
|
|
+ });
|
|
|
+ }
|
|
|
});
|
|
|
},
|
|
|
//删除
|