Kaynağa Gözat

reactor:选择新增数量;

zhangchong 4 ay önce
ebeveyn
işleme
f234541882
35 değiştirilmiş dosya ile 49 ekleme ve 75 silme
  1. 2 2
      src/views/auxiliary/citizen/components/Tags-record.vue
  2. 1 1
      src/views/auxiliary/clearCache/index.vue
  3. 0 1
      src/views/auxiliary/message/index.vue
  4. 1 1
      src/views/auxiliary/orderLexicon/index.vue
  5. 1 1
      src/views/auxiliary/smartCallOut/components/Create-task.vue
  6. 10 7
      src/views/business/order/index.vue
  7. 1 1
      src/views/business/overdue/soon.vue
  8. 2 2
      src/views/business/repeatEvent/components/Repeat-event-detail.vue
  9. 2 2
      src/views/business/visit/components/Smart-visit-Detail.vue
  10. 2 2
      src/views/business/visit/components/Smart-visit-add.vue
  11. 4 4
      src/views/business/visit/components/Visit-detail.vue
  12. 1 1
      src/views/judicial/statistics/detailSatisfied.vue
  13. 4 4
      src/views/statistics/center/publications.vue
  14. 2 2
      src/views/statistics/center/reportManage.vue
  15. 1 1
      src/views/statistics/order/acceptTopTen.vue
  16. 0 3
      src/views/statistics/order/acceptType.vue
  17. 0 3
      src/views/statistics/order/detailAcceptTime.vue
  18. 2 2
      src/views/statistics/order/detailAcceptTypeList.vue
  19. 0 3
      src/views/statistics/order/detailAreaTime.vue
  20. 0 3
      src/views/statistics/order/detailHotSpotTime.vue
  21. 1 1
      src/views/statistics/order/detailSource.vue
  22. 0 3
      src/views/statistics/order/detailSourceTime.vue
  23. 1 1
      src/views/statistics/order/hotspotAccept.vue
  24. 1 1
      src/views/statistics/order/hotspotArea.vue
  25. 1 1
      src/views/statistics/order/orgHotspot.vue
  26. 1 1
      src/views/statistics/order/source.vue
  27. 0 3
      src/views/statistics/order/timeAccept.vue
  28. 0 3
      src/views/statistics/order/timeArea.vue
  29. 0 3
      src/views/statistics/order/timeHotspot.vue
  30. 0 3
      src/views/statistics/order/timeSource.vue
  31. 1 1
      src/views/statistics/order/visitDiscontent.vue
  32. 2 3
      src/views/system/config/workflow/index.vue
  33. 2 2
      src/views/system/roles/components/Role-user-list.vue
  34. 1 1
      src/views/system/workforce/scheduling.vue
  35. 2 2
      src/views/tels/callLog/components/Connect-business.vue

+ 2 - 2
src/views/auxiliary/citizen/components/Tags-record.vue

@@ -17,9 +17,9 @@
 			:loading="state.loading"
 			:data="state.tableData"
 			:column-config="{ resizable: true }"
-			:row-config="{ isCurrent: true, isHover: true, height: 30 }"
+			:row-config="{ isCurrent: true, isHover: true, height: 30, useKey:true }"
 			ref="tableRef"
-			:scrollY="{ enabled: true, gt: 0 }"
+			:scrollY="{ enabled: true, gt: 100 }"
 			show-overflow
 			max-height="500px"
 		>

+ 1 - 1
src/views/auxiliary/clearCache/index.vue

@@ -35,7 +35,7 @@
 					height="auto"
 					auto-resize
 					show-overflow
-					:scrollY="{ enabled: true, gt: 0 }"
+					:scrollY="{ enabled: true, gt: 20 }"
 					id="auxiliaryClearCache"
 					:custom-config="{ storage: true }"
 					@checkbox-all="selectAllChangeEvent"

+ 0 - 1
src/views/auxiliary/message/index.vue

@@ -50,7 +50,6 @@
 					auto-resize
 					id="auxiliaryMessage"
 					:custom-config="{ storage: true }"
-					:scroll-y="{ enabled: false, gt: 0 }"
 				>
 					<vxe-column field="pushBusinessText" title="短信类型" width="120"></vxe-column>
 					<vxe-column field="sendStateText" title="发送状态" width="90"></vxe-column>

+ 1 - 1
src/views/auxiliary/orderLexicon/index.vue

@@ -46,7 +46,7 @@
 					height="auto"
 					auto-resize
 					show-overflow
-					:scrollY="{ enabled: true, gt: 0 }"
+					:scrollY="{ enabled: true, gt: 100 }"
 					id="auxiliaryOrderLexicon"
 					:custom-config="{ storage: true }"
 					@checkbox-all="selectAllChangeEvent"

+ 1 - 1
src/views/auxiliary/smartCallOut/components/Create-task.vue

@@ -75,7 +75,7 @@
 				:row-config="{ isCurrent: true, isHover: true, height: 30, useKey: true }"
 				ref="tableRef"
 				show-overflow
-				:scrollY="{ enabled: true, gt: 0 }"
+				:scrollY="{ enabled: true, gt: 100 }"
 				showHeaderOverflow
 				@checkbox-all="selectAllChangeEvent"
 				@checkbox-change="selectChangeEvent"

+ 10 - 7
src/views/business/order/index.vue

@@ -72,19 +72,19 @@
 						<SvgIcon name="ele-Plus" class="mr5" />创建重复性事件
 					</el-button>
 					<el-button type="primary" @click="onRevoke" :loading="state.loading" v-auth="'business:order:revoke'" :disabled="isChecked">
-						<SvgIcon name="ele-Setting" class="mr5" />设置撤销
+						<SvgIcon name="ele-Setting" class="mr5" />设置撤销<span v-if="checkTable.length">({{checkTable.length}})</span>
 					</el-button>
 					<el-button type="primary" @click="onObserve" v-auth="'business:order:observe'" :disabled="isChecked" :loading="state.loading"
-						>添加关注
+						>添加关注<span v-if="checkTable.length">({{checkTable.length}})</span>
 					</el-button>
 					<el-button type="primary" @click="onEnd" v-auth="'business:order:end'" :disabled="isChecked" :loading="state.loading"
-						>设置终结件
+						>设置终结件<span v-if="checkTable.length">({{checkTable.length}})</span>
 					</el-button>
 					<el-button type="primary" @click="onJbExport" :disabled="isChecked" :loading="state.loading" v-auth="'business:order:jbdExport'"
-						><SvgIcon name="iconfont icon-daochu" class="mr5" />交办单导出</el-button
+						><SvgIcon name="iconfont icon-daochu" class="mr5" />交办单导出<span v-if="checkTable.length">({{checkTable.length}})</span></el-button
 					>
 					<el-button type="primary" @click="onUrge" v-auth="'business:order:urge'" :disabled="isChecked" :loading="state.loading"
-						><SvgIcon name="ele-Plus" class="mr5" />添加催办
+						><SvgIcon name="ele-Plus" class="mr5" />添加催办<span v-if="checkTable.length">({{checkTable.length}})</span>
 					</el-button>
 				</template>
 			</vxe-toolbar>
@@ -103,8 +103,7 @@
 					height="auto"
 					auto-resize
 					show-overflow
-					:print-config="{}"
-					:scrollY="{ enabled: true, gt: 20 }"
+					:scrollY="{ enabled: false, gt: 20 }"
 					id="businessOrder"
 					:custom-config="{
 						storage: true,
@@ -653,6 +652,8 @@ const queryList = (isQuery: boolean = false) => {
 					state.tableData = getNeedArr(totalTable.value, state.queryParams.PageSize)[state.queryParams.PageIndex - 1]; //当前页的表格数据
 				}
 				state.loading = false;
+				tableRef.value.clearCheckboxRow();
+				checkTable.value = [];
 				resolve(response);
 			})
 			.then(() => {
@@ -669,6 +670,8 @@ const queryList = (isQuery: boolean = false) => {
 			.catch(() => {
 				state.loading = false;
 				totalLoading.value = false;
+				tableRef.value.clearCheckboxRow();
+				checkTable.value = [];
 				reject();
 			});
 	});

+ 1 - 1
src/views/business/overdue/soon.vue

@@ -43,7 +43,7 @@
 					height="auto"
 					auto-resize
 					show-overflow
-					:scrollY="{ enabled: true, gt: 0 }"
+					:scrollY="{ enabled: true, gt: 20 }"
 					id="businessOverdueSoon"
 					:custom-config="{ storage: true }"
 					:params="{ exportMethod: exportOverdueSoon, exportParams: requestParams }"

+ 2 - 2
src/views/business/repeatEvent/components/Repeat-event-detail.vue

@@ -22,9 +22,9 @@
 			:loading="state.loading"
 			:data="state.repeatTable"
 			:column-config="{ resizable: true }"
-			:row-config="{ isCurrent: true, isHover: true, height: 30 }"
+			:row-config="{ isCurrent: true, isHover: true, height: 30,useKey:true }"
 			show-overflow
-			:scrollY="{ enabled: true, gt: 0 }"
+			:scrollY="{ enabled: true, gt: 100 }"
 			showHeaderOverflow
 			max-height="300px"
 		>

+ 2 - 2
src/views/business/visit/components/Smart-visit-Detail.vue

@@ -31,10 +31,10 @@
 			:loading="state.loading"
 			:data="state.tableData"
 			:column-config="{ resizable: true }"
-			:row-config="{ isCurrent: true, isHover: true, height: 30 }"
+			:row-config="{ isCurrent: true, isHover: true, height: 30,useKey:true }"
 			ref="tableRef"
 			show-overflow
-			:scrollY="{ enabled: true, gt: 0 }"
+			:scrollY="{ enabled: true, gt: 100 }"
 			id="smartVisitDetail"
 			:custom-config="{ storage: true }"
 			:params="{ exportMethod: getSmartVisitDetailExport, exportParams: requestParams }"

+ 2 - 2
src/views/business/visit/components/Smart-visit-add.vue

@@ -95,12 +95,12 @@
 			:loading="state.loading"
 			:data="state.tableData"
 			:column-config="{ resizable: true }"
-			:row-config="{ isCurrent: true, isHover: true, height: 30 }"
+			:row-config="{ isCurrent: true, isHover: true, height: 30, useKey: true }"
 			ref="tableRef"
 			@checkbox-all="selectAllChangeEvent"
 			@checkbox-change="selectChangeEvent"
 			show-overflow
-			:scrollY="{ enabled: true, gt: 0 }"
+			:scrollY="{ enabled: true, gt: 100 }"
 			id="smartVisitAdd"
 			:custom-config="{ storage: true }"
 			max-height="300px"

+ 4 - 4
src/views/business/visit/components/Visit-detail.vue

@@ -242,9 +242,9 @@
 												:loading="state.loading"
 												:data="state.histories"
 												:column-config="{ resizable: true }"
-												:row-config="{ isCurrent: true, isHover: true, height: 30 }"
+												:row-config="{ isCurrent: true, isHover: true, height: 30,useKey:true }"
 												show-overflow
-												:scrollY="{ enabled: true, gt: 0 }"
+												:scrollY="{ enabled: true, gt: 100 }"
 												max-height="300px"
 											>
 												<vxe-column field="voiceEvaluateTxt" title="语音评价" width="110"></vxe-column>
@@ -501,9 +501,9 @@
 												:loading="state.loading"
 												:data="state.histories"
 												:column-config="{ resizable: true }"
-												:row-config="{ isCurrent: true, isHover: true, height: 30 }"
+												:row-config="{ isCurrent: true, isHover: true, height: 30,useKey:true }"
 												show-overflow
-												:scrollY="{ enabled: true, gt: 0 }"
+												:scrollY="{ enabled: true, gt: 100 }"
 												max-height="300px"
 											>
 												<vxe-column field="voiceEvaluateTxt" title="语音评价" width="110"></vxe-column>

+ 1 - 1
src/views/judicial/statistics/detailSatisfied.vue

@@ -22,7 +22,7 @@
 					height="auto"
 					auto-resize
 					show-overflow
-					:scrollY="{ enabled: true, gt: 0 }"
+					:scrollY="{ enabled: true, gt: 100 }"
 					id="judicialStatisticsDetailSatisfied"
 					:custom-config="{ storage: true }"
 					:params="{ exportMethod: departmentSatisfactionDetailExport, exportParams: requestParams }"

+ 4 - 4
src/views/statistics/center/publications.vue

@@ -85,10 +85,10 @@
 					:loading="state.loading"
 					:data="state.tableData1"
 					:column-config="{ resizable: true }"
-					:row-config="{ isCurrent: true, isHover: true, height: 30 }"
+					:row-config="{ isCurrent: true, isHover: true, height: 30, keyField: 'id',useKey: true }"
 					ref="tableRef"
 					show-overflow
-					:scrollY="{ enabled: true, gt: 0 }"
+					:scrollY="{ enabled: true, gt: 100 }"
 					id="statisticsCenterPublications1"
 					:custom-config="{ storage: true }"
 					:params="{ exportMethod: centerPublishUserListExport, exportParams: requestParams }"
@@ -147,11 +147,11 @@
 					:loading="state.loading"
 					:data="state.tableData2"
 					:column-config="{ resizable: true }"
-					:row-config="{ isCurrent: true, isHover: true, height: 30 }"
+					:row-config="{ isCurrent: true, isHover: true, height: 30, keyField: 'id',useKey: true }"
 					ref="tableRef2"
 					auto-resize
 					show-overflow
-					:scrollY="{ enabled: true, gt: 0 }"
+					:scrollY="{ enabled: true, gt: 100 }"
 					id="statisticsCenterPublications2"
 					:custom-config="{ storage: true }"
 					:params="{ exportMethod: centerPublishListExport, exportParams: requestParams }"

+ 2 - 2
src/views/statistics/center/reportManage.vue

@@ -70,9 +70,9 @@
 				:loading="state.eventLoading"
 				:data="state.eventTableData"
 				:column-config="{ resizable: true }"
-				:row-config="{ isCurrent: true, isHover: true, height: 30 }"
+				:row-config="{ isCurrent: true, isHover: true, height: 30, useKey: true }"
 				show-overflow
-				:scrollY="{ enabled: true, gt: 0 }"
+				:scrollY="{ enabled: true, gt: 20 }"
 				max-height="500px"
 			>
 				<vxe-column field="no" title="工单编码" width="140"></vxe-column>

+ 1 - 1
src/views/statistics/order/acceptTopTen.vue

@@ -56,7 +56,7 @@ const gridOptions = reactive<any>({
 	},
 	scrollY: {
 		enabled: true,
-		gt: 20,
+		gt: 100,
 	},
 	toolbarConfig: {
 		zoom: true,

+ 0 - 3
src/views/statistics/order/acceptType.vue

@@ -78,9 +78,6 @@ const gridOptions = reactive<any>({
 	columnConfig: {
 		resizable: true,
 	},
-	scrollY: {
-		enabled: false,
-	},
 	toolbarConfig: {
 		zoom: true,
 		custom: true,

+ 0 - 3
src/views/statistics/order/detailAcceptTime.vue

@@ -64,9 +64,6 @@ const gridOptions = reactive<any>({
 	columnConfig: {
 		resizable: true,
 	},
-	scrollY: {
-		enabled: false,
-	},
 	toolbarConfig: {
 		zoom: true,
 		custom: true,

+ 2 - 2
src/views/statistics/order/detailAcceptTypeList.vue

@@ -38,7 +38,7 @@ import { defineAsyncComponent, onMounted, reactive, ref } from 'vue';
 import { FormInstance } from 'element-plus';
 import { defaultDate } from '@/utils/constants';
 import Other from '@/utils/other';
-import { orderAcceptTimeExport, statisticsOrderAcceptList, statisticsOrderAcceptListExport } from '@/api/statistics/order';
+import { statisticsOrderAcceptList, statisticsOrderAcceptListExport } from '@/api/statistics/order';
 import { useRouter } from 'vue-router';
 import { callPeriodBase } from '@/api/statistics/call';
 import XEUtils from 'xe-utils';
@@ -75,7 +75,7 @@ const gridOptions = reactive<any>({
 	},
 	scrollY: {
 		enabled: true,
-		gt: 20,
+		gt: 100,
 	},
 	toolbarConfig: {
 		zoom: true,

+ 0 - 3
src/views/statistics/order/detailAreaTime.vue

@@ -64,9 +64,6 @@ const gridOptions = reactive<any>({
 	columnConfig: {
 		resizable: true,
 	},
-	scrollY: {
-		enabled: false,
-	},
 	toolbarConfig: {
 		zoom: true,
 		custom: true,

+ 0 - 3
src/views/statistics/order/detailHotSpotTime.vue

@@ -64,9 +64,6 @@ const gridOptions = reactive<any>({
 	columnConfig: {
 		resizable: true,
 	},
-	scrollY: {
-		enabled: false,
-	},
 	toolbarConfig: {
 		zoom: true,
 		custom: true,

+ 1 - 1
src/views/statistics/order/detailSource.vue

@@ -66,7 +66,7 @@ const gridOptions = reactive<any>({
 	},
 	scrollY: {
 		enabled: true,
-		gt: 20,
+		gt: 100,
 	},
 	toolbarConfig: {
 		zoom: true,

+ 0 - 3
src/views/statistics/order/detailSourceTime.vue

@@ -64,9 +64,6 @@ const gridOptions = reactive<any>({
 	columnConfig: {
 		resizable: true,
 	},
-	scrollY: {
-		enabled: false,
-	},
 	toolbarConfig: {
 		zoom: true,
 		custom: true,

+ 1 - 1
src/views/statistics/order/hotspotAccept.vue

@@ -74,7 +74,7 @@ const gridOptions = reactive<any>({
 	},
 	scrollY: {
 		enabled: true,
-		gt: 20,
+		gt: 100,
 	},
 	toolbarConfig: {
 		zoom: true,

+ 1 - 1
src/views/statistics/order/hotspotArea.vue

@@ -71,7 +71,7 @@ const gridOptions = reactive<any>({
 	},
 	scrollY: {
 		enabled: true,
-		gt: 20
+		gt: 100
 	},
 	toolbarConfig: {
 		zoom: true,

+ 1 - 1
src/views/statistics/order/orgHotspot.vue

@@ -50,7 +50,7 @@ const gridOptions = reactive<any>({
 	},
 	scrollY: {
 		enabled: true,
-		gt: 20
+		gt: 100
 	},
 	toolbarConfig: {
 		zoom: true,

+ 1 - 1
src/views/statistics/order/source.vue

@@ -74,7 +74,7 @@ const gridOptions = reactive<any>({
 	},
 	scrollY: {
 		enabled: true,
-		gt: 20,
+		gt: 100,
 	},
 	toolbarConfig: {
 		zoom: true,

+ 0 - 3
src/views/statistics/order/timeAccept.vue

@@ -73,9 +73,6 @@ const gridOptions = reactive<any>({
 	columnConfig: {
 		resizable: true,
 	},
-	scrollY: {
-		enabled: false,
-	},
 	toolbarConfig: {
 		zoom: true,
 		custom: true,

+ 0 - 3
src/views/statistics/order/timeArea.vue

@@ -71,9 +71,6 @@ const gridOptions = reactive<any>({
 	columnConfig: {
 		resizable: true,
 	},
-	scrollY: {
-		enabled: false,
-	},
 	toolbarConfig: {
 		zoom: true,
 		custom: true,

+ 0 - 3
src/views/statistics/order/timeHotspot.vue

@@ -72,9 +72,6 @@ const gridOptions = reactive<any>({
 	columnConfig: {
 		resizable: true,
 	},
-	scrollY: {
-		enabled: false,
-	},
 	toolbarConfig: {
 		zoom: true,
 		custom: true,

+ 0 - 3
src/views/statistics/order/timeSource.vue

@@ -73,9 +73,6 @@ const gridOptions = reactive<any>({
 	columnConfig: {
 		resizable: true,
 	},
-	scrollY: {
-		enabled: false,
-	},
 	toolbarConfig: {
 		zoom: true,
 		custom: true,

+ 1 - 1
src/views/statistics/order/visitDiscontent.vue

@@ -57,7 +57,7 @@ const gridOptions = reactive<any>({
 	},
 	scrollY: {
 		enabled: true,
-		gt: 20
+		gt: 100
 	},
 	toolbarConfig: {
 		zoom: true,

+ 2 - 3
src/views/system/config/workflow/index.vue

@@ -23,13 +23,12 @@
 						:loading="state.loading"
 						:data="state.tableData"
 						:column-config="{ resizable: true }"
-						:row-config="{ isCurrent: true, isHover: true, height: 30 }"
+						:row-config="{ isCurrent: true, isHover: true, height: 30, useKey: true }"
 						ref="tableRef1"
 						height="auto"
 						auto-resize
 						show-overflow
-						:print-config="{}"
-						:scrollY="{ enabled: true, gt: 0 }"
+						:scrollY="{ enabled: true, gt: 20 }"
 						id="systemWorkflow1"
 						:custom-config="{ storage: true }"
 						showHeaderOverflow

+ 2 - 2
src/views/system/roles/components/Role-user-list.vue

@@ -21,11 +21,11 @@
 			:loading="loading"
 			:data="state.tableData"
 			:column-config="{ resizable: true }"
-			:row-config="{ isCurrent: true, isHover: true, height: 30 }"
+			:row-config="{ isCurrent: true, isHover: true, height: 30, useKey: true }"
 			ref="tableRef"
 			height="auto"
 			show-overflow
-			:scrollY="{ enabled: true, gt: 0 }"
+			:scrollY="{ enabled: true, gt: 20 }"
 			showHeaderOverflow
 			max-height="400px"
 			id="systemRoleUserList"

+ 1 - 1
src/views/system/workforce/scheduling.vue

@@ -51,7 +51,7 @@ const gridOptions = reactive<any>({
 	},
 	scrollY: {
 		enabled: true,
-		gt: 20
+		gt: 100
 	},
 	toolbarConfig: {
 		zoom: true,

+ 2 - 2
src/views/tels/callLog/components/Connect-business.vue

@@ -33,11 +33,11 @@
 				:data="state.tableData"
 				:sort-config="{ remote: true }"
 				:column-config="{ resizable: true }"
-				:row-config="{ isHover: true, height: 30 }"
+				:row-config="{ isHover: true, height: 30,useKey:true }"
 				ref="tableRef"
 				max-height="400px"
 				show-overflow
-				:scrollY="{ enabled: true, gt: 0 }"
+				:scrollY="{ enabled: true, gt: 20 }"
 				:radio-config="{ highlight: true }"
 				@radio-change="radioChangeEvent"
 			>