Luka преди 1 месец
родител
ревизия
0c9fc9bd60

+ 5 - 8
src/views/notificationInfoManage/noticeInfoInquiry/index.vue

@@ -3,11 +3,10 @@
 		<pageSearch ref="searchTableRef" :searchConfig="searchConfig"> </pageSearch>
 		<pageContent ref="tableListRef" :total="total" :contentConfig="contentConfig" :pageList="tableData">
 			<template #button>
-				<el-button type="primary" @click="handleAdd()">导出</el-button>
+				<el-button type="primary" @click="onExport()">导出</el-button>
 			</template>
 			<template #operate="scope">
 				<el-button type="primary" link @click="handleDetails(scope.row.rentalCompanyId)"> 查看 </el-button>
-				<!-- <el-button type="primary" link @click="handleDelete(scope.row.rentalCompanyId)"> 处理 </el-button> -->
 			</template>
 		</pageContent>
 	</div>
@@ -51,12 +50,10 @@ const handleDetails = async (id: string) => {
 	});
 };
 
-// 新增按钮
-const handleAdd = () => {
-	router.push({
-		name: 'addPublish',
-		query: { type: 'add' },
-	});
+// 导出
+const onExport = () => {
+	ElMessage.success('小编在努力开发中。。。');
+	return;
 };
 const searchTableRef = ref();
 const onClickDeleta = async (row: any) => {

+ 12 - 9
src/views/notificationInfoManage/superiorLeadersReview/index.vue

@@ -3,12 +3,11 @@
 		<pageSearch ref="searchTableRef" :searchConfig="searchConfig"></pageSearch>
 		<pageContent ref="tableListRef" :total="total" :contentConfig="contentConfig" :pageList="tableData">
 			<template #button>
-				<el-button type="primary" @click="handleAdd()">批量查阅</el-button>
-				<el-button type="primary" @click="handleAdd()">导出</el-button>
+				<el-button type="primary" @click="handleCheck()">批量查看</el-button>
+				<el-button type="primary" @click="onExport()">导出</el-button>
 			</template>
 			<template #operate="scope">
 				<el-button type="primary" link @click="handleDetails(scope.row.rentalCompanyId)"> 查看 </el-button>
-				<el-button type="primary" link @click="handleDelete(scope.row.rentalCompanyId)"> 处理 </el-button>
 			</template>
 		</pageContent>
 	</div>
@@ -52,13 +51,17 @@ const handleDetails = async (id: string) => {
 	});
 };
 
-// 新增按钮
-const handleAdd = () => {
-	router.push({
-		name: 'addPublish',
-		query: { type: 'add' },
-	});
+// 导出
+const onExport = () => {
+	ElMessage.success('小编在努力开发中。。。');
+	return;
 };
+
+const handleCheck = () => {
+	ElMessage.success('小编在努力开发中。。。');
+	return;
+};
+
 const searchTableRef = ref();
 const onClickDeleta = async (row: any) => {
 	ElMessageBox.confirm('确认删除此条数据吗?', '删除', {

+ 7 - 34
src/views/notificationInfoManage/viewHistoricalData/index.vue

@@ -3,11 +3,11 @@
 		<pageSearch ref="searchTableRef" :searchConfig="searchConfig"> </pageSearch>
 		<pageContent ref="tableListRef" :total="total" :contentConfig="contentConfig" :pageList="tableData">
 			<template #button>
-				<el-button type="primary" @click="handleAdd()">导出</el-button>
+				<el-button type="primary" @click="onExport()">导出</el-button>
 			</template>
 			<template #operate="scope">
 				<el-button type="primary" link @click="handleDetails(scope.row.rentalCompanyId)"> 查看 </el-button>
-				<el-button type="primary" link @click="handleDelete(scope.row.rentalCompanyId)"> 处理 </el-button>
+				<!-- <el-button type="primary" link @click="handleDelete(scope.row.rentalCompanyId)"> 处理 </el-button> -->
 			</template>
 		</pageContent>
 	</div>
@@ -56,40 +56,13 @@ const handleDetails = async (id: string) => {
 	});
 };
 
-// 新增按钮
-const handleAdd = () => {
-	router.push({
-		name: 'addPublish',
-		query: { type: 'add' },
-	});
+// 导出
+const onExport = () => {
+	ElMessage.success('小编在努力开发中。。。');
+	return;
 };
+
 const searchTableRef = ref();
-const onClickDeleta = async (row: any) => {
-	ElMessageBox.confirm('确认删除此条数据吗?', '删除', {
-		confirmButtonText: '确认',
-		cancelButtonText: '取消',
-		type: 'warning',
-	}).then(() => {
-		// 删除后的回调
-	});
-};
-// 删除按钮
-function handleDelete(value: any) {
-	ElMessageBox.confirm('是否删除这条数据?', '删除提示', {
-		confirmButtonText: '确定',
-		cancelButtonText: '取消',
-		type: 'warning',
-	})
-		.then(() => {
-			systemStore.deletePageDataAction(contentConfig.pageName, value);
-		})
-		.catch(() => {
-			ElMessage({
-				type: 'info',
-				message: '取消删除',
-			});
-		});
-}
 
 // 筛选-状态赋值
 async function searchItem() {