| @@ -12,9 +12,9 @@ module.exports = { | |||||
| proxyTable: { | proxyTable: { | ||||
| "/api": { | "/api": { | ||||
| // 请求的目标主机 | // 请求的目标主机 | ||||
| //target: 'http://218.59.175.44:8082/nsgk_test/', // 公网测试环境 | |||||
| target: 'http://localhost:8080', // 公网测试环境 | |||||
| // target: `http://192.168.0.116:8091/nsgk_api/`, // 内网测试环境 | // target: `http://192.168.0.116:8091/nsgk_api/`, // 内网测试环境 | ||||
| target: 'http://localhost:8080/', | |||||
| //target: 'http://localhost:8080/', | |||||
| //target: 'http://192.168.0.106:8080/', | //target: 'http://192.168.0.106:8080/', | ||||
| changeOrigin: true, | changeOrigin: true, | ||||
| pathRewrite: { | pathRewrite: { | ||||
| @@ -52,3 +52,39 @@ export function generateEmployerCode(params) { | |||||
| method: 'get' | method: 'get' | ||||
| }); | }); | ||||
| } | } | ||||
| // 发包方签字授权(个人) | |||||
| export function authorizeSignaturePsn(id, redirectUrl) { | |||||
| return request({ | |||||
| url: '/service/fbf/authorize/psn/' + id, | |||||
| method: 'get', | |||||
| params: {redirectUrl}, | |||||
| }); | |||||
| } | |||||
| // 发包方签字授权(机构) | |||||
| export function authorizeSignatureOrg(id, redirectUrl) { | |||||
| return request({ | |||||
| url: '/service/fbf/authorize/org/' + id, | |||||
| method: 'post', | |||||
| params: {redirectUrl}, | |||||
| }); | |||||
| } | |||||
| // 发包方企业印章授权(机构) | |||||
| export function authorizeOrgSeal(id, redirectUrl) { | |||||
| return request({ | |||||
| url: '/service/fbf/authorize/oegSeal/' + id, | |||||
| method: 'post', | |||||
| params: {redirectUrl}, | |||||
| }); | |||||
| } | |||||
| // 发包方企业印章授权完成(机构) | |||||
| export function authorizeOrgSealFinished(id, redirectUrl) { | |||||
| return request({ | |||||
| url: '/service/fbf/authorizeFinished/oegSeal/' + id, | |||||
| method: 'post', | |||||
| params: {redirectUrl}, | |||||
| }); | |||||
| } | |||||
| @@ -885,6 +885,14 @@ export function listCbht(query) { | |||||
| }) | }) | ||||
| } | } | ||||
| // 查询承包合同详情 | |||||
| export function getCbhtDetail(id) { | |||||
| return request({ | |||||
| url: '/service/cbht/get/' + id, | |||||
| method: 'get', | |||||
| }) | |||||
| } | |||||
| // 承包合同甲方签名 | // 承包合同甲方签名 | ||||
| export function cbhtFirstSign(data,id) { | export function cbhtFirstSign(data,id) { | ||||
| return request({ | return request({ | ||||
| @@ -911,10 +919,11 @@ export function signedContractDownload(id) { | |||||
| } | } | ||||
| // 签字合同预览 | // 签字合同预览 | ||||
| export function viewSignedContract(id) { | |||||
| export function viewSignedContract(id, type) { | |||||
| return request({ | return request({ | ||||
| url: '/open/villageAffairs/public/sign/view/' + id, | url: '/open/villageAffairs/public/sign/view/' + id, | ||||
| method: 'get' | |||||
| method: 'get', | |||||
| params: {type}, | |||||
| }); | }); | ||||
| } | } | ||||
| @@ -1050,19 +1059,29 @@ export function getMessage(id) { | |||||
| }) | }) | ||||
| } | } | ||||
| //e签宝-发包方合同网签 | //e签宝-发包方合同网签 | ||||
| export function eqbFbfhtwq(data){ | |||||
| export function eqbFbfhtwq(data, parms){ | |||||
| return request({ | return request({ | ||||
| url: '/open/villageAffairs/public/eqbFbfhtwq', | url: '/open/villageAffairs/public/eqbFbfhtwq', | ||||
| method: 'post', | method: 'post', | ||||
| data: data | |||||
| data: data, | |||||
| params: parms, | |||||
| }) | |||||
| } | |||||
| //e签宝-发包方合同网签 | |||||
| export function eqbFbfhtwqFinish(data){ | |||||
| return request({ | |||||
| url: '/open/villageAffairs/public/eqbFbfhtwqFinish', | |||||
| method: 'post', | |||||
| data: data, | |||||
| }) | }) | ||||
| } | } | ||||
| //e签宝-发包方批量生成签署流程 | //e签宝-发包方批量生成签署流程 | ||||
| export function batchEqbContractSignProcess(data){ | |||||
| export function batchEqbContractSignProcess(data, parms){ | |||||
| return request({ | return request({ | ||||
| url: '/service/cbf/batchEqbContractSignProcess', | url: '/service/cbf/batchEqbContractSignProcess', | ||||
| method: 'post', | method: 'post', | ||||
| data: data | |||||
| data: data, | |||||
| params: parms, | |||||
| }) | }) | ||||
| } | } | ||||
| //e签宝-发包方批量签署 | //e签宝-发包方批量签署 | ||||
| @@ -1084,11 +1103,12 @@ export function batchContractCompleted() { | |||||
| } | } | ||||
| //e签宝-合同网签 | //e签宝-合同网签 | ||||
| export function eqbCbfhtwq(data){ | |||||
| export function eqbCbfhtwq(data, parms){ | |||||
| return request({ | return request({ | ||||
| url: '/open/villageAffairs/public/eqbCbfhtwq', | url: '/open/villageAffairs/public/eqbCbfhtwq', | ||||
| method: 'post', | method: 'post', | ||||
| data: data | |||||
| data: data, | |||||
| params: parms, | |||||
| }) | }) | ||||
| } | } | ||||
| // 资源公开 | // 资源公开 | ||||
| @@ -81,11 +81,12 @@ export function examineSign(data){ | |||||
| }) | }) | ||||
| } | } | ||||
| //承包方e签宝授权 | //承包方e签宝授权 | ||||
| export function eqbEmpower(data){ | |||||
| export function eqbEmpower(data, redirectUrl){ | |||||
| return request({ | return request({ | ||||
| url:'/open/villageAffairs/public/eqbEmpower', | url:'/open/villageAffairs/public/eqbEmpower', | ||||
| method: 'post', | method: 'post', | ||||
| data: data | |||||
| data: data, | |||||
| params: {redirectUrl}, | |||||
| }) | }) | ||||
| } | } | ||||
| //承包合同相关统计 | //承包合同相关统计 | ||||
| @@ -213,10 +213,21 @@ | |||||
| this.handleReset(); | this.handleReset(); | ||||
| }); | }); | ||||
| }, | }, | ||||
| getUrl(type) { | |||||
| let url = location.href; | |||||
| let index = url.indexOf('?'); | |||||
| url = index < 0 ? url : url.substring(0, index); | |||||
| if(type) | |||||
| url += '?callback=' + type; | |||||
| return url; | |||||
| }, | |||||
| reload() { | |||||
| location.replace(this.getUrl()); | |||||
| }, | |||||
| contractSign(val){ | contractSign(val){ | ||||
| eqbCbfhtwq(val).then(response => { | |||||
| this.noticeUrl = response.data; | |||||
| this.htqsShow = true; | |||||
| eqbCbfhtwq(val, {redirectUrl: this.getUrl('cbf&ht=' + val.id)}).then(response => { | |||||
| this.noticeUrl = response.data.url; | |||||
| this.htqsShow = true; | |||||
| }); | }); | ||||
| }, | }, | ||||
| @@ -329,7 +340,7 @@ | |||||
| }); | }); | ||||
| }, | }, | ||||
| contractView(id) { | contractView(id) { | ||||
| viewSignedContract(id).then(response => { | |||||
| viewSignedContract(id, 'cbf').then(response => { | |||||
| if (response.code === 200) { | if (response.code === 200) { | ||||
| this.noticeUrl = response.data; | this.noticeUrl = response.data; | ||||
| this.htqsShow = true; | this.htqsShow = true; | ||||
| @@ -2,7 +2,7 @@ | |||||
| <div class="home_wrapper"> | <div class="home_wrapper"> | ||||
| <div class="header_main" > | <div class="header_main" > | ||||
| {{this.$route.query.shStatus?'承包方审核':'承包方授权'}} | {{this.$route.query.shStatus?'承包方审核':'承包方授权'}} | ||||
| <div class="return_btn" @click="onClickLeft"></div> | |||||
| <div class="return_btn" @click="back"></div> | |||||
| </div> | </div> | ||||
| <div class="list_main"> | <div class="list_main"> | ||||
| <div class="titBox"> | <div class="titBox"> | ||||
| @@ -288,15 +288,41 @@ | |||||
| this.getDicts(k).then((resp) => this.options[k] = resp.data); | this.getDicts(k).then((resp) => this.options[k] = resp.data); | ||||
| } | } | ||||
| }, | }, | ||||
| getUrl(type) { | |||||
| let url = location.href; | |||||
| let index = url.indexOf('?'); | |||||
| url = index < 0 ? url : url.substring(0, index); | |||||
| if(type) | |||||
| url += '?callback=' + type; | |||||
| return url; | |||||
| }, | |||||
| reload() { | |||||
| location.replace(this.getUrl()); | |||||
| }, | |||||
| /*承包方授权*/ | /*承包方授权*/ | ||||
| cbfsq(){ | cbfsq(){ | ||||
| eqbEmpower(this.form).then(response => { | |||||
| eqbEmpower(this.form, this.getUrl(/*'psn'*/)).then(response => { | |||||
| if(response.code === 200 ){ | if(response.code === 200 ){ | ||||
| // this.sqbutShow = false; | |||||
| this.$notify({type: 'success', message: '授权成功'}); | |||||
| this.showSignBtn = false; | |||||
| this.showAuthBtn = false; | |||||
| this.showAuthPic = true; | |||||
| if(response.data.realname) | |||||
| { | |||||
| // this.sqbutShow = false; | |||||
| this.$notify({type: 'success', message: '授权成功'}); | |||||
| this.showSignBtn = false; | |||||
| this.showAuthBtn = false; | |||||
| this.showAuthPic = true; | |||||
| } | |||||
| else | |||||
| { | |||||
| console.log('打开E签宝个人认证授权页面: ' + response.data.authUrl); | |||||
| this.$toast({ | |||||
| icon: 'fail', | |||||
| message: '将跳转至个人认证授权页面', | |||||
| duration: '1000', | |||||
| onClose: () => { | |||||
| window.location.href = (response.data.authUrl); | |||||
| } | |||||
| }); | |||||
| } | |||||
| } | } | ||||
| }); | }); | ||||
| }, | }, | ||||
| @@ -441,6 +467,9 @@ | |||||
| type: mime | type: mime | ||||
| }) | }) | ||||
| }, | }, | ||||
| back() { | |||||
| this.$router.push({path:'/sunVillage_info/index_code_rights'}); | |||||
| }, | |||||
| }, | }, | ||||
| } | } | ||||
| </script> | </script> | ||||
| @@ -121,7 +121,18 @@ | |||||
| </template> | </template> | ||||
| <script> | <script> | ||||
| import { listCbht,eqbFbfhtwq, signProcessArchive, signedContractDownload,viewSignedContract, cbhtFirstSign, attachmentList, commonAttach, systemAttachment } from "@/api/sunVillage_info/fixedAssets"; | |||||
| import { | |||||
| listCbht, | |||||
| eqbFbfhtwq, | |||||
| signProcessArchive, | |||||
| signedContractDownload, | |||||
| viewSignedContract, | |||||
| cbhtFirstSign, | |||||
| attachmentList, | |||||
| commonAttach, | |||||
| systemAttachment, | |||||
| getCbhtDetail | |||||
| } from "@/api/sunVillage_info/fixedAssets"; | |||||
| import vueEsign from "vue-esign"; | import vueEsign from "vue-esign"; | ||||
| import $ from "jquery"; | import $ from "jquery"; | ||||
| @@ -174,6 +185,21 @@ | |||||
| this.signingStatusData = res.data; | this.signingStatusData = res.data; | ||||
| }); | }); | ||||
| this.height = window.screen.height * 1.28 - 20; | this.height = window.screen.height * 1.28 - 20; | ||||
| switch(this.$route.query.callback) // 带callback为认证完的回调 | |||||
| { | |||||
| case 'fbf': | |||||
| let htId = this.$route.query.ht || ''; | |||||
| getCbhtDetail(htId).then(({data}) => { | |||||
| if(data.signingMode == '2' && data.fbfqszt !='2' && data.signingStatus !=='9') | |||||
| this.contractSign(data); | |||||
| else | |||||
| console.log(`合同${htId}不允许签署`); | |||||
| }); | |||||
| break; | |||||
| default: | |||||
| break; | |||||
| } | |||||
| }, | }, | ||||
| methods: { | methods: { | ||||
| canvasTTdown() { | canvasTTdown() { | ||||
| @@ -270,10 +296,32 @@ | |||||
| this.$refs.esign.reset(); | this.$refs.esign.reset(); | ||||
| $('#canvasTT').css('display', 'block') | $('#canvasTT').css('display', 'block') | ||||
| }, | }, | ||||
| getUrl(type) { | |||||
| let url = location.href; | |||||
| let index = url.indexOf('?'); | |||||
| url = index < 0 ? url : url.substring(0, index); | |||||
| if(type) | |||||
| url += '?callback=' + type; | |||||
| return url; | |||||
| }, | |||||
| reload() { | |||||
| location.replace(this.getUrl()); | |||||
| }, | |||||
| contractSign(val){ | contractSign(val){ | ||||
| eqbFbfhtwq(val).then(response => { | |||||
| this.noticeUrl = response.data; | |||||
| this.htqsShow = true; | |||||
| eqbFbfhtwq(val, {redirectUrl: this.getUrl('fbf&ht=' + val.id)}).then(response => { | |||||
| if(response.data.authorized) | |||||
| { | |||||
| this.noticeUrl = response.data.url; | |||||
| this.htqsShow = true; | |||||
| } | |||||
| else | |||||
| { | |||||
| this.$notify({type: 'warning', message: '企业机构印章未授权, 请先进行授权操作'}); | |||||
| console.log('打开E签宝机构印章对外授权页面: ' + response.data.authorizationSignUrl); | |||||
| setTimeout(() => { | |||||
| window.location.href = (response.data.authorizationSignUrl); | |||||
| }, 1000); | |||||
| } | |||||
| }); | }); | ||||
| }, | }, | ||||
| @@ -315,7 +363,7 @@ | |||||
| }) | }) | ||||
| }, | }, | ||||
| contractView(id) { | contractView(id) { | ||||
| viewSignedContract(id).then(response => { | |||||
| viewSignedContract(id, 'fbf').then(response => { | |||||
| if (response.code === 200) { | if (response.code === 200) { | ||||
| this.noticeUrl = response.data; | this.noticeUrl = response.data; | ||||
| this.htqsShow = true; | this.htqsShow = true; | ||||
| @@ -151,13 +151,24 @@ | |||||
| },3000) | },3000) | ||||
| }); | }); | ||||
| }, | }, | ||||
| getUrl(type) { | |||||
| let url = location.href; | |||||
| let index = url.indexOf('?'); | |||||
| url = index < 0 ? url : url.substring(0, index); | |||||
| if(type) | |||||
| url += '?callback=' + type; | |||||
| return url; | |||||
| }, | |||||
| reload() { | |||||
| location.replace(this.getUrl()); | |||||
| }, | |||||
| batchEqbContractSignProcess(val){ | batchEqbContractSignProcess(val){ | ||||
| this.$toast.loading({ | this.$toast.loading({ | ||||
| message: "数据处理中", | message: "数据处理中", | ||||
| forbidClick: true, | forbidClick: true, | ||||
| duration: 10000000000, | duration: 10000000000, | ||||
| }); | }); | ||||
| batchEqbContractSignProcess(val).then(response => { | |||||
| batchEqbContractSignProcess(val, {redirectUrl: this.getUrl('fbf&ht=')}).then(response => { | |||||
| this.$toast.clear(); | this.$toast.clear(); | ||||
| this.$toast.success(response.data); | this.$toast.success(response.data); | ||||
| let _this = this; | let _this = this; | ||||
| @@ -2,7 +2,7 @@ | |||||
| <div class="home_wrapper"> | <div class="home_wrapper"> | ||||
| <div class="header_main" > | <div class="header_main" > | ||||
| 发包方授权 | 发包方授权 | ||||
| <div class="return_btn" @click="onClickLeft"></div> | |||||
| <div class="return_btn" @click="back"></div> | |||||
| </div> | </div> | ||||
| <div class="list_main"> | <div class="list_main"> | ||||
| <div class="titBox"> | <div class="titBox"> | ||||
| @@ -33,8 +33,14 @@ | |||||
| <van-field readonly label="审核人签字" input-align="right" :border="false" /> | <van-field readonly label="审核人签字" input-align="right" :border="false" /> | ||||
| <img :src="'/api'+form.shrqz" width="100%" alt="" v-if="form.shrqz" /> | <img :src="'/api'+form.shrqz" width="100%" alt="" v-if="form.shrqz" /> | ||||
| <div style="margin: 30px auto 0;width: 50%;"> | <div style="margin: 30px auto 0;width: 50%;"> | ||||
| <van-button round block type="primary" native-type="submit" @click="handleAuthorization(form.id)" v-if="!form.personAccountId && !form.companyAccountId" > | |||||
| 授权 | |||||
| <van-button size="small" round block type="primary" native-type="submit" @click="handleAuthorizationPsn(form.id)" v-if="!form.personAccountId" class="auth-button"> | |||||
| 个人授权 | |||||
| </van-button> | |||||
| <van-button size="small" round block type="primary" native-type="submit" @click="handleAuthorizationOrg(form.id)" v-if="!form.companyAccountId" class="auth-button"> | |||||
| 企业授权 | |||||
| </van-button> | |||||
| <van-button size="small" round block type="primary" native-type="submit" :disabled="!form.companySealId" @click="handleAuthorizationOrgSeal(form.id)" v-if="!form.companySealId || form.companySealAuthorized !== 'Y'" class="auth-button"> | |||||
| 企业印章授权 | |||||
| </van-button> | </van-button> | ||||
| </div> | </div> | ||||
| <img class="bottomImg" src="../../assets/images/sunVillage_info/employer_authorized.png" alt="" v-if="form.personAccountId && form.companyAccountId" /> | <img class="bottomImg" src="../../assets/images/sunVillage_info/employer_authorized.png" alt="" v-if="form.personAccountId && form.companyAccountId" /> | ||||
| @@ -44,8 +50,15 @@ | |||||
| <script> | <script> | ||||
| // import { getList} from "@/api/sunVillage_info/sysCbf"; | // import { getList} from "@/api/sunVillage_info/sysCbf"; | ||||
| import { listFbf, authorizeSignature } from "@/api/contracted/fbf"; | |||||
| import { | |||||
| listFbf, | |||||
| authorizeSignaturePerson, | |||||
| authorizeSignaturePsn, | |||||
| authorizeSignatureOrg, | |||||
| authorizeOrgSeal | |||||
| } from "@/api/contracted/fbf"; | |||||
| import $ from "jquery"; | import $ from "jquery"; | ||||
| import router from "@/router"; | |||||
| export default { | export default { | ||||
| name: "certificateList", | name: "certificateList", | ||||
| data() { | data() { | ||||
| @@ -55,30 +68,165 @@ | |||||
| }; | }; | ||||
| }, | }, | ||||
| created() { | created() { | ||||
| this.getFbfList(); | |||||
| switch(this.$route.query.callback) // 带callback为认证完的回调 | |||||
| { | |||||
| /* case 'psn': | |||||
| this.getFbfList().then((id) => { | |||||
| console.log('个人认证回调'); | |||||
| this.callbackAuthorizationPsn(id); | |||||
| }); | |||||
| break; | |||||
| case 'org': | |||||
| this.getFbfList().then((id) => { | |||||
| console.log('机构认证回调'); | |||||
| this.callbackAuthorizationOrg(id); | |||||
| }); | |||||
| break;*/ | |||||
| case 'orgSeal': | |||||
| this.getFbfList().then((id) => { | |||||
| console.log('企业印章授权回调'); | |||||
| this.callbackAuthorizationOrgSeal(id); | |||||
| }); | |||||
| break; | |||||
| default: | |||||
| this.getFbfList(); | |||||
| break; | |||||
| } | |||||
| this.getFbfList(); | |||||
| }, | }, | ||||
| methods: { | methods: { | ||||
| getFbfList() { | getFbfList() { | ||||
| listFbf({deptId: this.$store.state.user.loginDeptId, translate_dict: 1}).then(response => { | |||||
| return listFbf({deptId: this.$store.state.user.loginDeptId, translate_dict: 1}).then(response => { | |||||
| if (response.rows.length > 0) { | if (response.rows.length > 0) { | ||||
| this.form = response.rows[0]; | this.form = response.rows[0]; | ||||
| return Promise.resolve(this.form.id); | |||||
| } | |||||
| else | |||||
| return Promise.reject(); | |||||
| }).catch(() => { | |||||
| return Promise.reject(); | |||||
| }); | |||||
| }, | |||||
| handleAuthorizationPsn(id) { | |||||
| authorizeSignaturePsn(id, this.getUrl(/*'psn'*/)).then(response => { | |||||
| if (response.code === 200) { | |||||
| if(response.data.realname) | |||||
| { | |||||
| this.$toast({ | |||||
| icon: 'success', | |||||
| message: '授权成功', | |||||
| duration: '1000', | |||||
| onClose: () => { | |||||
| this.getFbfList(); | |||||
| } | |||||
| }) | |||||
| } | |||||
| else | |||||
| { | |||||
| console.log('打开E签宝个人认证授权页面: ' + response.data.authUrl); | |||||
| this.$toast({ | |||||
| icon: 'fail', | |||||
| message: '将跳转至个人认证授权页面', | |||||
| duration: '1000', | |||||
| onClose: () => { | |||||
| window.location.href = (response.data.authUrl); | |||||
| } | |||||
| }); | |||||
| } | |||||
| } | } | ||||
| }); | }); | ||||
| }, | }, | ||||
| handleAuthorization(id) { | |||||
| authorizeSignature(id).then(response => { | |||||
| handleAuthorizationOrg(id) { | |||||
| authorizeSignatureOrg(id, this.getUrl(/*'org'*/)).then(response => { | |||||
| if (response.code === 200) { | if (response.code === 200) { | ||||
| this.$toast({ | |||||
| icon: 'success', | |||||
| message: '授权成功', | |||||
| duration: '1000', | |||||
| onClose: () => { | |||||
| this.getFbfList(); | |||||
| if(response.data.realname) | |||||
| { | |||||
| this.$toast({ | |||||
| icon: 'success', | |||||
| message: '授权成功', | |||||
| duration: '1000', | |||||
| onClose: () => { | |||||
| this.getFbfList(); | |||||
| } | |||||
| }) | |||||
| } | |||||
| else | |||||
| { | |||||
| console.log('打开E签宝机构认证授权页面: ' + response.data.authUrl); | |||||
| this.$toast({ | |||||
| icon: 'fail', | |||||
| message: '将跳转至企业认证授权页面', | |||||
| duration: '1000', | |||||
| onClose: () => { | |||||
| window.location.href = (response.data.authUrl); | |||||
| } | |||||
| }); | |||||
| } | |||||
| } | |||||
| }); | |||||
| }, | |||||
| handleAuthorizationOrgSeal(id) { | |||||
| authorizeOrgSeal(id, this.getUrl('orgSeal')).then(response => { | |||||
| if (response.code === 200) { | |||||
| if(response.data.realname) | |||||
| { | |||||
| this.$toast({ | |||||
| icon: 'success', | |||||
| message: '授权成功', | |||||
| duration: '1000', | |||||
| onClose: () => { | |||||
| this.getFbfList(); | |||||
| } | |||||
| }) | |||||
| } | |||||
| else | |||||
| { | |||||
| console.log('打开E签宝机构印章授权页面: ' + response.data.authUrl); | |||||
| this.$toast({ | |||||
| icon: 'fail', | |||||
| message: '将跳转至企业印章授权页面', | |||||
| duration: '1000', | |||||
| onClose: () => { | |||||
| window.location.href = (response.data.authUrl); | |||||
| } | |||||
| }); | |||||
| } | |||||
| } | } | ||||
| }) | |||||
| }); | |||||
| }, | |||||
| getUrl(type) { | |||||
| let url = location.href; | |||||
| let index = url.indexOf('?'); | |||||
| url = index < 0 ? url : url.substring(0, index); | |||||
| if(type) | |||||
| url += '?callback=' + type; | |||||
| return url; | |||||
| }, | |||||
| reload() { | |||||
| location.replace(this.getUrl()); | |||||
| }, | |||||
| callbackAuthorizationOrgSeal(id) { | |||||
| authorizeOrgSeal(id, this.getUrl(/*'orgSeal'*/)).then(response => { | |||||
| if (response.code === 200) { | |||||
| if(response.data.realname) | |||||
| { | |||||
| this.reload(); | |||||
| } | |||||
| else | |||||
| { | |||||
| console.log('E签宝机构印章授权失败'); | |||||
| this.$toast({ | |||||
| icon: 'fail', | |||||
| message: '企业印章授权失败', | |||||
| duration: '1000', | |||||
| }); | |||||
| } | |||||
| } | } | ||||
| }); | }); | ||||
| } | |||||
| }, | |||||
| back() { | |||||
| this.$router.push({path:'/sunVillage_info/index'}); | |||||
| }, | |||||
| }, | }, | ||||
| } | } | ||||
| </script> | </script> | ||||
| @@ -140,6 +288,10 @@ | |||||
| margin: 25px auto 0; | margin: 25px auto 0; | ||||
| border-radius: 15PX; | border-radius: 15PX; | ||||
| box-shadow: 4px 6px 5px rgba(63, 68, 75, 0.1); | box-shadow: 4px 6px 5px rgba(63, 68, 75, 0.1); | ||||
| .auth-button { | |||||
| margin-bottom: .1rem; | |||||
| } | |||||
| } | } | ||||
| .titBox { | .titBox { | ||||