Browse Source

web-岗位、意向list页面删除调整

liao-sea 9 months ago
parent
commit
b9e4790489

+ 1 - 2
vue/src/views/companyService/post/index.vue

@@ -354,7 +354,7 @@ export default defineComponent({
 
     const onDel = (item: any) => {
       Modal.confirm({
-        title: '确认删除该岗位?',
+        title: '确认删除该岗位信息?',
         icon: createVNode(ExclamationCircleOutlined),
         content: '',
         okText: '确认删除',
@@ -367,7 +367,6 @@ export default defineComponent({
           });
         },
         onCancel() {
-          formState.selectedRowKeys = [];
         },
       })
     };

+ 3 - 9
vue/src/views/jobUserManager/jobhunt/index.vue

@@ -187,7 +187,7 @@
 <script lang="ts">
 import {computed, createVNode, defineComponent, reactive, ref} from 'vue';
 import type {FormInstance, SelectProps, TableProps} from 'ant-design-vue';
-import {message, Modal} from "ant-design-vue";
+import {Modal} from "ant-design-vue";
 import {delJobHunt, getJobHuntList} from '@/api/jobUserManager/jobhunt';
 import {getSysDictionaryList} from '@/api/system/dictionary';
 import {getPaginationTotalTitle} from '@/utils/common';
@@ -341,13 +341,8 @@ export default defineComponent({
     }
 
     const onDel = (item: any) => {
-      if (formState.selectedRowKeys.length <= 0) {
-        message.warning('请选择需要删除的数据!');
-        return false;
-      }
-
       Modal.confirm({
-        title: '确认删除选中的驿站站点?',
+        title: '确认删除该求职意向?',
         icon: createVNode(ExclamationCircleOutlined),
         content: '',
         okText: '确认删除',
@@ -359,8 +354,7 @@ export default defineComponent({
             loadData();
           });
         },
-        onCancel() {
-          formState.selectedRowKeys = [];
+        onCancel() { 
         },
       });
     };