yangg преди 1 ден
родител
ревизия
040c70eb4b

+ 4 - 1
src/views/JobApplication/list/crud.tsx

@@ -210,7 +210,6 @@ export const createCrudOptions = function ({ crudExpose, context}: CreateCrudOpt
 					},
 				}
 			},
-			
 			request: {
 				pageRequest,
 				addRequest,
@@ -393,6 +392,9 @@ export const createCrudOptions = function ({ crudExpose, context}: CreateCrudOpt
 			search: {
 				show: true,
 				layout: 'auto',
+				/* immediate: false, // 关闭输入框实时触发
+				trigger: 'manual', // 改为手动触发 */
+				autoSearch:false,
 				buttons: {
 					search: {
 						size: 'small', // 设置查询按钮大小为small
@@ -401,6 +403,7 @@ export const createCrudOptions = function ({ crudExpose, context}: CreateCrudOpt
 						size: 'small', // 设置重置按钮大小为small
 					}
 				},
+
 				resetBtn: {
 					show: true,
 					click: () => {

+ 1 - 0
src/views/position/list/crud.tsx

@@ -67,6 +67,7 @@ export const createCrudOptions = function ({ crudExpose, context }: CreateCrudOp
 			},
 			search: {
 				show: true,
+				autoSearch:false,
 				buttons: {
 					search: {
 						size: 'small',

+ 1 - 0
src/views/questionBank/classList/crud.tsx

@@ -101,6 +101,7 @@ export const createCrudOptions = function ({ crudExpose }: CreateCrudOptionsProp
 			},
 			search: {
 				show: true,
+				autoSearch:false,
 				buttons: {
 					search: {
 						size: 'small', // 设置查询按钮大小为small

+ 1 - 0
src/views/questionBank/labelList/crud.tsx

@@ -101,6 +101,7 @@ export const createCrudOptions = function ({ crudExpose }: CreateCrudOptionsProp
 			},
 			search: {
 				show: true,
+				autoSearch:false,
 				buttons: {
 					search: {
 						size: 'small', // 设置查询按钮大小为small

+ 3 - 1
src/views/questionBank/list/crud.tsx

@@ -25,12 +25,13 @@ export const createCrudOptions = function ({ crudExpose, context }: CreateCrudOp
 		console.log('query', query);
 		if (query.question) {
 			query.keyword = query.question;
+			delete query.question_tag;
 			delete query.question; // 删除原有的 question 参数
 		}
 		const params = {
 			...query,
 			question_category: query.category||query.question_category,
-			question_tag: query.tag,
+			/* question_tag: query.tag, */
 			tenant_id: 1
 		}
 		console.log('params', params);
@@ -292,6 +293,7 @@ export const createCrudOptions = function ({ crudExpose, context }: CreateCrudOp
 			search: {
 				col: { span: 3 },
 				show: true,
+				autoSearch:false,
 				buttons: {
 					search: {
 						size: 'small', // 设置查询按钮大小为small

+ 1 - 1
src/views/questionBank/list/index.vue

@@ -193,7 +193,7 @@ const handleTreeClick = (node: any) => {
   const searchParams = {
     form: {
       limit: 20,
-     position_types: selectedCategoryId.value,
+      ...(firstLevelId === 'root' || firstLevelId === 'professional_questions' ? { position_types: selectedCategoryId.value } : {}),
       question_form: question_form,
       ...(nodeType === 'category' ? { question_category: originalId } : {}),
       ...(nodeType === 'tag' ? { question_tags: originalId } : {})

+ 2 - 2
src/views/questionBank/positionList/components/DocumentTreeCom/index.vue

@@ -2,9 +2,9 @@
   <div class="document-tree-container">
     <div class="document-tree-header">
       <span class="document-tree-title">题库归属</span>
-      <el-button type="primary" size="small" @click="handleAddDocument">
+      <!-- <el-button type="primary" size="small" @click="handleAddDocument">
         <el-icon><Plus /></el-icon>添加分类
-      </el-button>
+      </el-button> -->
     </div>
     <el-tree
       ref="treeRef"

+ 1 - 0
src/views/questionBank/positionList/crud.tsx

@@ -118,6 +118,7 @@ export const createCrudOptions = function ({ crudExpose }: CreateCrudOptionsProp
 			},
 			search: {
 				show: true,
+				autoSearch:false,
 				buttons: {
 					search: {
 						size: 'small', // 设置查询按钮大小为small

+ 8 - 7
src/views/system/home/index.vue

@@ -248,10 +248,10 @@ export default defineComponent({
 					num1: '0',
 					num2: '0',
 					num3: '申请总数',
-					num4: 'fa fa-file-text-o',
+					num4: 'fa fa-user',
 					color1: '#6690F9',
-					color2: '--next-color-primary-lighter',
-					color3: '--el-color-primary',
+					color2: '--next-color-danger-lighter',
+					color3: '--el-color-danger',
 				},
 				{
 					num1: '0',
@@ -274,11 +274,12 @@ export default defineComponent({
 				{
 					num1: '0',
 					num2: '0',
-					num3: '在职奇才',
-					num4: 'fa fa-user',
+					num3: '题库数量',
+					
+					num4: 'fa fa-file-text-o',
 					color1: '#6690F9',
-					color2: '--next-color-danger-lighter',
-					color3: '--el-color-danger',
+					color2: '--next-color-primary-lighter',
+					color3: '--el-color-primary',
 				},
 			],
 			// 控制折叠面板展开状态