diff --git a/src/views/synchronization/directive/serviceDirective/DirectiveChooseCom.vue b/src/views/synchronization/directive/serviceDirective/DirectiveChooseCom.vue
index 4cdc7c9..7d7900d 100644
--- a/src/views/synchronization/directive/serviceDirective/DirectiveChooseCom.vue
+++ b/src/views/synchronization/directive/serviceDirective/DirectiveChooseCom.vue
@@ -128,8 +128,8 @@
全部移除
-
- 同步
+
diff --git a/src/views/synchronization/directive/syncList.vue b/src/views/synchronization/directive/syncList.vue
index 0f4bcaa..af60d2f 100644
--- a/src/views/synchronization/directive/syncList.vue
+++ b/src/views/synchronization/directive/syncList.vue
@@ -21,14 +21,14 @@
style="margin-right: 10px;">镜像
查看可新增指令
+ @click="handleLookNewDirectives">查看可新增指令
-
+
@@ -48,7 +48,9 @@ import SyncStepListModal from '/@/views/synchronization/directive/syncStep/SyncS
import { getOrgInfo } from '/@/views/admin/orgapplyinfo/OrgApplyInfo.api';
//机构列表
import OrgListCom from '/@/views/synchronization/directive/orgCom/OrgListCom.vue'
+import { useMessage } from '/@/hooks/web/useMessage';
+const { createMessage } = useMessage();
const formRef = ref();
const configServiceDirectiveListModal = ref();
const syncStepListModal = ref();
@@ -107,6 +109,9 @@ function searchReset() {
orgListComRef.value?.searchReset()
}
+function handleLookNewDirectives(){
+ createMessage.warning('功能开发中')
+}
// 自动请求并暴露内部方法
onMounted(() => {
reload();
diff --git a/src/views/synchronization/directive/syncStep/SyncStepList.vue b/src/views/synchronization/directive/syncStep/SyncStepList.vue
index e6c5eab..bb8e4db 100644
--- a/src/views/synchronization/directive/syncStep/SyncStepList.vue
+++ b/src/views/synchronization/directive/syncStep/SyncStepList.vue
@@ -81,7 +81,7 @@
-
@@ -91,7 +91,7 @@
-
+
取消
确认
@@ -117,6 +117,7 @@ const directiveChooseRef = ref()
const selectedTargetOrgs = ref([])//已选择目标平台
const targetChooseType = ref('one')
const selectedOrgsContainer = ref();
+const emit = defineEmits(['changeSyncText']);
// 显示机构列表弹窗
function showSourceOrgListModal() {
@@ -177,6 +178,7 @@ function handleSourceOrgChoose(orgInfo_) {
//是否已选择目标平台 否则为初始化原平台
if (selectedTargetOrgs.value.length) {
if (targetChooseType.value == 'one') {
+ directiveChooseRef?.value?.init({ orgInfo: orgInfo.value[0] })
directiveChooseRef.value?.initTargetList(selectedTargetOrgs.value[0])
}
} else {
@@ -240,6 +242,7 @@ function targetChooseTypeChanged(val_) {
}
});
}
+ emit('changeSyncText',val_.target.value)
}
//源平台机构变更确认
@@ -253,6 +256,15 @@ function handleGetTarget() {
targetOrgListComRef.value?.commitOrgsInfo()
handleCancelTarget()
}
+
+function syncFunc(){
+ directiveChooseRef.value?.syncFunc()
+}
+
+defineExpose({
+ syncFunc
+});
+