Commit 7f65bd12 authored by 许珑标's avatar 许珑标

人力资源企业外部账户查询增加待签约账号

parent 8d8e110a
...@@ -67,3 +67,11 @@ export function giveAccToLabor(laborId) { ...@@ -67,3 +67,11 @@ export function giveAccToLabor(laborId) {
method: 'post' method: 'post'
}) })
} }
// 获取签约中的外部账号
export function queryHasNoAccSign() {
return request({
url: '/business/laborSign/hasNoAcc/queryAll',
method: 'get',
})
}
...@@ -165,6 +165,33 @@ ...@@ -165,6 +165,33 @@
</el-row> </el-row>
</el-card> </el-card>
<el-empty v-if="thirdParty.length == 0" description="暂无账号"></el-empty> <el-empty v-if="thirdParty.length == 0" description="暂无账号"></el-empty>
<el-card class="box-card" v-for="ele in signNoAccList" :key="ele.id">
<el-row>
<el-col :span="16">
<div class="companyConterMain">
<div class="enterpriseImageMain">
<img class="enterpriseImage" src="@/assets/images/enterprise.png" alt="">
</div>
<div class="companyConterInformation">
<div style="width:90%;">
<el-row>
<el-col :span="14">
账户:{{ ele.taxUnitName }}
</el-col>
</el-row>
</div>
<div style="width:90%;">
<el-row>
<el-col :span="16">
待签约
</el-col>
</el-row>
</div>
</div>
</div>
</el-col>
</el-row>
</el-card>
</el-tab-pane> </el-tab-pane>
</el-tabs> </el-tabs>
<!-- 去发薪对话框 --> <!-- 去发薪对话框 -->
...@@ -435,11 +462,13 @@ import QrCodeComponent from '@/components/QrCode.vue' ...@@ -435,11 +462,13 @@ import QrCodeComponent from '@/components/QrCode.vue'
import TaxSignComponent from '@/views/business/salaryAccount/taxSignComponent.vue' import TaxSignComponent from '@/views/business/salaryAccount/taxSignComponent.vue'
import { bindUnitAcc, listAllHasNoOpenInfo } from '@/api/business/unitInfo' import { bindUnitAcc, listAllHasNoOpenInfo } from '@/api/business/unitInfo'
import { allHasNoOpenInfoCompany, bindCompanyAcc } from '@/api/business/companyInfo' import { allHasNoOpenInfoCompany, bindCompanyAcc } from '@/api/business/companyInfo'
import { queryHasNoAccSign } from '@/api/business/laborSign'
export default { export default {
name: 'SalaryAccount', name: 'SalaryAccount',
components: { TaxSignComponent, QrCodeComponent, AccSelect }, components: { TaxSignComponent, QrCodeComponent, AccSelect },
data() { data() {
return { return {
signNoAccList: [],
openSign: { openSign: {
panel: false, panel: false,
companyId: null, companyId: null,
...@@ -684,10 +713,18 @@ export default { ...@@ -684,10 +713,18 @@ export default {
} else if (this.payType == 'second') { } else if (this.payType == 'second') {
this.params.bindType = 2 this.params.bindType = 2
this.getListAllAccInfoFN() this.getListAllAccInfoFN()
this.queryHasNoAccOut();
} }
// console.log(tab, event); // console.log(tab, event);
// console.log('payType', this.payType); // console.log('payType', this.payType);
}, },
queryHasNoAccOut() {
queryHasNoAccSign().then(resp => {
if (200 === resp.code) {
this.signNoAccList = resp.data
}
})
},
viewDetail(card) { viewDetail(card) {
this.$modal.loading("...") this.$modal.loading("...")
getAccAliInfo(card.payAccNo).then(resp => { getAccAliInfo(card.payAccNo).then(resp => {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment