diff --git a/src/assets/icons/success.svg b/src/assets/icons/success.svg new file mode 100644 index 0000000..c18877a --- /dev/null +++ b/src/assets/icons/success.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/src/views/serviceDirective/serviceDirective/ConfigServiceDirectiveListCom.vue b/src/views/serviceDirective/serviceDirective/ConfigServiceDirectiveListCom.vue index 8ee0356..b9a3dae 100644 --- a/src/views/serviceDirective/serviceDirective/ConfigServiceDirectiveListCom.vue +++ b/src/views/serviceDirective/serviceDirective/ConfigServiceDirectiveListCom.vue @@ -209,8 +209,26 @@ const closeVideoModal = () => { videoUrl.value = ''; }; +// 子组件中添加以下方法 +const updateSelection = (selectedRecords: any[]) => { + selectedRowIds.value.clear(); + allSelectedItems.value.clear(); + + selectedRecords.forEach(record => { + selectedRowIds.value.add(record.id); + allSelectedItems.value.set(record.id, record); + }); + + // 更新表格的选中状态 + if (registerTable) { + registerTable.toggleRowSelection?.(Array.from(selectedRowIds.value), true); + } +}; + +// 暴露给父组件的方法 defineExpose({ - removeSelectedItem + removeSelectedItem, + updateSelection }); diff --git a/src/views/synchronization/directive/index.vue b/src/views/synchronization/directive/index.vue index ffabd08..7fefbe9 100644 --- a/src/views/synchronization/directive/index.vue +++ b/src/views/synchronization/directive/index.vue @@ -2,19 +2,77 @@
- - 机构信息 - - - - 筛选条件及功能操作按钮 - + + 机构信息: + 请先选择机构 + + + + + +
+ 机构编码: + {{ orgData?.orgCode || '-' }} +
+
+ +
+ 运营时间: + + {{ orgData?.operationStartTime || '-' }} + 至 + {{ orgData?.operationEndTime || '-' }} + +
+
+ +
+ 合同时间: + + {{ orgData?.contractStartTime || '-' }} + 至 + {{ orgData?.contractEndTime || '-' }} + +
+
+ +
+ 电话: + {{ orgData?.mobile || '-' }} +
+
+ +
+ 传真: + {{ orgData?.fax || '-' }} +
+
+ +
+ 地址: + {{ orgData?.address || '-' }} +
+
+
+
+
+ + + 筛选条件及功能操作按钮 + +
-
- + +
+ + + +
+ + + +
+ 机构编码: + {{ org.orgCode || '-' }} +
+
+ 运营时间: + {{ org.operationStartTime || '-' }} 至 {{ org.operationEndTime || '-' + }} +
+
+ 合同时间: + {{ org.contractStartTime || '-' }} 至 {{ org.contractEndTime || '-' + }} +
+
+ 电话: + {{ org.mobile || '-' }} +
+
+ 传真: + {{ org.fax || '-' }} +
+
+ 地址: + {{ org.address || '-' }} +
+
+
+
+
+
+ + + +
-