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' ? '待审核' : '审核完成' - }, - }, + } + } }