From cfcf580da2044948dfa25d39cfaafeed6040e326 Mon Sep 17 00:00:00 2001
From: a0049873 <79py69t9wb@privaterelay.appleid.com>
Date: Wed, 7 Dec 2022 09:36:45 +0800
Subject: [PATCH] =?UTF-8?q?=E6=8B=86=E5=88=86=E4=BC=9A=E5=AE=A2=E5=8E=85?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
.../modules/activiti/RoomExamineAdmin.vue | 50 +--
.../modules/activiti/RoomExamineAdminDone.vue | 348 ++++++++++++++++++
2 files changed, 373 insertions(+), 25 deletions(-)
create mode 100644 back/src/views/modules/activiti/RoomExamineAdminDone.vue
diff --git a/back/src/views/modules/activiti/RoomExamineAdmin.vue b/back/src/views/modules/activiti/RoomExamineAdmin.vue
index 94c5f967..214018a1 100644
--- a/back/src/views/modules/activiti/RoomExamineAdmin.vue
+++ b/back/src/views/modules/activiti/RoomExamineAdmin.vue
@@ -6,7 +6,7 @@
style="width: 160px"
placeholder="请输入会客厅名称"
>
-
-
+ -->
查询
@@ -50,13 +50,13 @@
header-align="center"
align="center"
>
-
+ > -->
import Cookies from 'js-cookie'
export default {
- data() {
+ data () {
return {
options: [
{
value: '1',
- label: '待审核',
+ label: '待审核'
},
{
value: '0',
- label: '审核完成',
- },
+ label: '审核完成'
+ }
],
- value: '',
+ value: '1',
limit: 10,
page: 1,
total: 0,
@@ -245,14 +245,14 @@ export default {
file: '',
name: '',
creator: '',
- roomNameA: '',
+ roomNameA: ''
}
},
- mounted() {
+ mounted () {
this.getSerach()
},
methods: {
- getSerach() {
+ getSerach () {
this.$http
.get(
`/bookMeeting/auditPage?page=${this.page}&limit=${this.limit}&roomName=${this.roomNameA}&state=${this.value}`
@@ -262,22 +262,22 @@ export default {
this.total = res.data.total
})
},
- downloadTemplate(file) {
+ downloadTemplate (file) {
// window.SITE_CONFIG.apiURL +
window.open(`${file}?token=` + Cookies.get('ucsToken'))
},
- handleSizeChange(val) {
+ handleSizeChange (val) {
this.limit = val
this.getSerach()
},
- handleCurrentChange(val) {
+ handleCurrentChange (val) {
this.page = val
this.getSerach()
},
- searchData() {
+ searchData () {
this.getSerach()
},
- taskDetails(item, num) {
+ taskDetails (item, num) {
if (num == '1') {
this.dialogVisibleChuli = true
this.id = item.id
@@ -293,14 +293,14 @@ export default {
this.lookData = item
},
- ok() {
- let query = {
+ ok () {
+ const query = {
auditViem: this.desc,
state: this.radio,
id: this.id,
name: this.name,
roomName: this.roomName,
- creator: this.creator,
+ creator: this.creator
}
this.$http.put('/bookMeeting', query).then(({ data: res }) => {
this.dialogVisibleChuli = false
@@ -309,15 +309,15 @@ export default {
this.getSerach()
})
},
- No() {
+ No () {
this.radio = '2'
this.desc = ''
this.dialogVisibleChuli = false
},
- formatter(row, column) {
+ formatter (row, column) {
return row.state == '1' ? '待审核' : '审核完成'
- },
- },
+ }
+ }
}