From 83cb9d59a1b54940026e650358ddc351d93d109f Mon Sep 17 00:00:00 2001 From: ieaii <1069385070@qq.com> Date: Mon, 25 Nov 2024 08:22:12 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9C=80=E6=96=B0=E4=BB=A3=E7=A0=81=E6=8F=90?= =?UTF-8?q?=E4=BA=A4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- admin-hanhai-vue/src/views/xcx/ClockInConfList.vue | 2 +- .../src/views/xcx/ClockInProjectItemList.vue | 2 +- .../src/views/xcx/ClockInProjectList.vue | 38 +++- .../src/views/xcx/ClockinTeamLogList.vue | 196 +++++++++++++++++++++ .../src/views/xcx/modules/ClockInConfForm.vue | 10 +- .../src/views/xcx/modules/ClockInProjectForm.vue | 10 +- .../views/xcx/modules/ClockInProjectItemForm.vue | 10 +- .../src/views/xcx/modules/ClockinAuthForm.vue | 10 +- .../src/views/xcx/modules/ClockinLogForm.vue | 10 +- .../src/views/xcx/modules/ClockinTeamForm.vue | 10 +- .../src/views/xcx/modules/ClockinTeamLogForm.vue | 127 +++++++++++++ .../modules/ClockinTeamLogModal.Style#Drawer.vue | 84 +++++++++ .../src/views/xcx/modules/ClockinTeamLogModal.vue | 60 +++++++ .../src/views/xcx/modules/TencentMapPicker.vue | 20 +-- .../clockinteamlog/vue/ClockinTeamLogList.vue | 16 +- .../vue/modules/ClockinTeamLogForm.vue | 21 +-- .../clockin/service/impl/ClockinServiceImpl.java | 5 +- 17 files changed, 558 insertions(+), 73 deletions(-) create mode 100644 admin-hanhai-vue/src/views/xcx/ClockinTeamLogList.vue create mode 100644 admin-hanhai-vue/src/views/xcx/modules/ClockinTeamLogForm.vue create mode 100644 admin-hanhai-vue/src/views/xcx/modules/ClockinTeamLogModal.Style#Drawer.vue create mode 100644 admin-hanhai-vue/src/views/xcx/modules/ClockinTeamLogModal.vue diff --git a/admin-hanhai-vue/src/views/xcx/ClockInConfList.vue b/admin-hanhai-vue/src/views/xcx/ClockInConfList.vue index fc18e24..b814590 100644 --- a/admin-hanhai-vue/src/views/xcx/ClockInConfList.vue +++ b/admin-hanhai-vue/src/views/xcx/ClockInConfList.vue @@ -17,7 +17,7 @@ - + diff --git a/admin-hanhai-vue/src/views/xcx/ClockInProjectItemList.vue b/admin-hanhai-vue/src/views/xcx/ClockInProjectItemList.vue index c5d3b08..f67a559 100644 --- a/admin-hanhai-vue/src/views/xcx/ClockInProjectItemList.vue +++ b/admin-hanhai-vue/src/views/xcx/ClockInProjectItemList.vue @@ -17,7 +17,7 @@ - + 删除 diff --git a/admin-hanhai-vue/src/views/xcx/ClockInProjectList.vue b/admin-hanhai-vue/src/views/xcx/ClockInProjectList.vue index 0f092d8..dea6b40 100644 --- a/admin-hanhai-vue/src/views/xcx/ClockInProjectList.vue +++ b/admin-hanhai-vue/src/views/xcx/ClockInProjectList.vue @@ -19,7 +19,7 @@ - + 删除 @@ -101,7 +101,9 @@ - +
+ +
@@ -171,11 +173,11 @@ 详情 - - - - - + + + 删除 + + @@ -197,7 +199,7 @@ import { JeecgListMixin } from '@/mixins/JeecgListMixin' import ClockInProjectModal from './modules/ClockInProjectModal' import {filterMultiDictText} from '@/components/dict/JDictSelectUtil' - import {getAction, httpAction} from "@api/manage"; + import {deleteAction, getAction, httpAction} from "@api/manage"; import ClockInProjectItemModal from './modules/ClockInProjectItemModal' export default { @@ -269,6 +271,7 @@ exportXlsUrl: "/clockInproject/clockInProject/exportXls", importExcelUrl: "clockInproject/clockInProject/importExcel", detailList: "/clockInprojectitem/clockInProjectItem/list", + delete2: "/clockInprojectitem/clockInProjectItem/delete" }, dictOptions:{}, superFieldList:[], @@ -365,7 +368,7 @@ }, hideUserList(){ //this.rightcolval = 0 - this.selectedRowKeys1 = [] + this.selectedRowKeys = [] }, handlePerssion(roleId){ this.$refs.modalUserRole.show(roleId); @@ -448,6 +451,23 @@ this.$refs.modalForm2.title="详情"; this.$refs.modalForm2.disableSubmit = true; }, + handleDelete2: function (id) { + if(!this.url.delete){ + this.$message.error("请设置url.delete属性!") + return + } + var that = this; + deleteAction(that.url.delete2, {id: id}).then((res) => { + if (res.success) { + //重新计算分页问题 + that.reCalculatePage(1) + that.$message.success(res.message); + that.loadData2(); + } else { + that.$message.warning(res.message); + } + }); + }, } } diff --git a/admin-hanhai-vue/src/views/xcx/ClockinTeamLogList.vue b/admin-hanhai-vue/src/views/xcx/ClockinTeamLogList.vue new file mode 100644 index 0000000..8304a2e --- /dev/null +++ b/admin-hanhai-vue/src/views/xcx/ClockinTeamLogList.vue @@ -0,0 +1,196 @@ + + + + \ No newline at end of file diff --git a/admin-hanhai-vue/src/views/xcx/modules/ClockInConfForm.vue b/admin-hanhai-vue/src/views/xcx/modules/ClockInConfForm.vue index 0963059..27a1183 100644 --- a/admin-hanhai-vue/src/views/xcx/modules/ClockInConfForm.vue +++ b/admin-hanhai-vue/src/views/xcx/modules/ClockInConfForm.vue @@ -18,11 +18,11 @@ - - - - - + + + + + diff --git a/admin-hanhai-vue/src/views/xcx/modules/ClockInProjectForm.vue b/admin-hanhai-vue/src/views/xcx/modules/ClockInProjectForm.vue index f081caa..aab6796 100644 --- a/admin-hanhai-vue/src/views/xcx/modules/ClockInProjectForm.vue +++ b/admin-hanhai-vue/src/views/xcx/modules/ClockInProjectForm.vue @@ -48,11 +48,11 @@ - - - - - + + + + + diff --git a/admin-hanhai-vue/src/views/xcx/modules/ClockInProjectItemForm.vue b/admin-hanhai-vue/src/views/xcx/modules/ClockInProjectItemForm.vue index fb3d1aa..0399283 100644 --- a/admin-hanhai-vue/src/views/xcx/modules/ClockInProjectItemForm.vue +++ b/admin-hanhai-vue/src/views/xcx/modules/ClockInProjectItemForm.vue @@ -23,11 +23,11 @@ - - - - - + + + + + diff --git a/admin-hanhai-vue/src/views/xcx/modules/ClockinAuthForm.vue b/admin-hanhai-vue/src/views/xcx/modules/ClockinAuthForm.vue index 1f01843..96defec 100644 --- a/admin-hanhai-vue/src/views/xcx/modules/ClockinAuthForm.vue +++ b/admin-hanhai-vue/src/views/xcx/modules/ClockinAuthForm.vue @@ -23,11 +23,11 @@ - - - - - + + + + + diff --git a/admin-hanhai-vue/src/views/xcx/modules/ClockinLogForm.vue b/admin-hanhai-vue/src/views/xcx/modules/ClockinLogForm.vue index 540d82b..fc6d0f9 100644 --- a/admin-hanhai-vue/src/views/xcx/modules/ClockinLogForm.vue +++ b/admin-hanhai-vue/src/views/xcx/modules/ClockinLogForm.vue @@ -28,11 +28,11 @@ - - - - - + + + + + diff --git a/admin-hanhai-vue/src/views/xcx/modules/ClockinTeamForm.vue b/admin-hanhai-vue/src/views/xcx/modules/ClockinTeamForm.vue index 1316c74..ec4505d 100644 --- a/admin-hanhai-vue/src/views/xcx/modules/ClockinTeamForm.vue +++ b/admin-hanhai-vue/src/views/xcx/modules/ClockinTeamForm.vue @@ -13,11 +13,11 @@ - - - - - + + + + + diff --git a/admin-hanhai-vue/src/views/xcx/modules/ClockinTeamLogForm.vue b/admin-hanhai-vue/src/views/xcx/modules/ClockinTeamLogForm.vue new file mode 100644 index 0000000..965d094 --- /dev/null +++ b/admin-hanhai-vue/src/views/xcx/modules/ClockinTeamLogForm.vue @@ -0,0 +1,127 @@ + + + \ No newline at end of file diff --git a/admin-hanhai-vue/src/views/xcx/modules/ClockinTeamLogModal.Style#Drawer.vue b/admin-hanhai-vue/src/views/xcx/modules/ClockinTeamLogModal.Style#Drawer.vue new file mode 100644 index 0000000..bd87046 --- /dev/null +++ b/admin-hanhai-vue/src/views/xcx/modules/ClockinTeamLogModal.Style#Drawer.vue @@ -0,0 +1,84 @@ + + + + + \ No newline at end of file diff --git a/admin-hanhai-vue/src/views/xcx/modules/ClockinTeamLogModal.vue b/admin-hanhai-vue/src/views/xcx/modules/ClockinTeamLogModal.vue new file mode 100644 index 0000000..fbece05 --- /dev/null +++ b/admin-hanhai-vue/src/views/xcx/modules/ClockinTeamLogModal.vue @@ -0,0 +1,60 @@ + + + \ No newline at end of file diff --git a/admin-hanhai-vue/src/views/xcx/modules/TencentMapPicker.vue b/admin-hanhai-vue/src/views/xcx/modules/TencentMapPicker.vue index 426ed2e..68324c9 100644 --- a/admin-hanhai-vue/src/views/xcx/modules/TencentMapPicker.vue +++ b/admin-hanhai-vue/src/views/xcx/modules/TencentMapPicker.vue @@ -1,14 +1,14 @@