diff --git a/src/views/comprehensive/details.vue b/src/views/comprehensive/details.vue index 82c918c..793b1d3 100644 --- a/src/views/comprehensive/details.vue +++ b/src/views/comprehensive/details.vue @@ -92,12 +92,12 @@ 广州天河科技股份有限公司 --> - - - - - - + + + + + + - + + + @@ -870,7 +872,7 @@ 该企业暂没有变更记录 - + 查看号码 注意:点击按钮查看联系电话 @@ -879,13 +881,13 @@ - - - + + + 该企业暂没有联系方式信息 - + @@ -960,6 +962,7 @@ import { getAssignLogList } from '@/api/marketAssign' import EasyForm from '@/components/EasyForm' import dynamicSupervisionBase from '@/views/market/dynamicsupervision/index' import dailySupervisionBase from '@/views/market/dailysupervision/index' +import { oauth } from '@/api/user' export default { components: { @@ -968,11 +971,11 @@ export default { mixins: [dynamicSupervisionBase, dailySupervisionBase], data() { return { - isRead1 : false, - isRead2 : false, - isRead3 : false, - isRead4 : false, - isRead5 : false, + isRead1: false, + isRead2: false, + isRead3: false, + isRead4: false, + isRead5: false, isRead6: false, isRead7: false, showTab2: false, @@ -1029,7 +1032,8 @@ export default { readOnly: true } }, - fromPath: '' + fromPath: '', + iframeURL: '' } }, mounted() { @@ -1082,7 +1086,7 @@ export default { // // } // } // }) - //const p5 = this.getRevokeListPage() + // const p5 = this.getRevokeListPage() // // 认领记录查询 // const p6 = getAssignLogList(this.pripid).then(res => { @@ -1096,7 +1100,7 @@ export default { // 现场核查 // const p8 = this.getUsualInspectList() this.loading = true - Promise.all([p1]).finally(() => {//, p2, p3, p4, p5, p6, p7, p8 + Promise.all([p1]).finally(() => { //, p2, p3, p4, p5, p6, p7, p8 this.loading = false }) }, @@ -1218,27 +1222,33 @@ export default { handleClick(tab, event) { console.log(this.activeName) this.loading = true - if((this.activeName === 'administrativeSanction' || this.activeName === 'bizSerIllegalRem') - && !this.isRead1){ + if (this.activeName === 'fourth') { + oauth().then((res) => { + const { data } = res + const path = `/annualReportService/unifiedMGT/annualReportProgress/baseInfo/detail?pripid=${this.$route.query.pripid}&yearReportMode=1` + this.iframeURL = `${process.env.VUE_APP_AICEPS_SERVICE_URL || ''}/aiceps-service-web/#/oauthLogin?redirectUri=${encodeURIComponent(path)}&isIframe=1&encryptedData=${data}` + }) + } else if ((this.activeName === 'administrativeSanction' || this.activeName === 'bizSerIllegalRem') && + !this.isRead1) { const p4 = queryEOtCaseDetails(this.pripid).then(res => { - if (res.code === 0) { - const data = res.data.tsSerIllegalList - this.eOtCaseList = res.data.eOtCase - this.eOtPermitList = res.data.eOtPermit - const list = [] - data.forEach(each => { - each.operationStatus = this.illeaglStatusFormat(each.operationStatus) - list.push(each) - }) - this.tsSerIllegalList = list + if (res.code === 0) { + const data = res.data.tsSerIllegalList + this.eOtCaseList = res.data.eOtCase + this.eOtPermitList = res.data.eOtPermit + const list = [] + data.forEach(each => { + each.operationStatus = this.illeaglStatusFormat(each.operationStatus) + list.push(each) + }) + this.tsSerIllegalList = list // if (this.eOtPermit.candate !== null) { // this.eOtPermit.candate = this.$util.formatDate.format(new Date(Date.parse(this.eOtPermit.candate)), 'yyyy-MM-dd') // } - } + } }) this.isRead1 = true this.loading = false - }else if(this.activeName === 'abnormal' && !this.isRead2){ + } else if (this.activeName === 'abnormal' && !this.isRead2) { // 列异信息 const p3 = listAbnormalRecord(this.pripid).then(res => { if (res.code === 0) { @@ -1255,11 +1265,11 @@ export default { }) this.isRead2 = true this.loading = false - }else if(this.activeName === 'revoke' && !this.isRead3){ + } else if (this.activeName === 'revoke' && !this.isRead3) { const p5 = this.getRevokeListPage() this.isRead3 = true this.loading = false - }else if(this.activeName === 'assign' && !this.isRead4){ + } else if (this.activeName === 'assign' && !this.isRead4) { const p6 = getAssignLogList(this.pripid).then(res => { if (res.code === 0) { this.assignLogList = res.data @@ -1267,7 +1277,7 @@ export default { }) this.isRead4 = true this.loading = false - }else if (this.activeName === 'third' && !this.isRead5) { + } else if (this.activeName === 'third' && !this.isRead5) { // 投诉处理 const p7 = this.getSueInspectList() @@ -1276,7 +1286,7 @@ export default { this.subActiveName = 'first' this.isRead5 = true this.loading = false - }else if(this.activeName === 'basicInfo'){ + } else if (this.activeName === 'basicInfo') { this.loading = false } else if (this.activeName === 'alterInfo' && !this.isRead6) { this.loading = true @@ -1294,7 +1304,7 @@ export default { }) this.isRead6 = true this.loading = false - }else if (this.activeName === 'contactInfo' && !this.isRead7) { + } else if (this.activeName === 'contactInfo' && !this.isRead7) { this.loading = true queryContactByEntNo(this.pripid).then(res => { if (res.code === 0) { @@ -1309,7 +1319,7 @@ export default { }) this.isRead7 = true this.loading = false - }else if (this.activeName === 'contactInfoa' && !this.isRead7) { + } else if (this.activeName === 'contactInfoa' && !this.isRead7) { this.loading = true queryContactByEntNo(this.pripid).then(res => { if (res.code === 0) { diff --git a/src/views/todo/index.vue b/src/views/todo/index.vue index e053dff..a931fa4 100644 --- a/src/views/todo/index.vue +++ b/src/views/todo/index.vue @@ -693,7 +693,7 @@ /> - + 倒计时工作日: + + + 是否显示下级单位待办: + 否 + + 是 + + 查询 @@ -2721,15 +2733,13 @@