yujialong 3 months ago
parent 50879e3708
commit debdf2a559
  1. 11
      src/pages/counter/list/index.vue
  2. 425
      src/pages/lobbyManager/list/index.vue
  3. 12
      src/pages/manage/list/corporateLoans/apply/creditApplication/index.vue
  4. 1
      src/pages/manage/list/personalLoans/detail.vue

@ -698,10 +698,6 @@ export default {
}, },
computed: { computed: {
...mapState('system', ['isCredit', 'creditImportIndex', 'creditImportIds']), ...mapState('system', ['isCredit', 'creditImportIndex', 'creditImportIds']),
//
isCredit: function () {
return this.$store.state.system.isCredit;
},
// id // id
isSeal () { isSeal () {
const stampMap2 = { const stampMap2 = {
@ -1568,9 +1564,12 @@ export default {
closeData () { closeData () {
this.checkList = []; this.checkList = [];
}, },
showManage () {// showManage (toDefault) {//
const path = sessionStorage.getItem(this.isCredit ? 'creditPath' : 'computerPath')
if (path || toDefault) {
this.manageVisible = true; this.manageVisible = true;
this.$router.push(sessionStorage.getItem(this.isCredit ? 'creditPath' : 'computerPath') || (this.isCredit ? '/counter/list/manage/personalLoans' : '/counter/list/manage/consumerClient')) this.$router.push(path || (this.isCredit ? '/counter/list/manage/personalLoans' : '/counter/list/manage/consumerClient'))
}
}, },
popSure () {/* 弹框-确定 */ popSure () {/* 弹框-确定 */
// //

@ -13,7 +13,8 @@
<li @click="showRecaption" class=" duration-1000">取回</li> <li @click="showRecaption" class=" duration-1000">取回</li>
</ul> </ul>
</div> </div>
<el-dialog :visible.sync="takeVisible" style="width: 100%" @close="closeTake" :close-on-click-modal="false" :show-close="false" custom-class="data-dia "> <el-dialog :visible.sync="takeVisible" style="width: 100%" @close="closeTake" :close-on-click-modal="false"
:show-close="false" custom-class="data-dia ">
<div slot="title" class="dia-header"> <div slot="title" class="dia-header">
<div class="data-title">取号机</div> <div class="data-title">取号机</div>
<img class="close" src="@/assets/svg/close.svg" alt="" @click="closeTakeDia"> <img class="close" src="@/assets/svg/close.svg" alt="" @click="closeTakeDia">
@ -21,7 +22,8 @@
<p class="tips">- 请选择办理的业务 -</p> <p class="tips">- 请选择办理的业务 -</p>
<ul class="take-list"> <ul class="take-list">
<!-- @click="checkTake(index)" --> <!-- @click="checkTake(index)" -->
<li v-for="(item, index) in handleBusiness" :class="{checked: takeCheck == index}" :key="item.key" @click="checkTake(index)"> <li v-for="(item, index) in handleBusiness" :class="{ checked: takeCheck == index }" :key="item.key"
@click="checkTake(index)">
<img :src="item.img" :alt="item.name" :title="item.name"> <img :src="item.img" :alt="item.name" :title="item.name">
<p>{{ item.name }}</p> <p>{{ item.name }}</p>
</li> </li>
@ -47,104 +49,84 @@
</div> </div>
</el-dialog> </el-dialog>
<!-- :visible.sync="takeResultVisible" --> <!-- :visible.sync="takeResultVisible" -->
<el-dialog :visible.sync="takeResultVisible" width="400px" :close-on-click-modal="false" :show-close="false" custom-class="data-dia "> <el-dialog :visible.sync="takeResultVisible" width="400px" :close-on-click-modal="false" :show-close="false"
custom-class="data-dia ">
<div slot="title" class="dia-header"> <div slot="title" class="dia-header">
<div class="data-title">{{ workingName + '机'}}</div> <div class="data-title">{{ workingName + '机' }}</div>
<img class="close" src="@/assets/svg/close.svg" alt="" @click="takeResultVisible = false"> <img class="close" src="@/assets/svg/close.svg" alt="" @click="takeResultVisible = false">
</div> </div>
<div class="result"> <div class="result">
<div style='width: 60px;height: 60px;margin: auto'> <div style='width: 60px;height: 60px;margin: auto'>
<img src="@/assets/img/finish.png" alt=""> <img src="@/assets/img/finish.png" alt="">
</div> </div>
<h6>{{ workingName + '成功'}}</h6> <h6>{{ workingName + '成功' }}</h6>
<p v-if="workingName === '取号'" class="text">您选择了{{ handleBusiness[takeCheck]? handleBusiness[takeCheck].name: ''}}</p> <p v-if="workingName === '取号'" class="text">您选择了{{ handleBusiness[takeCheck] ? handleBusiness[takeCheck].name :
''}}</p>
</div> </div>
</el-dialog> </el-dialog>
<el-dialog :visible.sync="dataVisible" style="width: 100%;margin-top: -90px;" @close="closeData" :close-on-click-modal="false" :show-close="false" custom-class="data-dia"> <el-dialog :visible.sync="dataVisible" style="width: 100%;margin-top: -90px;" @close="closeData"
:close-on-click-modal="false" :show-close="false" custom-class="data-dia">
<div slot="title" class="dia-header"> <div slot="title" class="dia-header">
<div class="data-title">银行单据</div> <div class="data-title">银行单据</div>
<img class="close" src="@/assets/svg/close.svg" alt="" @click="closeDataDia"> <img class="close" src="@/assets/svg/close.svg" alt="" @click="closeDataDia">
</div> </div>
<p class="tips">- 请单击选中所需材料双击可放大预览 -</p> <p class="tips">- 请单击选中所需材料双击可放大预览 -</p>
<ul class="list"> <ul class="list">
<li :class="{checked: checkList.includes(elImg[0].key)}" @click="checkData(elImg[0].key)"> <li :class="{ checked: checkList.includes(elImg[0].key) }" @click="checkData(elImg[0].key)">
<el-image <el-image :src="elImg[0].img" :fit="elImgFit" :title="elImg[0].name" :alt="elImg[0].name"></el-image>
:src="elImg[0].img"
:fit="elImgFit"
:title="elImg[0].name"
:alt="elImg[0].name"
></el-image>
<!-- <img style='width: 100%;height: 154px' src="@/assets/img/goods/accountApplyBook.jpg" alt=""> --> <!-- <img style='width: 100%;height: 154px' src="@/assets/img/goods/accountApplyBook.jpg" alt=""> -->
<p>{{ elImg[0].name }}</p> <p>{{ elImg[0].name }}</p>
</li> </li>
<li :class="{checked: checkList.includes(elImg[1].key)}" @click="checkData(elImg[1].key)"> <li :class="{ checked: checkList.includes(elImg[1].key) }" @click="checkData(elImg[1].key)">
<img :src="elImg[1].img" :alt="elImg[1].name" :title="elImg[1].name"> <img :src="elImg[1].img" :alt="elImg[1].name" :title="elImg[1].name">
<p>{{ elImg[1].name }}</p> <p>{{ elImg[1].name }}</p>
</li> </li>
<li :class="{checked: checkList.includes(elImg[2].key)}" @click="checkData(elImg[2].key)"> <li :class="{ checked: checkList.includes(elImg[2].key) }" @click="checkData(elImg[2].key)">
<el-image <el-image style="margin-top: 0" :src="elImg[2].img" :fit="elImgFit"></el-image>
style="margin-top: 0"
:src="elImg[2].img"
:fit="elImgFit"
></el-image>
<p>{{ elImg[2].name }}</p> <p>{{ elImg[2].name }}</p>
</li> </li>
<li :class="{checked: checkList.includes(elImg[3].key)}" @click="checkData(elImg[3].key)"> <li :class="{ checked: checkList.includes(elImg[3].key) }" @click="checkData(elImg[3].key)">
<!-- <img class="" :src="elImg[3].img" :alt="elImg[3].name" :title="elImg[3].name"> --> <!-- <img class="" :src="elImg[3].img" :alt="elImg[3].name" :title="elImg[3].name"> -->
<el-image <el-image style="margin-top: 0" :src="elImg[3].img" :fit="elImgFit"></el-image>
style="margin-top: 0"
:src="elImg[3].img"
:fit="elImgFit"
></el-image>
<p :title="elImg[3].name">{{ elImg[3].name }}</p> <p :title="elImg[3].name">{{ elImg[3].name }}</p>
</li> </li>
<li :class="{checked: checkList.includes(elImg[4].key)}" @click="checkData(elImg[4].key)"> <li :class="{ checked: checkList.includes(elImg[4].key) }" @click="checkData(elImg[4].key)">
<img :src="elImg[4].img" :alt="elImg[4].name" :title="elImg[4].name"> <img :src="elImg[4].img" :alt="elImg[4].name" :title="elImg[4].name">
<p>{{ elImg[4].name }}</p> <p>{{ elImg[4].name }}</p>
</li> </li>
<li :class="{checked: checkList.includes(elImg[5].key)}" @click="checkData(elImg[5].key)"> <li :class="{ checked: checkList.includes(elImg[5].key) }" @click="checkData(elImg[5].key)">
<img :src="elImg[5].img" :alt="elImg[5].name" :title="elImg[5].name"> <img :src="elImg[5].img" :alt="elImg[5].name" :title="elImg[5].name">
<p>{{ elImg[5].name }}</p> <p>{{ elImg[5].name }}</p>
</li> </li>
<li :class="{checked: checkList.includes(elImg[6].key)}" @click="checkData(elImg[6].key)"> <li :class="{ checked: checkList.includes(elImg[6].key) }" @click="checkData(elImg[6].key)">
<!-- <img style="margin-top: 0" src="@/assets/img/open-account-apply-sm.png" alt=""> --> <!-- <img style="margin-top: 0" src="@/assets/img/open-account-apply-sm.png" alt=""> -->
<el-image <el-image :src="elImg[6].img" :fit="elImgFit" :title="elImg[6].name" :alt="elImg[6].name" lazy></el-image>
:src="elImg[6].img"
:fit="elImgFit"
:title="elImg[6].name"
:alt="elImg[6].name"
lazy></el-image>
<p>{{ elImg[6].name }}</p> <p>{{ elImg[6].name }}</p>
</li> </li>
<li :class="{checked: checkList.includes(elImg[7].key)}" @click="checkData(elImg[7].key)"> <li :class="{ checked: checkList.includes(elImg[7].key) }" @click="checkData(elImg[7].key)">
<img style="margin-top: 10px" :src="elImg[7].img" :alt="elImg[7].name" :title="elImg[7].name"> <img style="margin-top: 10px" :src="elImg[7].img" :alt="elImg[7].name" :title="elImg[7].name">
<p>{{ elImg[7].name }}</p> <p>{{ elImg[7].name }}</p>
</li> </li>
<li :class="{checked: checkList.includes(elImg[8].key)}" @click="checkData(elImg[8].key)"> <li :class="{ checked: checkList.includes(elImg[8].key) }" @click="checkData(elImg[8].key)">
<img :src="elImg[8].img" :alt="elImg[8].name" :title="elImg[8].name"> <img :src="elImg[8].img" :alt="elImg[8].name" :title="elImg[8].name">
<p>{{ elImg[8].name }}</p> <p>{{ elImg[8].name }}</p>
</li> </li>
<li :class="{checked: checkList.includes(elImg[9].key)}" @click="checkData(elImg[9].key)"> <li :class="{ checked: checkList.includes(elImg[9].key) }" @click="checkData(elImg[9].key)">
<!-- <img style="margin-top: 0" src="@/assets/img/open-account-apply-sm.png" alt=""> --> <!-- <img style="margin-top: 0" src="@/assets/img/open-account-apply-sm.png" alt=""> -->
<el-image <el-image :src="elImg[9].img" :fit="elImgFit" :title="elImg[9].name" :alt="elImg[9].name" lazy></el-image>
:src="elImg[9].img"
:fit="elImgFit"
:title="elImg[9].name"
:alt="elImg[9].name"
lazy></el-image>
<p>{{ elImg[9].name }}</p> <p>{{ elImg[9].name }}</p>
</li> </li>
<li :class="{checked: checkList.includes(elImg[10].key)}" @click="checkData(elImg[10].key)"> <li :class="{ checked: checkList.includes(elImg[10].key) }" @click="checkData(elImg[10].key)">
<img style="margin-top: 10px" :src="elImg[10].img" :alt="elImg[10].name" :title="elImg[10].name"> <img style="margin-top: 10px" :src="elImg[10].img" :alt="elImg[10].name" :title="elImg[10].name">
<p>{{ elImg[10].name }}</p> <p>{{ elImg[10].name }}</p>
</li> </li>
<li :class="{checked: checkList.includes(elImg[11].key)}" @click="checkData(elImg[11].key)"> <li :class="{ checked: checkList.includes(elImg[11].key) }" @click="checkData(elImg[11].key)">
<img style="margin-top: 10px" :src="elImg[11].img" :alt="elImg[11].name" :title="elImg[11].name"> <img style="margin-top: 10px" :src="elImg[11].img" :alt="elImg[11].name" :title="elImg[11].name">
<p>{{ elImg[11].name }}</p> <p>{{ elImg[11].name }}</p>
</li> </li>
<li :class="{checked: checkList.includes(elImg[12].key)}" @click="checkData(elImg[12].key)"> <li :class="{ checked: checkList.includes(elImg[12].key) }" @click="checkData(elImg[12].key)">
<img style="margin-top: 10px" :src="elImg[12].img" :alt="elImg[12].name" :title="elImg[12].name"> <img style="margin-top: 10px" :src="elImg[12].img" :alt="elImg[12].name" :title="elImg[12].name">
<p>{{ elImg[12].name }}</p> <p>{{ elImg[12].name }}</p>
</li> </li>
@ -160,24 +142,22 @@
</div> </div>
</el-dialog> </el-dialog>
<el-dialog :visible.sync="copyVisible" style="width: 100%" @close="closeData" :close-on-click-modal="false" :show-close="false" custom-class="data-dia "> <el-dialog :visible.sync="copyVisible" style="width: 100%" @close="closeData" :close-on-click-modal="false"
:show-close="false" custom-class="data-dia ">
<div slot="title" class="dia-header"> <div slot="title" class="dia-header">
<div class="data-title">复印</div> <div class="data-title">复印</div>
<img class="close" src="@/assets/svg/close.svg" alt="" @click="closeCopyDia"> <img class="close" src="@/assets/svg/close.svg" alt="" @click="closeCopyDia">
</div> </div>
<p class="tips">- 请单击选中复印材料双击可放大预览 -</p> <p class="tips">- 请单击选中复印材料双击可放大预览 -</p>
<ul class="flex justify-center"> <ul class="flex justify-center">
<div v-for="item in elImg2" class="list flex-col spacialStyle" style="justify-content: flex-start" @click="checkData(item.key, item.copyState)" :key="item.key"> <div v-for="item in elImg2" class="list flex-col spacialStyle" style="justify-content: flex-start"
<li :class="{checked: checkList.includes(item.key)}"> @click="checkData(item.key, item.copyState)" :key="item.key">
<li :class="{ checked: checkList.includes(item.key) }">
<!-- <img :src="item.img" :title="item.name" :alt="item.name"> --> <!-- <img :src="item.img" :title="item.name" :alt="item.name"> -->
<el-image <el-image style="margin-top: -10" :src="item.img" :fit="elImgFit"></el-image>
style="margin-top: -10"
:src="item.img"
:fit="elImgFit"
></el-image>
<p>{{ item.name }}</p> <p>{{ item.name }}</p>
</li> </li>
<p>{{ item.copyState?'已复印': ' ' }}</p> <p>{{ item.copyState ? '已复印' : ' ' }}</p>
</div> </div>
</ul> </ul>
<div class="dia-footer"> <div class="dia-footer">
@ -186,23 +166,22 @@
</el-dialog> </el-dialog>
<el-dialog :visible.sync="recaptionVisible" style="width: 100%" @close="closeData" :close-on-click-modal="false" :show-close="false" custom-class="data-dia "> <el-dialog :visible.sync="recaptionVisible" style="width: 100%" @close="closeData" :close-on-click-modal="false"
:show-close="false" custom-class="data-dia ">
<div slot="title" class="dia-header"> <div slot="title" class="dia-header">
<div class="data-title">取回</div> <div class="data-title">取回</div>
<img class="close" src="@/assets/svg/close.svg" alt="" @click="closeRecaption"> <img class="close" src="@/assets/svg/close.svg" alt="" @click="closeRecaption">
</div> </div>
<p class="tips">- 请单击选中复印材料双击可放大预览 -</p> <p class="tips">- 请单击选中复印材料双击可放大预览 -</p>
<ul class="flex justify-center flex-wrap" > <ul class="flex justify-center flex-wrap">
<div v-for="item in elImg3" class="list flex-col spacialStyle" style="justify-content: flex-start" @click="checkData(item.key, item.returnState)" :key="item.key"> <div v-for="item in elImg3" class="list flex-col spacialStyle" style="justify-content: flex-start"
<li :class="{checked: checkList.includes(item.key)}"> @click="checkData(item.key, item.returnState)" :key="item.key">
<li :class="{ checked: checkList.includes(item.key) }">
<!-- <img :src="item.img" :title="item.name" :alt="item.name"> --> <!-- <img :src="item.img" :title="item.name" :alt="item.name"> -->
<el-image <el-image :src="item.img" :fit="elImgFit"></el-image>
:src="item.img"
:fit="elImgFit"
></el-image>
<p :title="item.name">{{ item.name }}</p> <p :title="item.name">{{ item.name }}</p>
</li> </li>
<p>{{ item.returnState ? '已取回': (item.copy ? '复印件' : '') }}</p> <p>{{ item.returnState ? '已取回' : (item.copy ? '复印件' : '') }}</p>
</div> </div>
</ul> </ul>
<div class="dia-footer"> <div class="dia-footer">
@ -236,11 +215,7 @@
</el-dialog> --> </el-dialog> -->
<!-- 图片查看器 --> <!-- 图片查看器 -->
<el-dialog <el-dialog custom-class="data-dia imgIndex" :visible.sync="showImg" width="800px">
custom-class="data-dia imgIndex"
:visible.sync="showImg"
width="800px"
>
<img :src="imgSrc" class="imgPop imgIndex min-w-full " alt=""> <img :src="imgSrc" class="imgPop imgIndex min-w-full " alt="">
</el-dialog> </el-dialog>
</div> </div>
@ -254,7 +229,7 @@ import saveSystemModule from '@/mixins/saveSystemModule'
export default { export default {
name: 'index', name: 'index',
data() { data () {
return { return {
workingName: '', // workingName: '', //
clickNum: 0, // clickNum: 0, //
@ -293,61 +268,61 @@ export default {
{ img: require('@/assets/img/idCard-sm.png'), name: '身份证', key: 13, copyState: false, returnState: false }, { img: require('@/assets/img/idCard-sm.png'), name: '身份证', key: 13, copyState: false, returnState: false },
], ],
elImg3: [], elImg3: [],
listLi1 : [ listLi1: [
{checked: 1, click: 1, src: require('@/assets/img/goods/accountApplyBook.jpg'), title: '开户申请书'}, { checked: 1, click: 1, src: require('@/assets/img/goods/accountApplyBook.jpg'), title: '开户申请书' },
{checked: 2, click: 2, src: require('@/assets/img/idCard-copy-sm.png'), title: '密码挂失申请书'}, { checked: 2, click: 2, src: require('@/assets/img/idCard-copy-sm.png'), title: '密码挂失申请书' },
{checked: 3, click: 3, src: require('@/assets/img/goods/businessSpecialApplication.png'), title: '特殊业务申请书'}, { checked: 3, click: 3, src: require('@/assets/img/goods/businessSpecialApplication.png'), title: '特殊业务申请书' },
{checked: 4, click: 4, src: require('@/assets/img/goods/cash-sm.png'), title: '开立单位银行结算账户申请书'}, { checked: 4, click: 4, src: require('@/assets/img/goods/cash-sm.png'), title: '开立单位银行结算账户申请书' },
{checked: 1, click: 5, src: require('@/assets/img/goods/CashCertificate.png'), title: '现金存款凭证'}, { checked: 1, click: 5, src: require('@/assets/img/goods/CashCertificate.png'), title: '现金存款凭证' },
{checked: 2, click: 6, src: require('@/assets/img/goods/zzpt.png'), title: '转账凭证'}, { checked: 2, click: 6, src: require('@/assets/img/goods/zzpt.png'), title: '转账凭证' },
{checked: 4, click: 8, src: require('@/assets/img/goods/cash-sm.png'), title: '境外汇款申请书'}, { checked: 4, click: 8, src: require('@/assets/img/goods/cash-sm.png'), title: '境外汇款申请书' },
{checked: 3, click: 7, src: require('@/assets/img/open-account-apply-sm.png'), title: '现金支票'}, { checked: 3, click: 7, src: require('@/assets/img/open-account-apply-sm.png'), title: '现金支票' },
{checked: 4, click: 8, src: require('@/assets/img/goods/cash-sm.png'), title: '转账支票'}, { checked: 4, click: 8, src: require('@/assets/img/goods/cash-sm.png'), title: '转账支票' },
{checked: 2, click: 6, src: require('@/assets/img/idCard-copy-sm.png'), title: '支票领购单'}, { checked: 2, click: 6, src: require('@/assets/img/idCard-copy-sm.png'), title: '支票领购单' },
{checked: 3, click: 7, src: require('@/assets/img/open-account-apply-sm.png'), title: '现金缴款单'}, { checked: 3, click: 7, src: require('@/assets/img/open-account-apply-sm.png'), title: '现金缴款单' },
{checked: 4, click: 8, src: require('@/assets/img/goods/cash-sm.png'), title: '境外汇款申请书'}, { checked: 4, click: 8, src: require('@/assets/img/goods/cash-sm.png'), title: '境外汇款申请书' },
], ],
lazy1: require('@/assets/img/manager.png'), lazy1: require('@/assets/img/manager.png'),
submited: 0 submited: 0
} }
}, },
created() { created () {
const parentId = '285,' + this.$store.state.system.businessSelect[this.$store.state.system.businessKey].id + ',286,416' const parentId = '285,' + this.$store.state.system.businessSelect[this.$store.state.system.businessKey].id + ',286,416'
let param= { let param = {
parentId parentId
} }
getOperation(param).then((data)=>{ getOperation(param).then((data) => {
console.log('缓存的data') console.log('缓存的data')
console.log(data) console.log(data)
}) })
}, },
mixins: [saveSystemModule], mixins: [saveSystemModule],
mounted() { mounted () {
}, },
methods: { methods: {
showTake(type){ showTake (type) {
this.workingName = '取号' this.workingName = '取号'
this.takeVisible = true this.takeVisible = true
}, },
checkTake(index){ checkTake (index) {
if(this.takeCheck === index) { if (this.takeCheck === index) {
this.takeCheck = -1 this.takeCheck = -1
}else { } else {
this.takeCheck = index this.takeCheck = index
} }
}, },
closeTakeDia(){ closeTakeDia () {
this.takeVisible = false this.takeVisible = false
}, },
closeTake(){ closeTake () {
// this.takeCheck = 0 // this.takeCheck = 0
}, },
// //
confirmTake(){ confirmTake () {
if (this.submited) return this.$message.error('已提交!') if (this.submited) return this.$message.error('已提交!')
if(this.takeCheck < 0) { if (this.takeCheck < 0) {
this.$message({ this.$message({
message: '请选择一个您要办理的业务', message: '请选择一个您要办理的业务',
type: 'warning', type: 'warning',
@ -358,23 +333,23 @@ export default {
// "285," + this.$store.state.system.businessSelect[this.$store.state.system.businessKey].id +",287,5,25,33,43" // "285," + this.$store.state.system.businessSelect[this.$store.state.system.businessKey].id +",287,5,25,33,43"
const formList = []; const formList = [];
formList.push({"answerId":this.handleBusiness[this.takeCheck].key,"emptyOne": "", "emptyTwo": '', "operationIds": '285,' + this.$store.state.system.businessSelect[this.$store.state.system.businessKey].id + ',286,399,' + this.handleBusiness[this.takeCheck].key, "type": ""}) formList.push({ "answerId": this.handleBusiness[this.takeCheck].key, "emptyOne": "", "emptyTwo": '', "operationIds": '285,' + this.$store.state.system.businessSelect[this.$store.state.system.businessKey].id + ',286,399,' + this.handleBusiness[this.takeCheck].key, "type": "" })
const params= { const params = {
parentId: '285,' + this.$store.state.system.businessSelect[this.$store.state.system.businessKey].id + ',286,399', parentId: '285,' + this.$store.state.system.businessSelect[this.$store.state.system.businessKey].id + ',286,399',
lcJudgmentRuleReq:formList, lcJudgmentRuleReq: formList,
projectId:+projectId, projectId: +projectId,
startTime:startTime, startTime: startTime,
} }
addOperation(params).then((data)=>{ addOperation(params).then((data) => {
this.submited = 1 this.submited = 1
this.takeVisible = false this.takeVisible = false
this.takeResultVisible = true this.takeResultVisible = true
setTimeout(() => { setTimeout(() => {
if(this.takeResultVisible) { if (this.takeResultVisible) {
this.takeResultVisible = false this.takeResultVisible = false
} }
}, 700) }, 700)
}).catch((error)=>{ }).catch((error) => {
this.$message({ this.$message({
showClose: true, showClose: true,
message: '网络可能有问题,取号失败', message: '网络可能有问题,取号失败',
@ -386,10 +361,10 @@ export default {
}, },
// //
fillIt() { fillIt () {
const formList = []; const formList = [];
let checkList = [...this.checkList] let checkList = [...this.checkList]
if(this.checkList.length <= 0) { if (this.checkList.length <= 0) {
this.$message({ this.$message({
message: '请选择至少一个填单', message: '请选择至少一个填单',
type: 'warning', type: 'warning',
@ -399,21 +374,21 @@ export default {
} }
const tmp = sessionStorage.getItem('isFill') const tmp = sessionStorage.getItem('isFill')
if(tmp) { if (tmp) {
checkList = [...new Set([...JSON.parse(tmp), ...checkList])] checkList = [...new Set([...JSON.parse(tmp), ...checkList])]
} }
for(let i=0; i<checkList.length; i++) { for (let i = 0; i < checkList.length; i++) {
formList.push({"answerId":checkList[i],"emptyOne": "", "emptyTwo": '', "operationIds": '285,' + this.$store.state.system.businessSelect[this.$store.state.system.businessKey].id + ',286,404,' + checkList[i], "type": ""}) formList.push({ "answerId": checkList[i], "emptyOne": "", "emptyTwo": '', "operationIds": '285,' + this.$store.state.system.businessSelect[this.$store.state.system.businessKey].id + ',286,404,' + checkList[i], "type": "" })
} }
const params= { const params = {
parentId: '285,' + this.$store.state.system.businessSelect[this.$store.state.system.businessKey].id + ',286, 404', parentId: '285,' + this.$store.state.system.businessSelect[this.$store.state.system.businessKey].id + ',286, 404',
lcJudgmentRuleReq:formList, lcJudgmentRuleReq: formList,
projectId:+projectId, projectId: +projectId,
startTime:startTime, startTime: startTime,
} }
addOperation(params).then((data)=>{ addOperation(params).then((data) => {
// ... // ...
this.dataVisible = false this.dataVisible = false
const isFill = [...this.checkList] const isFill = [...this.checkList]
@ -421,11 +396,11 @@ export default {
this.checkList = [] this.checkList = []
this.takeResultVisible = true this.takeResultVisible = true
setTimeout(() => { setTimeout(() => {
if(this.takeResultVisible) { if (this.takeResultVisible) {
this.takeResultVisible = false this.takeResultVisible = false
} }
}, 700) }, 700)
}).catch((error)=>{ }).catch((error) => {
this.$message({ this.$message({
showClose: true, showClose: true,
message: '网络可能有问题,填单失败', message: '网络可能有问题,填单失败',
@ -435,10 +410,10 @@ export default {
}) })
}, },
// //
sureCopy() { sureCopy () {
const formList = []; const formList = [];
const checkList = [...this.checkList] const checkList = [...this.checkList]
if(this.checkList.length <= 0) { if (this.checkList.length <= 0) {
this.$message({ this.$message({
message: '请选择至少一个文件进行复印', message: '请选择至少一个文件进行复印',
type: 'warning', type: 'warning',
@ -446,25 +421,25 @@ export default {
}); });
return return
} }
for(let i=0; i<checkList.length; i++) { for (let i = 0; i < checkList.length; i++) {
formList.push({"answerId":checkList[i],"emptyOne": "", "emptyTwo": '', "operationIds": '285,' + this.$store.state.system.businessSelect[this.$store.state.system.businessKey].id + ',286,416,' + checkList[i], "type": ""}) formList.push({ "answerId": checkList[i], "emptyOne": "", "emptyTwo": '', "operationIds": '285,' + this.$store.state.system.businessSelect[this.$store.state.system.businessKey].id + ',286,416,' + checkList[i], "type": "" })
} }
this.elImg2.map(item=> { this.elImg2.map(item => {
if(item.copyState) { if (item.copyState) {
formList.push({"answerId":item.key,"emptyOne": "", "emptyTwo": '', "operationIds": '285,' + this.$store.state.system.businessSelect[this.$store.state.system.businessKey].id + ',286,416,' + item.key, "type": ""}) formList.push({ "answerId": item.key, "emptyOne": "", "emptyTwo": '', "operationIds": '285,' + this.$store.state.system.businessSelect[this.$store.state.system.businessKey].id + ',286,416,' + item.key, "type": "" })
} }
}) })
const params= { const params = {
parentId: '285,' + this.$store.state.system.businessSelect[this.$store.state.system.businessKey].id + ',286, 416', parentId: '285,' + this.$store.state.system.businessSelect[this.$store.state.system.businessKey].id + ',286, 416',
lcJudgmentRuleReq:formList, lcJudgmentRuleReq: formList,
projectId:+projectId, projectId: +projectId,
startTime:startTime, startTime: startTime,
} }
addOperation(params).then((data)=>{ addOperation(params).then((data) => {
// ... // ...
this.copyVisible = false this.copyVisible = false
this.elImg2.map(item => { this.elImg2.map(item => {
if(this.checkList.findIndex(item2 => item2 === item.key ) !== -1) { if (this.checkList.findIndex(item2 => item2 === item.key) !== -1) {
item.copyState = true item.copyState = true
this.elImg3.find(e => e.key == item.key) || this.elImg3.push(item) // this.elImg3.find(e => e.key == item.key) || this.elImg3.push(item) //
@ -472,13 +447,13 @@ export default {
let copyItem let copyItem
// if (copyItem.key == 405) copyItem.key = 589 // if (copyItem.key == 405) copyItem.key = 589
if (item.key == 13) { if (item.key == 13) {
copyItem = {name:'身份证复印件',img:require('@/assets/img/idCard-copy-sm.png'),key:23,copyState: true,returnState: false} copyItem = { name: '身份证复印件', img: require('@/assets/img/idCard-copy-sm.png'), key: 23, copyState: true, returnState: false }
} else if (item.key == 442) { } else if (item.key == 442) {
copyItem = {name:'法人身份证复印件',img:require('@/assets/img/idCard-copy-sm.png'),key:431,copyState: true,returnState: false} copyItem = { name: '法人身份证复印件', img: require('@/assets/img/idCard-copy-sm.png'), key: 431, copyState: true, returnState: false }
} else if (item.key == 434) { } else if (item.key == 434) {
copyItem = {name:'统一社会信用代码证复印件',img:require('@/assets/img/goods/营业执照复印件.png'),key:435,copyState: true,returnState: false} copyItem = { name: '统一社会信用代码证复印件', img: require('@/assets/img/goods/营业执照复印件.png'), key: 435, copyState: true, returnState: false }
} else if (item.key == 436) { } else if (item.key == 436) {
copyItem = {name:'开户许可证复印件',img:require('@/assets/img/goods/开户许可证复印件.png'),key:437,copyState: true,returnState: false} copyItem = { name: '开户许可证复印件', img: require('@/assets/img/goods/开户许可证复印件.png'), key: 437, copyState: true, returnState: false }
} }
if (copyItem) this.elImg3.push(copyItem) if (copyItem) this.elImg3.push(copyItem)
} }
@ -487,11 +462,11 @@ export default {
this.takeResultVisible = true this.takeResultVisible = true
setTimeout(() => { setTimeout(() => {
if(this.takeResultVisible) { if (this.takeResultVisible) {
this.takeResultVisible = false this.takeResultVisible = false
} }
}, 700) }, 700)
}).catch((error)=>{ }).catch((error) => {
this.$message({ this.$message({
showClose: true, showClose: true,
message: '网络可能有问题,填单失败', message: '网络可能有问题,填单失败',
@ -501,10 +476,10 @@ export default {
}) })
}, },
// //
takeBack() { takeBack () {
const formList = []; const formList = [];
const checkList = [...this.checkList] const checkList = [...this.checkList]
if(this.checkList.length <= 0) { if (this.checkList.length <= 0) {
this.$message({ this.$message({
message: '请取回至少一个文件', message: '请取回至少一个文件',
type: 'warning', type: 'warning',
@ -512,36 +487,36 @@ export default {
}); });
return return
} }
for(let i=0; i<checkList.length; i++) { for (let i = 0; i < checkList.length; i++) {
formList.push({"answerId":checkList[i],"emptyOne": "", "emptyTwo": '', "operationIds": '285,' + this.$store.state.system.businessSelect[this.$store.state.system.businessKey].id + ',286,553,' + checkList[i], "type": ""}) formList.push({ "answerId": checkList[i], "emptyOne": "", "emptyTwo": '', "operationIds": '285,' + this.$store.state.system.businessSelect[this.$store.state.system.businessKey].id + ',286,553,' + checkList[i], "type": "" })
} }
this.elImg3.map(item=> { this.elImg3.map(item => {
if(item.returnState) { if (item.returnState) {
formList.push({"answerId":item.key,"emptyOne": "", "emptyTwo": '', "operationIds": '285,' + this.$store.state.system.businessSelect[this.$store.state.system.businessKey].id + ',286,553,' + item.key, "type": ""}) formList.push({ "answerId": item.key, "emptyOne": "", "emptyTwo": '', "operationIds": '285,' + this.$store.state.system.businessSelect[this.$store.state.system.businessKey].id + ',286,553,' + item.key, "type": "" })
} }
}) })
const params= { const params = {
parentId: '285,' + this.$store.state.system.businessSelect[this.$store.state.system.businessKey].id + ',286,553', parentId: '285,' + this.$store.state.system.businessSelect[this.$store.state.system.businessKey].id + ',286,553',
lcJudgmentRuleReq:formList, lcJudgmentRuleReq: formList,
projectId:+projectId, projectId: +projectId,
startTime:startTime, startTime: startTime,
} }
addOperation(params).then((data)=>{ addOperation(params).then((data) => {
// ... // ...
this.recaptionVisible = false this.recaptionVisible = false
this.elImg3.map(item => { this.elImg3.map(item => {
if(this.checkList.findIndex(item2 => item2 === item.key ) !== -1) { if (this.checkList.findIndex(item2 => item2 === item.key) !== -1) {
item.returnState = true item.returnState = true
} }
}) })
this.checkList = [] this.checkList = []
this.takeResultVisible = true this.takeResultVisible = true
setTimeout(() => { setTimeout(() => {
if(this.takeResultVisible) { if (this.takeResultVisible) {
this.takeResultVisible = false this.takeResultVisible = false
} }
}, 700) }, 700)
}).catch((error)=>{ }).catch((error) => {
this.$message({ this.$message({
showClose: true, showClose: true,
message: '网络可能有问题,填单失败', message: '网络可能有问题,填单失败',
@ -551,10 +526,10 @@ export default {
}) })
}, },
// //
toPart(){ toPart () {
this.$router.push('/index/list') this.$router.push('/index/list')
}, },
dblClickFn(item,val){/* 选中/预览 单/双击函数 */ dblClickFn (item, val) {/* 选中/预览 单/双击函数 */
let that = this let that = this
this.clickNum++ this.clickNum++
if (this.clickNum === 2) { // if (this.clickNum === 2) { //
@ -568,26 +543,26 @@ export default {
} }
}, 200) }, 200)
}, },
showData(){ showData () {
this.workingName = '填单' this.workingName = '填单'
this.dataVisible = true this.dataVisible = true
}, },
checkData(id, state){ checkData (id, state) {
if(state) { if (state) {
return return
} }
this.checkList.includes(id) ? this.checkList.splice(this.checkList.indexOf(id),1) : this.checkList.push(id) this.checkList.includes(id) ? this.checkList.splice(this.checkList.indexOf(id), 1) : this.checkList.push(id)
this.clickNum++ this.clickNum++
if (this.clickNum === 2) { // if (this.clickNum === 2) { //
let itemIndex = -1 let itemIndex = -1
if(this.workingName === '填单') { if (this.workingName === '填单') {
itemIndex = this.elImg.findIndex(item => item.key === id) itemIndex = this.elImg.findIndex(item => item.key === id)
this.imgSrc = this.elImg[itemIndex].img this.imgSrc = this.elImg[itemIndex].img
}else if(this.workingName === '复印') { } else if (this.workingName === '复印') {
itemIndex = this.elImg2.findIndex(item => item.key === id) itemIndex = this.elImg2.findIndex(item => item.key === id)
this.imgSrc = this.elImg2[itemIndex].img this.imgSrc = this.elImg2[itemIndex].img
}else if(this.workingName === '取回') { } else if (this.workingName === '取回') {
itemIndex = this.elImg2.findIndex(item => item.key === id) itemIndex = this.elImg2.findIndex(item => item.key === id)
this.imgSrc = this.elImg2[itemIndex].img this.imgSrc = this.elImg2[itemIndex].img
} }
@ -601,14 +576,14 @@ export default {
} }
}, 200) }, 200)
}, },
closeDataDia(){ closeDataDia () {
this.dataVisible = false this.dataVisible = false
}, },
closeData(){ closeData () {
this.checkList = [] this.checkList = []
}, },
showCopy(){ showCopy () {
console.log("🚀 ~ file: index.vue:607 ~ showCopy ~ this.$store.state.system.businessSelect[this.$store.state.system.businessKey].id:", this.$store.state.system.businessSelect[this.$store.state.system.businessKey].id) console.log("🚀 ~ file: index.vue:607 ~ showCopy ~ this.$store.state.system.businessSelect[this.$store.state.system.businessKey].id:", this.$store.state.system.businessSelect[this.$store.state.system.businessKey].id)
const { id } = this.$store.state.system.businessSelect[this.$store.state.system.businessKey] const { id } = this.$store.state.system.businessSelect[this.$store.state.system.businessKey]
if (id === 500) { if (id === 500) {
@ -640,14 +615,14 @@ export default {
this.workingName = '复印' this.workingName = '复印'
this.copyVisible = true this.copyVisible = true
}, },
closeCopyDia(){ closeCopyDia () {
this.copyVisible = false this.copyVisible = false
}, },
showRecaption() { showRecaption () {
this.workingName = '取回' this.workingName = '取回'
this.recaptionVisible = true this.recaptionVisible = true
}, },
closeRecaption() { closeRecaption () {
this.recaptionVisible = false this.recaptionVisible = false
}, },
} }
@ -655,30 +630,33 @@ export default {
</script> </script>
<style lang="scss" scoped> <style lang="scss" scoped>
.imgPop{ .imgPop {
max-width: 100%; max-width: 100%;
margin-top: 20px; margin-top: 20px;
} }
.wrap{ .wrap {
background: rgb(245,246,248); background: rgb(245, 246, 248);
width:100%; width: 100%;
//min-height:900px; //min-height:900px;
overflow:hidden; overflow: hidden;
.sth{
.sth {
position: absolute; position: absolute;
&.cp{
&.cp {
cursor: pointer; cursor: pointer;
} }
} }
.guide{
.guide {
top: 80px; top: 80px;
left: 10px; left: 10px;
width: 150px; width: 150px;
cursor: pointer; cursor: pointer;
background:url(../../../assets/img/lobby-btn-bg.png); background: url(../../../assets/img/lobby-btn-bg.png);
background-repeat: no-repeat; background-repeat: no-repeat;
background-size: 100% 100%; background-size: 100% 100%;
line-height: 50px; line-height: 50px;
@ -686,30 +664,34 @@ export default {
text-align: center; text-align: center;
color: #fff; color: #fff;
&:hover{ &:hover {
opacity: .9; opacity: .9;
} }
} }
.manager{
.manager {
top: 68px; top: 68px;
left: 10%; left: 10%;
width: 80%; width: 80%;
height: calc(100% - 68px); height: calc(100% - 68px);
} }
} }
.actions{
.actions {
position: fixed; position: fixed;
bottom: 0; bottom: 0;
left: 50%; left: 50%;
padding: 55px; padding: 55px;
transform: translateX(-50%); transform: translateX(-50%);
background-color: rgba(255,255,255,.7); background-color: rgba(255, 255, 255, .7);
border-top-left-radius: 20px; border-top-left-radius: 20px;
border-top-right-radius: 20px; border-top-right-radius: 20px;
.btns{
.btns {
display: flex; display: flex;
justify-content: space-between; justify-content: space-between;
li{
li {
width: 200px; width: 200px;
margin-right: 50px; margin-right: 50px;
text-align: center; text-align: center;
@ -719,16 +701,18 @@ export default {
background: url(../../../assets/img/lobby-btn-bg.png) 0 0/cover no-repeat; background: url(../../../assets/img/lobby-btn-bg.png) 0 0/cover no-repeat;
background-size: 100% 100%; background-size: 100% 100%;
cursor: pointer; cursor: pointer;
&:last-child{
&:last-child {
margin-right: 0; margin-right: 0;
} }
} }
} }
} }
/deep/.data-dia{
/deep/.data-dia {
// width:80%; // width:80%;
width: 800px; width: 800px;
min-width:400px; min-width: 400px;
margin: auto; margin: auto;
.scannerImg { .scannerImg {
@ -736,13 +720,15 @@ export default {
margin-top: 20px; margin-top: 20px;
max-height: 95%; max-height: 95%;
} }
.take-list{
.take-list {
width: 600px; width: 600px;
margin: 0 auto; margin: 0 auto;
display: flex; display: flex;
justify-content: space-between; justify-content: space-between;
flex-wrap: wrap; flex-wrap: wrap;
li{
li {
display: inline-flex; display: inline-flex;
align-items: center; align-items: center;
width: 250px; width: 250px;
@ -750,52 +736,63 @@ export default {
border: 4px solid #DBDBDB; border: 4px solid #DBDBDB;
border-radius: 20px; border-radius: 20px;
cursor: pointer; cursor: pointer;
background-color: rgba(216,216,216,0.10); background-color: rgba(216, 216, 216, 0.10);
&:first-child{
&:first-child {
margin: 0 0px 30px 0; margin: 0 0px 30px 0;
} }
&:last-child{
&:last-child {
//margin-left: 30px; //margin-left: 30px;
} }
img{
img {
margin-left: 10px; margin-left: 10px;
width: 30%; width: 30%;
} }
p{
p {
font-size: 18px; font-size: 18px;
color: #000; color: #000;
text-align: center; text-align: center;
font-weight: bold; font-weight: bold;
padding: 0 15px; padding: 0 15px;
} }
&.checked{
background: rgba(97,145,255,0.10) url(../../../assets/svg/checked.svg) 96% 7%/auto no-repeat; &.checked {
background: rgba(97, 145, 255, 0.10) url(../../../assets/svg/checked.svg) 96% 7%/auto no-repeat;
border-color: #6191FF; border-color: #6191FF;
} }
} }
} }
.result{
.result {
margin: 30px 0 20px; margin: 30px 0 20px;
text-align: center; text-align: center;
img{
img {
width: 136px; width: 136px;
} }
h6{
h6 {
margin: 30px 0 10px; margin: 30px 0 10px;
font-size: 30px; font-size: 30px;
color: #000; color: #000;
} }
.text{
.text {
font-size: 22px; font-size: 22px;
color: #797979; color: #797979;
} }
} }
.list { .list {
min-width: 5vw; min-width: 5vw;
overflow: auto; overflow: auto;
display: flex; display: flex;
justify-content: center; justify-content: center;
flex-wrap: wrap; flex-wrap: wrap;
li { li {
width: 140px; width: 140px;
height: 140px; height: 140px;
@ -809,19 +806,23 @@ export default {
box-sizing: border-box; box-sizing: border-box;
overflow: hidden; overflow: hidden;
padding: 10px; padding: 10px;
&>img { &>img {
max-height: 80px; max-height: 80px;
} }
&>.el-image { &>.el-image {
width: 100%; width: 100%;
max-height: 80px; max-height: 80px;
overflow: hidden; overflow: hidden;
img { img {
//transform: translateY(-35%); //transform: translateY(-35%);
// width: 100%; // width: 100%;
} }
} }
p{
p {
font-size: 14px; font-size: 14px;
line-height: 40px; line-height: 40px;
overflow: hidden; overflow: hidden;
@ -838,6 +839,7 @@ export default {
display: flex; display: flex;
justify-content: center; justify-content: center;
flex-wrap: wrap; flex-wrap: wrap;
li { li {
width: 140px; width: 140px;
height: 140px; height: 140px;
@ -851,6 +853,7 @@ export default {
box-sizing: border-box; box-sizing: border-box;
overflow: hidden; overflow: hidden;
padding: 10px; padding: 10px;
// &>img { // &>img {
// width: 100%; // width: 100%;
// //max-width: 90%; // //max-width: 90%;
@ -859,12 +862,14 @@ export default {
width: 100%; width: 100%;
max-height: 80px; max-height: 80px;
overflow: hidden; overflow: hidden;
img { img {
//transform: translateY(-35%); //transform: translateY(-35%);
// width: 100%; // width: 100%;
} }
} }
p{
p {
font-size: 14px; font-size: 14px;
line-height: 40px; line-height: 40px;
} }
@ -876,15 +881,15 @@ export default {
.dia-footer23 { .dia-footer23 {
background-color: red; background-color: red;
} }
} }
.sitting2 { .sitting2 {
opacity: 0; opacity: 0;
cursor: default!important; cursor: default !important;
} }
.spacialStyle { .spacialStyle {
margin: 0; margin: 0;
width: auto!important; width: auto !important;
} }
</style> </style>

@ -408,13 +408,13 @@ export default {
const preId = '285,' + this.$store.state.system.businessSelect[this.$store.state.system.businessKey].id + ',766,768' const preId = '285,' + this.$store.state.system.businessSelect[this.$store.state.system.businessKey].id + ',766,768'
const rule = [] const rule = []
form.cooperationPeriod && rule.push({ answerId: 875, emptyOne: 149, emptyTwo: form.cooperationPeriod, operationIds: preId + ',875', type: 3 }) form.cooperationPeriod && rule.push({ answerId: 875, emptyOne: 149, emptyTwo: form.cooperationPeriod, operationIds: preId + ',875', type: 3 })
form.matureRepayment && rule.push({ answerId: 798, emptyOne: 147, emptyTwo: 269, operationIds: preId + ',798', type: 1 }) form.matureRepayment && rule.push({ answerId: 907, emptyOne: '', emptyTwo: '', operationIds: preId + ',798,907', type: '' })
form.otherRepayments && rule.push({ answerId: 798, emptyOne: 147, emptyTwo: 270, operationIds: preId + ',798', type: 1 }) form.otherRepayments && rule.push({ answerId: 894, emptyOne: 153, emptyTwo: form.otherRepayments, operationIds: preId + ',798,894', type: 3 })
form.paymentForMaterials && rule.push({ answerId: 833, emptyOne: 148, emptyTwo: 271, operationIds: preId + ',833', type: 1 }) form.paymentForMaterials && rule.push({ answerId: 908, emptyOne: '', emptyTwo: '', operationIds: preId + ',833,908', type: '' })
form.payLaborCosts && rule.push({ answerId: 833, emptyOne: 148, emptyTwo: 272, operationIds: preId + ',833', type: 1 }) form.payLaborCosts && rule.push({ answerId: 909, emptyOne: '', emptyTwo: '', operationIds: preId + ',833,909', type: '' })
form.payExpenses && rule.push({ answerId: 833, emptyOne: 148, emptyTwo: 273, operationIds: preId + ',833', type: 1 }) form.payExpenses && rule.push({ answerId: 910, emptyOne: '', emptyTwo: '', operationIds: preId + ',833,910', type: '' })
form.otherUses && rule.push({ answerId: 833, emptyOne: 148, emptyTwo: 274, operationIds: preId + ',833', type: 1 }) form.otherUses && rule.push({ answerId: 895, emptyOne: 153, emptyTwo: form.otherUses, operationIds: preId + ',833,895', type: 3 })
form.specialInstructions && rule.push({ answerId: 802, emptyOne: 125, emptyTwo: form.specialInstructions, operationIds: preId + ',802', type: 3 }) form.specialInstructions && rule.push({ answerId: 802, emptyOne: 125, emptyTwo: form.specialInstructions, operationIds: preId + ',802', type: 3 })

@ -445,6 +445,7 @@ export default {
}, },
mounted () { mounted () {
this.getDetail() this.getDetail()
sessionStorage.removeItem('creditPath')
}, },
methods: { methods: {
...mapMutations({ ...mapMutations({

Loading…
Cancel
Save