浏览代码

Merge branch 'dev-xuzhao'

Luka 1 月之前
父节点
当前提交
7d647096b8

+ 24 - 29
src/components/components/hooks/usePageDetails.ts

@@ -2,37 +2,32 @@ import { ref } from 'vue';
 import type PageModal from '@/components/components/pageDetails.vue';
 
 function usePageModal() {
-    const modalRef = ref<InstanceType<typeof PageModal>>();
+	const modalRef = ref<InstanceType<typeof PageModal>>();
 
-    // 新增
-    function handleNewDataClick() {
-        modalRef.value?.setDialogVisible();
-    }
-    // 编辑
-    function handleEditDataClick() {
-        modalRef.value?.setDialogVisible(false);
-    }
-    // 查询
-    function handleCheckDataClick() {
-        modalRef.value?.setDialogVisible(false, true);
-    }
-    // 查询数据
-    function handlePageDetail(urlId: number | [] | string) {
-        modalRef.value?.onPageDetail(urlId);
-    }
-    // 复制数据
-    function handleCopyDataClick() {
-        modalRef.value?.setDialogVisible(false, false, true);
-    }
+	// 新增
+	function handleNewDataClick() {
+		modalRef.value?.setDialogVisible();
+	}
+	// 编辑
+	function handleEditDataClick() {
+		modalRef.value?.setDialogVisible(false);
+	}
+	// 查询
+	function handleCheckDataClick() {
+		modalRef.value?.setDialogVisible(false, true);
+	}
+	// 查询数据
+	function handlePageDetail(urlId: number | [] | string) {
+		modalRef.value?.onPageDetail(urlId);
+	}
 
-    return {
-        modalRef,
-        handleNewDataClick,
-        handleEditDataClick,
-        handleCheckDataClick,
-        handlePageDetail,
-        handleCopyDataClick,
-    };
+	return {
+		modalRef,
+		handleNewDataClick,
+		handleEditDataClick,
+		handleCheckDataClick,
+		handlePageDetail,
+	};
 }
 
 export default usePageModal;

+ 2 - 0
src/components/components/pageContent.vue

@@ -21,6 +21,8 @@
 					:fixed="item.fixed"
 					v-if="item.type === 'index'"
 					type="index"
+					:label="item.label"
+					width="55"
 					:key="item.prop"
 					center
 				>

+ 1 - 1
src/views/notificationInfoManage/notificationListManage/config/content.config.ts

@@ -4,7 +4,7 @@ const contentConfig = {
 		title: '',
 	},
 	propsList: [
-		{ type: 'index', label: '事项编号' },
+		{ type: 'index', label: '号' },
 		{ type: 'normal', label: '发布单位', prop: 'publishingUnitStr', width: 140 },
 		{
 			type: 'custom',