jiangping
2025-07-15 175b824c049502e81ddcec7e17f104fce7804cd6
admin/src/components/business/OperaIdentityDetailWindow.vue
@@ -72,16 +72,16 @@
              <span class="label"> 审核人:</span> <span class="txt">{{item.editorName}} </span><span class="label">{{item.auditTime || '' }} </span>
              <div  style="margin-top: 20px"> <span class="label">  审核信息:</span> <span class="txt">{{item.auditRemark || '' }}</span></div>
          </div>
            <div class="line bottom"  v-if="item.auditStatus == 1"  >
              <el-form :model="form" ref="form" :rules="rules">
          </div>
        </div>
      <div class="line bottom"  v-if="tableData2&& tableData2.length>0 && tableData2[0].auditStatus == 1 && containPermissions(['business:identityinfo:audit'])"   >
        <el-form :model="form" ref="formCheck" :rules="rules">
                <el-form-item label="认证审核说明" style="font-size: 14px" prop="auditRemark">
                  <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>
            </div>
          </div>
        </div>
    </div>
  </GlobalWindow>
@@ -91,7 +91,7 @@
import GlobalWindow from '@/components/common/GlobalWindow'
import BaseOpera from '@/components/base/BaseOpera'
import { getById } from '@/api/business/member'
import { fetchList as renzhengList,approveDo } from '@/api/business/identityInfo'
import { fetchList as renzhengList,audit } from '@/api/business/identityInfo'
export default {
  components: {
    GlobalWindow
@@ -168,15 +168,16 @@
    },
    checkDo (status) {
      this.$refs.form.validate((valid) => {
      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
            approveDo({
              id: this.dataId,
            audit({
              id: this.id,
              auditStatus: status,
              auditRemark: this.form.auditRemark
            })