This commit is contained in:
BianLzhaoMin 2025-05-27 13:58:50 +08:00
parent dd3315f3fc
commit 48936f8f32
3 changed files with 10 additions and 4 deletions

View File

@ -1248,6 +1248,7 @@ export default {
this.supervisorOpen = true this.supervisorOpen = true
}, },
delPerson(row) { delPerson(row) {
console.log(row, '行信息')
this.$confirm('是否确认删除?', '提示', { this.$confirm('是否确认删除?', '提示', {
confirmButtonText: '确定', confirmButtonText: '确定',
cancelButtonText: '取消', cancelButtonText: '取消',
@ -1256,6 +1257,7 @@ export default {
const params = { const params = {
supUuid: row.supUuid, supUuid: row.supUuid,
proId: row.proId, proId: row.proId,
userId: row.id,
} }
delPersonByIdCardAndPhone(params).then(response => { delPersonByIdCardAndPhone(params).then(response => {
if (response.code === 200) { if (response.code === 200) {

View File

@ -66,7 +66,6 @@
show-word-limit show-word-limit
v-no-whitespace v-no-whitespace
:style="{ width: '100%' }" :style="{ width: '100%' }"
:disabled="disabled"
></el-input> ></el-input>
</el-form-item> </el-form-item>
</el-col> </el-col>
@ -154,6 +153,7 @@
:show-type="1" :show-type="1"
:is-examine="false" :is-examine="false"
:btn-show="false" :btn-show="false"
:auditReason="[]"
></bns-timeline-tabs> ></bns-timeline-tabs>
</el-tab-pane> </el-tab-pane>
</el-tabs> </el-tabs>
@ -399,12 +399,14 @@ export default {
addSupervisoryPersonApply(reqData) addSupervisoryPersonApply(reqData)
.then(response => { .then(response => {
this.$modal.msgSuccess('新增成功') this.$modal.msgSuccess('新增成功')
this.supervisorOpen = false // this.supervisorOpen = false
this.delFileIds = [] this.delFileIds = []
this.getSupervisorPersonList() // this.getSupervisorPersonList()
this.loading = false this.loading = false
this.$router.go(-1)
}) })
.catch(error => { .catch(error => {
console.log('error', error)
this.loading = false this.loading = false
// //
this.$modal.msgError('新增失败:' + error.message) this.$modal.msgError('新增失败:' + error.message)

View File

@ -448,6 +448,8 @@ import BnsFileListTabs from '@/components/pro-tabs/bns-file-list-tabs.vue'
import bnsKkFilePreview from '@/components/pro-tabs/bns-kkFile-preview.vue' import bnsKkFilePreview from '@/components/pro-tabs/bns-kkFile-preview.vue'
import debounce from 'lodash/debounce' import debounce from 'lodash/debounce'
import { listSupervisor } from '@/api/pro/outsourcingPro'
export default { export default {
name: 'Post', name: 'Post',
components: { bnsKkFilePreview, BnsFileListTabs }, components: { bnsKkFilePreview, BnsFileListTabs },
@ -614,7 +616,7 @@ export default {
this.queryParams.contUuid = this.$store.state.user.thisIds.consUuid this.queryParams.contUuid = this.$store.state.user.thisIds.consUuid
this.queryParams.subUuid = this.$store.state.user.thisIds.subUuid this.queryParams.subUuid = this.$store.state.user.thisIds.subUuid
this.queryParams.userType = this.$store.state.user.userType this.queryParams.userType = this.$store.state.user.userType
listAdmissionRequest(this.queryParams).then(response => { listSupervisor(this.queryParams).then(response => {
this.deviceInformation = response.rows this.deviceInformation = response.rows
this.total = response.total this.total = response.total
this.loading = false this.loading = false