From b1df5d6fdff809f634286ef7976d9b520cef7172 Mon Sep 17 00:00:00 2001
From: 移动系统liao <liaoxujun@qq.com>
Date: 星期一, 25 八月 2025 08:50:18 +0800
Subject: [PATCH] Merge branch 'master' of http://47.108.235.38:8080/r/FZCZTB

---
 Web/src/views/Customer/fBS_CusExtendExamine/component/editDialogApply.vue |   66 ++++++++++++++++++++++----------
 1 files changed, 45 insertions(+), 21 deletions(-)

diff --git a/Web/src/views/Customer/fBS_CusExtendExamine/component/editDialog.vue b/Web/src/views/Customer/fBS_CusExtendExamine/component/editDialogApply.vue
similarity index 87%
rename from Web/src/views/Customer/fBS_CusExtendExamine/component/editDialog.vue
rename to Web/src/views/Customer/fBS_CusExtendExamine/component/editDialogApply.vue
index b9f7f73..3c20fb5 100644
--- a/Web/src/views/Customer/fBS_CusExtendExamine/component/editDialog.vue
+++ b/Web/src/views/Customer/fBS_CusExtendExamine/component/editDialogApply.vue
@@ -1,5 +1,6 @@
 锘�<script lang="ts" name="fBS_CusExtend" setup>
 import { ref, reactive, onMounted } from "vue";
+import { ElMessage } from "element-plus";
 import { formatDate } from '/@/utils/formatTime';
 import { useFBS_CusExtendApi } from '/@/api/Customer/fBS_CusExtend';
 
@@ -15,9 +16,10 @@
 	stores: {},
 	dropdownData: {} as any,
 	enterpriseList:[],
-	roleList:[],
-	shenheList:[],
-	srcList:[] 
+	roleList:[] as any[],
+	shenheList:[] as any[],
+	srcList:[],
+	listRow:{}
 });
 
 // 椤甸潰鍔犺浇鏃�
@@ -32,6 +34,8 @@
 	state.title = title;
 	row = row ?? {  };
 	state.ruleForm = row.id ? await fBS_CusExtendApi.detail(row.id).then(res => res.data.result) : JSON.parse(JSON.stringify(row));
+	state.ruleForm.exRole = row.exRole
+	state.listRow = row
 	// state.ruleForm.enterpriseType = state.ruleForm.enterpriseType.split(",");
 	state.showDialog = true;
 };
@@ -44,8 +48,19 @@
 
 // 鎻愪氦
 const submit = async (val:any) => {
-	let values = state.ruleForm;
-	await fBS_CusExtendApi.changeSteps(values.id,val);
+	// let values = state.ruleForm;
+	let res = await fBS_CusExtendApi.changeSteps(state.listRow.coutomerExRoleId,val);
+	if(res.data.code==200){
+		ElMessage({
+			message: `瀹℃牳鎴愬姛锛乣,
+			type: "success",
+		});
+	}else{
+		ElMessage({
+			message: res.message||`瀹℃牳澶辫触锛乣,
+			type: "error",
+		});
+	}
 	closeDialog();
 };
 const showPreview = ref(false)
@@ -89,10 +104,10 @@
 					<template #label>
 					<div class="cell-item">浜ゆ槗涓讳綋</div>
 					</template>
-					<!-- {{ state.ruleForm.transactionName }} -->
-					<span v-for="(item, index) in state.roleList" :key="index">
-											<span v-if="item.code == state.ruleForm.transactionCode">{{ item.name }}</span>
-											</span>
+					{{ state.ruleForm.exRole.name}}
+					<!-- <span v-for="(item, index) in state.roleList" :key="index">
+						<span v-if="item.code == state.ruleForm.transactionCode">{{ item.name }}</span>
+					</span> -->
 				</el-descriptions-item>
 				<el-descriptions-item>
 					<template #label>
@@ -153,6 +168,26 @@
 				</el-descriptions-item>
 				<el-descriptions-item>
 					<template #label>
+					<div class="cell-item">寮�鎴烽摱琛�</div>
+					</template>
+					{{ state.ruleForm.bankName }}
+				</el-descriptions-item>
+				<el-descriptions-item>
+					<template #label>
+					<div class="cell-item">閾惰璐﹀彿</div>
+					</template>
+					{{ state.ruleForm.bankAccount }}
+				</el-descriptions-item>
+				<el-descriptions-item>
+					<template #label>
+					<div class="cell-item">閾惰鏀舵浜岀淮鐮�</div>
+					</template>
+					<span @click="showImg('bankAccountIMG')">
+					<el-link type="primary" underline>鏌ョ湅閾惰鏀舵浜岀淮鐮�</el-link>
+					</span>
+				</el-descriptions-item>
+				<el-descriptions-item>
+					<template #label>
 					<div class="cell-item">娉曞畾浠h〃浜�</div>
 					</template>
 					{{ state.ruleForm.legalRepresentativeName }}
@@ -199,18 +234,7 @@
 					</template>
 					{{ state.ruleForm.operatorPhone }}
 				</el-descriptions-item>
-				<el-descriptions-item>
-					<template #label>
-					<div class="cell-item">寮�鎴烽摱琛�</div>
-					</template>
-					{{ state.ruleForm.bankName }}
-				</el-descriptions-item>
-				<el-descriptions-item>
-					<template #label>
-					<div class="cell-item">閾惰璐﹀彿</div>
-					</template>
-					{{ state.ruleForm.bankAccount }}
-				</el-descriptions-item>
+				
 				</el-descriptions>
 				
 			<template #footer>

--
Gitblit v1.9.1