From a584a014ac0a16fc906e23fb2263a59ffd43f994 Mon Sep 17 00:00:00 2001
From: MrShi <1878285526@qq.com>
Date: 星期三, 03 九月 2025 11:27:51 +0800
Subject: [PATCH] 改bug
---
admin/src/components/business/OperaIdentityDetailWindow.vue | 62 ++++++++++---------------------
1 files changed, 20 insertions(+), 42 deletions(-)
diff --git a/admin/src/components/business/OperaIdentityDetailWindow.vue b/admin/src/components/business/OperaIdentityDetailWindow.vue
index 3872416..a314edb 100644
--- a/admin/src/components/business/OperaIdentityDetailWindow.vue
+++ b/admin/src/components/business/OperaIdentityDetailWindow.vue
@@ -59,7 +59,12 @@
<div class="line"> <span class="label">璁よ瘉璧勬枡锛�</span> <span v-if="!item.imgList || item.imgList.length==0" class="txt">鏃�</span> </div>
</template>
<template v-else>
- <div class="line"> <span class="label">韬唤淇℃伅锛�</span> <span v-if="!item.imgList || item.imgList.length==0" class="txt">鏃�</span> </div>
+ <div class="line">
+ <span class="label">鎺ュ崟浣嶇疆锛�</span><span class="txt">{{item.location || '' }}</span>
+ </div>
+ <div class="line">
+ <span class="label">韬唤淇℃伅锛�</span> <span v-if="!item.imgList || item.imgList.length==0" class="txt">鏃�</span>
+ </div>
</template>
<div class="line" v-if="item.imgList && item.imgList.length>0">
<div v-for="info in item.imgList" style="display: inline-block">
@@ -80,8 +85,8 @@
<el-input type="textarea" rows="5" v-model="form.auditRemark" placeholder="璇疯緭鍏ヨ璇佸鏍稿娉�" v-trim/>
</el-form-item>
</el-form>
- <el-button @click="checkDo(2)" type="primary" class="status-red">鍚屾剰</el-button>
- <el-button @click="checkDo(3)" type="danger" >鎷掔粷</el-button>
+ <el-button @click="checkDo(2)" :loading="dealing" type="primary" class="status-red">鍚屾剰</el-button>
+ <el-button @click="checkDo(3)" :loading="dealing" type="danger" >鎷掔粷</el-button>
</div>
</div>
</GlobalWindow>
@@ -91,7 +96,7 @@
import GlobalWindow from '@/components/common/GlobalWindow'
import BaseOpera from '@/components/base/BaseOpera'
import { getById } from '@/api/business/member'
-import { fetchList as renzhengList,audit } from '@/api/business/identityInfo'
+import { fetchList as renzhengList, audit } from '@/api/business/identityInfo'
export default {
components: {
GlobalWindow
@@ -99,6 +104,7 @@
extends: BaseOpera,
data () {
return {
+ dealing: false,
form: {
id: null,
auditRemark: null
@@ -110,50 +116,19 @@
activeTabs: 0,
type: 0,
info: {},
- pageSize: 10,
- page: 1,
- total: 0,
- tableData: {},
- tableData1: {},
tableData2: [],
- page0: 1,
- page1: 1,
- loading: false,
- export0: false,
- searchForm: {
- type: 0,
- startTime: null,
- endTime: null,
- optType: null,
- acceptMemberId: -1,
- releaseMemberId: -1,
- transactionNo: null
- }
+ loading: false
}
},
methods: {
open (title, row) {
this.title = title
this.visible = true
- this.activeTabs = 0
- this.type = 0
- this.page0 = 1
- this.pageSize = 10
- this.tableData = {}
- this.tableData1 = {}
this.tableData2 = []
this.id = row.id
this.form.id = this.id
+ this.form.auditRemark =null
this.memberId = row.memberId
- this.searchForm = {
- type: 0,
- startTime: null,
- endTime: null,
- optType: null,
- acceptMemberId: -1,
- releaseMemberId: -1,
- transactionNo: null
- }
this.getData()
},
getData () {
@@ -168,12 +143,12 @@
},
checkDo (status) {
- console.log( this.$refs.formCheck.length)
+ console.log(this.$refs.formCheck.length)
this.$refs.formCheck.validate((valid) => {
if (!valid) {
return
}
- this.$dialog.actionConfirm('鎮ㄧ‘璁ゃ��' + (status === 3 ? '鎷掔粷' : '鍚屾剰') + '銆戣鐢宠鍚楋紵','鎿嶄綔纭')
+ this.$dialog.actionConfirm('鎮ㄧ‘璁ゃ��' + (status === 3 ? '鎷掔粷' : '鍚屾剰') + '銆戣鐢宠鍚楋紵', '鎿嶄綔纭')
.then(() => {
this.dealing = true
audit({
@@ -182,9 +157,12 @@
auditRemark: this.form.auditRemark
})
.then(res => {
- this.$tip.apiSuccess('澶勭悊鎴愬姛')
+ this.$tip.apiSuccess('鎿嶄綔鎴愬姛')
this.getData()
- this.isShowProblem = false
+ this.$emit('success')
+ })
+ .catch(e => {
+ this.$tip.apiFailed(e)
})
.finally(() => {
this.dealing = false
@@ -226,7 +204,7 @@
padding: 16px;
}
.renzheng{
- margin: 0px 0px 50px 20px;
+ margin: 0px 0px 30px 20px;
width: calc(100% - 60px);
.detail{
font-size: 14px;
--
Gitblit v1.9.3