ソースを参照

事项清单和联络员通讯录api 目录调整

Luka 1 ヶ月 前
コミット
c3d19febd2

+ 0 - 0
src/api/addressBook.ts → src/api/notificationInfoManage/addressBook.ts


+ 0 - 0
src/api/notificationListManage.ts → src/api/notificationInfoManage/notificationList.ts


+ 9 - 4
src/views/globalparam/index.vue

@@ -79,11 +79,10 @@
 </template>
 
 <script setup lang="ts" name="modal">
-import { getCurrentInstance, ComponentInternalInstance, ref, reactive } from 'vue';
+import { ref, reactive } from 'vue';
 import type { FormInstance, FormRules } from 'element-plus';
 import pageTitle from '@/components/components/pageTitle.vue';
 import useSystemStore from '@/store/main';
-const { proxy } = getCurrentInstance() as ComponentInternalInstance;
 const dataForm = reactive<any>({
 	receParamValue: 5,
 	handParamValue: 1,
@@ -126,7 +125,10 @@ function handleConfirmClick(formEl: FormInstance | undefined) {
 	if (!formEl) return;
 	formEl.validate((valid, fields) => {
 		if (valid) {
-			proxy!.$modal.msgSuccess('您已保存成功');
+			ElMessage({
+				type: 'success',
+				message: '您已保存成功',
+			});
 		} else {
 			console.log('error submit!', fields);
 		}
@@ -146,7 +148,10 @@ function getOverTime() {
 	// 		dataString.value = JSON.stringify(dataForm);
 	// 	} else {
 	// 		devLoading.value = false;
-	// 		proxy!.$modal.msgError(data.msg);
+	// 		ElMessage({
+	// 			type: 'error',
+	// 			message: data.msg,
+	// 		});
 	// 	}
 	// });
 }

+ 1 - 1
src/views/notificationInfoManage/addressBook/components/import.vue

@@ -1,5 +1,5 @@
 <script setup lang="ts">
-import { importInfo } from '@/api/addressBook';
+import { importInfo } from '@/api/notificationInfoManage/addressBook';
 
 const props = defineProps({
 	isVisible: {

+ 1 - 1
src/views/notificationInfoManage/addressBook/index.vue

@@ -84,7 +84,7 @@ import useSystemStore from '@/store/main';
 import TreeSelect from './components/treeSelect.vue';
 import { type TabsPaneContext } from 'element-plus';
 import { outTypeList } from '@/libs/commonMeth';
-import { changeInventoryStatus } from '@/api/addressBook';
+import { changeInventoryStatus } from '@/api/notificationInfoManage/addressBook';
 
 const bj_msg_recipient = outTypeList('bj_msg_recipient'); //短信接收人
 const bj_ab_status: any = outTypeList('bj_ab_status'); //通讯录状态

+ 1 - 1
src/views/notificationInfoManage/notificationListManage/index.vue

@@ -78,7 +78,7 @@ import searchConfig from './config/search.config';
 import pageSearch from '@/components/components/pageSearch.vue';
 import detailConfig from './config/detail.config';
 import pageDetail from './components/detail.vue';
-import { changeInventoryStatus } from '@/api/notificationListManage';
+import { changeInventoryStatus } from '@/api/notificationInfoManage/notificationList';
 
 import useSystemStore from '@/store/main';
 import { outTypeList, outDeptTree } from '@/libs/commonMeth';