From b59d7d4f48f84dc856d46f6ee6c8e9300376d272 Mon Sep 17 00:00:00 2001
From: Your Name <123456>
Date: 星期四, 08 九月 2022 09:33:43 +0800
Subject: [PATCH] 合并

---
 src/views/goalManagement/targetEscalation/index.vue |  198 -------------------------------------------------
 1 files changed, 0 insertions(+), 198 deletions(-)

diff --git a/src/views/goalManagement/targetEscalation/index.vue b/src/views/goalManagement/targetEscalation/index.vue
index d39c1f4..e69de29 100644
--- a/src/views/goalManagement/targetEscalation/index.vue
+++ b/src/views/goalManagement/targetEscalation/index.vue
@@ -1,198 +0,0 @@
-<template>
-	<div>
-		<el-form :model="ruleForm" status-icon label-width="20px" class="topTitle">
-			<el-row>
-				<el-col :span="4">
-					<el-form-item>
-						<el-input v-model="ruleForm.searchParams.qName" size="default" placeholder="安全目标指标" />
-					</el-form-item>
-				</el-col>
-				<el-col :span="4">
-					<el-form-item>
-						<el-input v-model="ruleForm.searchParams.indexNum" size="default" placeholder="目标指标编号" />
-					</el-form-item>
-				</el-col>
-				<el-col :span="16">
-					<el-form-item>
-						<el-button type="primary" size="default" @click="listApi">查询</el-button>
-						<el-button size="default" @click="resetForm">重置</el-button>
-					</el-form-item>
-				</el-col>
-			</el-row>
-		</el-form>
-		<div class="minCenter">
-			<el-tabs v-model="activeName" class="demo-tabs" @tab-click="handleClick">
-				<el-tab-pane label="检查" name="1"> </el-tab-pane>
-				<el-tab-pane label="上报" name="2"></el-tab-pane>
-				<el-tab-pane label="审核" name="3"></el-tab-pane>
-			</el-tabs>
-			<el-table ref="multipleTableRef" :data="tableData" style="width: 100%">
-				<el-table-column label="安全目标指标" align="center" property="qName" sortable />
-				<el-table-column property="indexNum" align="center" label="目标指标编号" sortable />
-				<el-table-column property="year" label="年度" align="center" sortable show-overflow-tooltip />
-				<el-table-column property="value" label="指标值" align="center" sortable show-overflow-tooltip />
-				<el-table-column v-if="activeName == 1" label="操作" align="center" show-overflow-tooltip>
-					<template #default="scope">
-						<el-button link type="primary" size="default" :icon="EditPen" @click="jumpFrom(0)">检查</el-button>
-						<el-button link type="primary" size="default" :icon="View" @click="openDai(scope.row.targetDivideDetailList)">记录</el-button>
-					</template>
-				</el-table-column>
-				<el-table-column v-if="activeName == 2" label="操作" align="center" show-overflow-tooltip>
-					<template #default>
-						<el-button link type="primary" size="default" :icon="EditPen" @click="jumpFrom(1)">上报</el-button>
-					</template>
-				</el-table-column>
-				<el-table-column v-if="activeName == 3" label="操作" align="center" show-overflow-tooltip>
-					<template #default>
-						<el-button link type="primary" size="default" :icon="EditPen" @click="jumpFrom">待审批</el-button>
-					</template>
-				</el-table-column>
-			</el-table>
-			<div class="pages">
-				<el-pagination
-					v-model:currentPage="currentPage4"
-					v-model:page-size="pageSize4"
-					:page-sizes="[10, 20, 30, 40]"
-					layout="total, sizes, prev, pager, next, jumper"
-					:total="total"
-					@size-change="handleSizeChange"
-					@current-change="handleCurrentChange"
-				/>
-			</div>
-		</div>
-		<Dailog ref="Show"></Dailog>
-	</div>
-</template>
-<script lang="ts">
-import Dailog from './component/Dailog.vue';
-import { ref, toRefs, reactive, onMounted, defineComponent } from 'vue';
-import { ElMessageBox, ElMessage, ElButton, ElInput, TabsPaneContext, FormInstance } from 'element-plus';
-import { Plus, Delete, Upload, Download, Refresh, View, EditPen } from '@element-plus/icons-vue';
-import { useRouter } from 'vue-router';
-import { goalManagementApi } from '/@/api/goalManagement';
-export default defineComponent({
-	components: { ElButton, ElInput, Dailog },
-	setup() {
-		// 搜索条件
-		const ruleForm = reactive({
-			pageSize: 10,
-			pageIndex: 1,
-			searchParams: {
-				qName: '', ////安全目标指标
-				indexNum: '', ////目标指标编号
-				targetType: '1', ////指标类型 1:年指标 2:月指标
-				divideStatus: '', ////分解状态 1:已分解 2:未分解
-			},
-		});
-		// 重置
-		const resetForm = () => {
-			ruleForm.searchParams.qName = '';
-			ruleForm.searchParams.indexNum = '';
-		};
-		const listApi = () => {
-			goalManagementApi()
-				.getTargetMngList(ruleForm)
-				.then((res) => {
-					if (res.data.code == 200) {
-						tableData.value = res.data.data;
-						currentPage4.value = res.data.pageIndex;
-						pageSize4.value = res.data.pageSize;
-						total.value = res.data.total;
-					} else {
-						ElMessage.error(res.data.msg);
-					}
-				});
-		};
-		//
-		const handleClick = (val: any) => {
-			// let targetType = JSON.parse(JSON.stringify(val));
-			ruleForm.searchParams.targetType = val.paneName;
-			listApi();
-		};
-		onMounted(() => {
-			listApi();
-		});
-		const onAddorUpdata = () => {
-			listApi();
-		};
-		// 表格
-		const tableData = ref();
-		const currentPage4 = ref();
-		const pageSize4 = ref();
-		const total = ref();
-		const handleSizeChange = (val: number) => {
-			// console.log(`${val} items per page`);
-			ruleForm.pageSize = val;
-			listApi();
-		};
-		const handleCurrentChange = (val: number) => {
-			// console.log(`current page: ${val}`);
-			ruleForm.pageIndex = val;
-			listApi();
-		};
-		const activeName = ref<any>('1');
-		// 记录弹窗
-		const Show = ref();
-		const openDai = (data: any) => {
-			Show.value.openDailog(data);
-		};
-		// 流程表单
-		const router = useRouter();
-		const jumpFrom = (data: any) => {
-			router.push({
-				path: '/processForms',
-				query: {
-					type: data,
-				},
-			});
-		};
-		return {
-			activeName,
-			total,
-			handleClick,
-			ruleForm,
-			listApi,
-			onAddorUpdata,
-			tableData,
-			resetForm,
-			currentPage4,
-			pageSize4,
-			handleSizeChange,
-			handleCurrentChange,
-			Show,
-			openDai,
-			router,
-			jumpFrom,
-			Plus,
-			Delete,
-			Upload,
-			Download,
-			Refresh,
-			View,
-			EditPen,
-		};
-	},
-});
-</script>
-<style scoped>
-.topTitle {
-	background-color: #fff;
-	padding: 20px 0px 20px 0px;
-}
-.minCenter {
-	width: 100%;
-	background-color: #fff;
-	margin-top: 10px;
-	padding: 0 20px;
-}
-.btns {
-	padding: 0px 0px 10px 0px;
-	display: flex;
-	justify-content: space-between;
-}
-.pages {
-	padding: 20px 0;
-	display: flex;
-	justify-content: right;
-}
-</style>
\ No newline at end of file

--
Gitblit v1.9.2