|
@@ -120,7 +120,7 @@
|
|
|
style="border-color: #52c41a; color: #52c41a; font-weight: 500"
|
|
style="border-color: #52c41a; color: #52c41a; font-weight: 500"
|
|
|
>
|
|
>
|
|
|
<svg-icon icon-class="edit" class="mr-1" style="font-size: 16px" />
|
|
<svg-icon icon-class="edit" class="mr-1" style="font-size: 16px" />
|
|
|
- 直接申请
|
|
|
|
|
|
|
+ 直接开卡
|
|
|
</el-button>
|
|
</el-button>
|
|
|
</el-col>
|
|
</el-col>
|
|
|
<el-col :span="1.5">
|
|
<el-col :span="1.5">
|
|
@@ -319,7 +319,7 @@ const closeCardOpen = ref(false); // 关卡对话框
|
|
|
const reopenCardOpen = ref(false); // 重开对话框
|
|
const reopenCardOpen = ref(false); // 重开对话框
|
|
|
const refundOpen = ref(false); // 退费对话框
|
|
const refundOpen = ref(false); // 退费对话框
|
|
|
const associateCampusOpen = ref(false); // 关联校区对话框
|
|
const associateCampusOpen = ref(false); // 关联校区对话框
|
|
|
-const applyCardOpen = ref(false); // 直接申请对话框
|
|
|
|
|
|
|
+const applyCardOpen = ref(false); // 直接开卡对话框
|
|
|
const currentCardNo = ref([]); // 当前缴费的卡号(支持数组)
|
|
const currentCardNo = ref([]); // 当前缴费的卡号(支持数组)
|
|
|
const currentCloseCardNo = ref([]); // 当前关卡的卡号(支持数组)
|
|
const currentCloseCardNo = ref([]); // 当前关卡的卡号(支持数组)
|
|
|
const currentReopenCardNo = ref([]); // 当前重开的卡号(支持数组)
|
|
const currentReopenCardNo = ref([]); // 当前重开的卡号(支持数组)
|
|
@@ -748,6 +748,7 @@ function handleSearchFormUpdate(newData) {
|
|
|
|
|
|
|
|
// 多选框选中数据
|
|
// 多选框选中数据
|
|
|
function handleSelectionChange(selection) {
|
|
function handleSelectionChange(selection) {
|
|
|
|
|
+ console.log("Selection changed:", selection);
|
|
|
selectedRows.value = selection;
|
|
selectedRows.value = selection;
|
|
|
ids.value = selection.map((item) => item.cardId);
|
|
ids.value = selection.map((item) => item.cardId);
|
|
|
single.value = selection.length != 1;
|
|
single.value = selection.length != 1;
|
|
@@ -896,7 +897,7 @@ async function getAgentListData() {
|
|
|
}
|
|
}
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
-/** 直接申请按钮操作 */
|
|
|
|
|
|
|
+/** 直接开卡按钮操作 */
|
|
|
function handleApplyCard() {
|
|
function handleApplyCard() {
|
|
|
if (selectedRows.value.length === 0) {
|
|
if (selectedRows.value.length === 0) {
|
|
|
// proxy.$modal.msgWarning("请选择要申请开卡的卡片");
|
|
// proxy.$modal.msgWarning("请选择要申请开卡的卡片");
|
|
@@ -905,22 +906,23 @@ function handleApplyCard() {
|
|
|
applyCardOpen.value = true;
|
|
applyCardOpen.value = true;
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
-// 处理直接申请成功
|
|
|
|
|
|
|
+// 处理直接开卡成功
|
|
|
function handleApplyCardSuccess(message) {
|
|
function handleApplyCardSuccess(message) {
|
|
|
proxy.$modal.msgSuccess(message);
|
|
proxy.$modal.msgSuccess(message);
|
|
|
getList();
|
|
getList();
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
-// 处理直接申请确认
|
|
|
|
|
|
|
+// 处理直接开卡确认
|
|
|
function handleApplyCardConfirm(data) {
|
|
function handleApplyCardConfirm(data) {
|
|
|
proxy.$modal.msgSuccess(
|
|
proxy.$modal.msgSuccess(
|
|
|
- `直接申请成功!卡号段:${data.beginCardNo}-${data.endCardNo}`
|
|
|
|
|
|
|
+ `直接开卡成功!卡号段:${data.beginCardNo}-${data.endCardNo}`
|
|
|
);
|
|
);
|
|
|
getList(); // 刷新列表
|
|
getList(); // 刷新列表
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
/** 分配卡按钮操作 */
|
|
/** 分配卡按钮操作 */
|
|
|
function handleAssignCard() {
|
|
function handleAssignCard() {
|
|
|
|
|
+ console.log("分配卡按钮点击,当前选中的行:", selectedRows.value);
|
|
|
assignCardOpen.value = true;
|
|
assignCardOpen.value = true;
|
|
|
getInstitutionList(); // 获取机构列表
|
|
getInstitutionList(); // 获取机构列表
|
|
|
getAgentList(); // 获取代理商列表
|
|
getAgentList(); // 获取代理商列表
|