From 786cd982fbae60cc5d9911182321c6665e72f307 Mon Sep 17 00:00:00 2001
From: doum <doum>
Date: 星期三, 29 十月 2025 17:14:12 +0800
Subject: [PATCH] 最新版本541200007
---
admin/src/views/business/deletePersonnel.vue | 140 +++++++++++++++++++++++-----------------------
1 files changed, 70 insertions(+), 70 deletions(-)
diff --git a/admin/src/views/business/deletePersonnel.vue b/admin/src/views/business/deletePersonnel.vue
index fa6fe20..8c54c70 100644
--- a/admin/src/views/business/deletePersonnel.vue
+++ b/admin/src/views/business/deletePersonnel.vue
@@ -17,10 +17,10 @@
<el-option label="绛夊緟鍒犻櫎鏉冮檺" value="4"></el-option>
</el-select>
</el-form-item>
- <section>
- <el-button type="primary" @click="search">鎼滅储</el-button>
- <el-button @click="reset">閲嶇疆</el-button>
- </section>
+ <section>
+ <el-button type="primary" @click="search">鎼滅储</el-button>
+ <el-button @click="reset">閲嶇疆</el-button>
+ </section>
</el-form>
<!-- 琛ㄦ牸鍜屽垎椤� -->
<template v-slot:table-wrap>
@@ -84,73 +84,73 @@
</template>
<script>
- import BaseTable from '@/components/base/BaseTable'
- import TableLayout from '@/layouts/TableLayout'
- import Pagination from '@/components/common/Pagination'
- import { delHkForce } from '@/api/business/member'
- export default {
- name: 'deletePersonnel',
- extends: BaseTable,
- components: { TableLayout, Pagination },
- data () {
- return {
- // 鎼滅储
- searchForm: {
- companyName: '',
- keyword: '',
- type: '2',
- isdeleted: 1,
- hkStatus: null
- },
- user: []
- }
- },
- created () {
- this.config({
- module: '浜哄憳淇℃伅琛�',
- api: '/business/member',
- 'field.id': 'id',
- 'field.main': 'id'
- })
- this.search()
- },
- methods: {
- delHkForce(dataId) {
- this.$confirm('纭畾寮哄埗鍒犻櫎瀹夐槻骞冲彴浜哄憳淇℃伅鍚楋紵姝ゆ搷浣滀笉鍙�嗭紝璇疯皑鎱庢搷浣滐紝鏄惁缁х画?', '鎻愮ず', {
- confirmButtonText: '纭畾',
- cancelButtonText: '鍙栨秷',
- type: 'warning'
- }).then(() => {
- delHkForce({id:dataId})
- .then(res => {
- this.search()
- })
- }).catch(() => {
-
- });
+import BaseTable from '@/components/base/BaseTable'
+import TableLayout from '@/layouts/TableLayout'
+import Pagination from '@/components/common/Pagination'
+import { delHkForce } from '@/api/business/member'
+export default {
+ name: 'deletePersonnel',
+ extends: BaseTable,
+ components: { TableLayout, Pagination },
+ data () {
+ return {
+ // 鎼滅储
+ searchForm: {
+ companyName: '',
+ keyword: '',
+ type: '2',
+ isdeleted: 1,
+ hkStatus: null
},
- // thaws () {
- // if (this.tableData.selectedRows.length === 0) return this.$message.warning('鑷冲皯閫夋嫨涓�椤瑰唴瀹�')
- // const ids = this.tableData.selectedRows.map(item => {
- // return { id: item.id }
- // })
- // this.thaw(ids)
- // },
- // thaw (ids) {
- // this.$confirm('纭畾绉婚櫎姝ょ敤鎴峰悧?', '鎻愮ず', {
- // confirmButtonText: '纭畾',
- // cancelButtonText: '鍙栨秷',
- // type: 'warning'
- // }).then(() => {
- // // updateRemoveStatusById(ids)
- // // .then(res => {
- // // this.$message.success('鎿嶄綔鎴愬姛')
- // // this.search()
- // // })
- // }).catch(() => {
- //
- // })
- // },
+ user: []
}
+ },
+ created () {
+ this.config({
+ module: '浜哄憳淇℃伅琛�',
+ api: '/business/member',
+ 'field.id': 'id',
+ 'field.main': 'id'
+ })
+ this.search()
+ },
+ methods: {
+ delHkForce (dataId) {
+ this.$confirm('纭畾寮哄埗鍒犻櫎瀹夐槻骞冲彴浜哄憳淇℃伅鍚楋紵姝ゆ搷浣滀笉鍙�嗭紝璇疯皑鎱庢搷浣滐紝鏄惁缁х画?', '鎻愮ず', {
+ confirmButtonText: '纭畾',
+ cancelButtonText: '鍙栨秷',
+ type: 'warning'
+ }).then(() => {
+ delHkForce({ id: dataId })
+ .then(res => {
+ this.search()
+ })
+ }).catch(() => {
+
+ })
+ }
+ // thaws () {
+ // if (this.tableData.selectedRows.length === 0) return this.$message.warning('鑷冲皯閫夋嫨涓�椤瑰唴瀹�')
+ // const ids = this.tableData.selectedRows.map(item => {
+ // return { id: item.id }
+ // })
+ // this.thaw(ids)
+ // },
+ // thaw (ids) {
+ // this.$confirm('纭畾绉婚櫎姝ょ敤鎴峰悧?', '鎻愮ず', {
+ // confirmButtonText: '纭畾',
+ // cancelButtonText: '鍙栨秷',
+ // type: 'warning'
+ // }).then(() => {
+ // // updateRemoveStatusById(ids)
+ // // .then(res => {
+ // // this.$message.success('鎿嶄綔鎴愬姛')
+ // // this.search()
+ // // })
+ // }).catch(() => {
+ //
+ // })
+ // },
}
+}
</script>
--
Gitblit v1.9.3