فهرست منبع

reactor:自贡中心报表统计和宜宾的区分开;

zhangchong 6 ماه پیش
والد
کامیت
44119168f3
2فایلهای تغییر یافته به همراه10 افزوده شده و 9 حذف شده
  1. 5 5
      src/views/statistics/department/detailSatisfiedList.vue
  2. 5 4
      src/views/statistics/department/dpSatisfied.vue

+ 5 - 5
src/views/statistics/department/detailSatisfiedList.vue

@@ -69,10 +69,9 @@
 		<!--	更多查询	-->
 		<el-drawer v-model="drawer" title="更多查询" size="500px">
 			<el-form :model="state.queryParams" ref="drawerRuleFormRef" @submit.native.prevent label-width="100px">
-				<el-form-item label="归档类型" prop="TypeId" v-if="['ZiGong'].includes(themeConfig.appScope)">
-					<el-select v-model="state.queryParams.TypeId" placeholder="归档类型" @change="handleQuery">
-						<el-option label="办件结果" value="1" />
-						<el-option label="办件态度" value="2" />
+				<el-form-item label="归档类型" prop="AttitudeType" v-if="['ZiGong'].includes(themeConfig.appScope)">
+					<el-select v-model="state.queryParams.AttitudeType" placeholder="归档类型" @change="handleQuery">
+						<el-option :value="item.key" v-for="item in state.attitudeType" :key="item.key" :label="item.value"></el-option>
 					</el-select>
 				</el-form-item>
 				<el-form-item label="受理时间" prop="crTime">
@@ -222,7 +221,7 @@ const state = reactive<any>({
 		VisitUser: null,
 		OrgProcessingResults: null,
 		OrgId: null,
-		TypeId: '1',
+		AttitudeType: 1,
 		TypeCode: 0,
 	},
 	tableData: [], //表单
@@ -283,6 +282,7 @@ const getBaseData = async () => {
 		const mappings: any = {
 			visitSatisfaction: 'visitSatisfaction',
 			orgsOptions: 'orgsOptions',
+			attitudeType: 'AttitudeType',
 		};
 		for (const key in mappings) {
 			state[key] = res.result?.[mappings[key]] ?? [];

+ 5 - 4
src/views/statistics/department/dpSatisfied.vue

@@ -69,10 +69,9 @@
 		<!--	更多查询	-->
 		<el-drawer v-model="drawer" title="更多查询" size="500px">
 			<el-form :model="state.queryParams" ref="drawerRuleFormRef" @submit.native.prevent label-width="100px">
-				<el-form-item label="归档类型" prop="TypeId" v-if="['ZiGong'].includes(themeConfig.appScope)">
+				<el-form-item label="归档类型" prop="AttitudeType" v-if="['ZiGong'].includes(themeConfig.appScope)">
 					<el-select v-model="state.queryParams.TypeId" placeholder="归档类型" @change="handleQuery">
-						<el-option label="办件结果" value="1" />
-						<el-option label="办件态度" value="2" />
+						<el-option :value="item.key" v-for="item in state.attitudeType" :key="item.key" :label="item.value"></el-option>
 					</el-select>
 				</el-form-item>
 				<el-form-item label="受理时间" prop="crTime">
@@ -222,12 +221,13 @@ const state = reactive<any>({
 		VisitUser: null,
 		OrgProcessingResults: null,
 		OrgId: null,
-		TypeId: '1',
+		AttitudeType: 1,
 		TypeCode: 0,
 	},
 	tableData: [], //表单
 	loading: false, // 加载
 	total: 0, // 总数
+	attitudeType:[]
 });
 /** 搜索按钮操作 */
 const handleQuery = () => {
@@ -283,6 +283,7 @@ const getBaseData = async () => {
 		const mappings: any = {
 			visitSatisfaction: 'visitSatisfaction',
 			orgsOptions: 'orgsOptions',
+			attitudeType: 'AttitudeType',
 		};
 		for (const key in mappings) {
 			state[key] = res.result?.[mappings[key]] ?? [];