修改审核bug

This commit is contained in:
haozq 2025-04-01 09:37:02 +08:00
parent 8840a059e5
commit 41b85eeca6
3 changed files with 7 additions and 4 deletions

View File

@ -427,7 +427,7 @@
</template> </template>
<script> <script>
import { getParams, hideSensitiveInfo, indexContinuous, lookFaceFile } from '@/utils/bonus' import { getFileData,getParams,hideSensitiveInfo, indexContinuous, lookFaceFile } from '@/utils/bonus'
import { dictTableOption, downloadFile, getTemplateLink, selectFile } from '@/api/tool/select' import { dictTableOption, downloadFile, getTemplateLink, selectFile } from '@/api/tool/select'
import { listAdmissionRequest, submitApproval } from '@/api/pro/admissionRequest' import { listAdmissionRequest, submitApproval } from '@/api/pro/admissionRequest'
import store from '../../../store' import store from '../../../store'
@ -554,6 +554,7 @@ export default {
lookFaceFile, lookFaceFile,
indexContinuous, indexContinuous,
hideSensitiveInfo, hideSensitiveInfo,
getFileData,
getParams, getParams,
store() { store() {
return store return store
@ -1000,6 +1001,8 @@ export default {
}, },
submitFileForm() { submitFileForm() {
this.$refs['form'].validate(valid => { this.$refs['form'].validate(valid => {
console.log("--->")
console.log(valid)
if (valid) { if (valid) {
if (!this.formFile.fileList[0].name.toLowerCase().endsWith('.zip')) { if (!this.formFile.fileList[0].name.toLowerCase().endsWith('.zip')) {
this.$message.error('请上传zip文件') this.$message.error('请上传zip文件')

View File

@ -302,7 +302,7 @@ export default {
} }
getList(params).then(res => { getList(params).then(res => {
this.personList = res.rows this.personList = res.rows
this.total = res.total this.personTotal = res.total
this.loading = false this.loading = false
}) })
}, },

View File

@ -155,7 +155,7 @@ export default {
created() { created() {
const userType = this.$store.state.user.userType const userType = this.$store.state.user.userType
if (userType !== '00') { if (userType !== '00') {
this.hideOrNot = true this.hideOrNot = false
this.getProOption() this.getProOption()
} }
this.getList() this.getList()
@ -190,7 +190,7 @@ export default {
/** 查询承包商入场资质列表 */ /** 查询承包商入场资质列表 */
getList() { getList() {
this.loading = false this.loading = false
// this.queryParams.proId = this.$store.state.user.thisIds.proId; this.queryParams.proId = this.$store.state.user.thisIds.proId;
this.queryParams.supUuid = this.$store.state.user.thisIds.supUuid this.queryParams.supUuid = this.$store.state.user.thisIds.supUuid
this.queryParams.userType = this.$store.state.user.userType this.queryParams.userType = this.$store.state.user.userType
getConsEntranceList(this.queryParams).then(response => { getConsEntranceList(this.queryParams).then(response => {