开户功能添加选择类型的加上调取接口获取选择项

提交功能追加字段与对应字段赋值
20240205
e 3 years ago
parent 490e4f0344
commit f722de0de9
  1. 6
      src/api/api.js
  2. 3
      src/api/http.js
  3. BIN
      src/assets/img/counter.png
  4. BIN
      src/assets/img/employee.png
  5. 34
      src/components/case/index.vue
  6. 59
      src/pages/counter/list/index.vue
  7. 14
      src/pages/manage/list/client/consumerClient.vue
  8. 2
      src/pages/manage/list/personal/currentAccount/accountCancellation.vue
  9. 2
      src/pages/manage/list/personal/currentAccount/deposit.vue
  10. 187
      src/pages/manage/list/personal/currentAccount/openAccount.vue
  11. 2
      src/pages/manage/list/personal/currentAccount/settle.vue
  12. 2
      src/pages/manage/list/personal/currentAccount/transferAccounts.vue
  13. 2
      src/pages/manage/list/personal/currentAccount/withdrawal.vue

@ -2,7 +2,11 @@ import axios from 'axios';
import router from '../router';
// 创建axios实例
const service = axios.create({
baseURL: 'http://39.108.250.202:9000',
// baseURL: "http://39.108.250.202:9000/", // 中台测试服
// baseURL: "http://192.168.31.137:9000/", // 赓
// baseURL: "http://192.168.31.151:9000/", // 榕
baseURL: "http://192.168.31.125:9000/", // 坤
// baseURL: 'http://39.108.250.202:9000',
timeout: 30000 // 请求超时时间
})
// 添加request拦截器

@ -12,3 +12,6 @@ export const getProjectDetail= (params) => {
export const submit= (params) => {
return post( '/bank/bank/submit',params)
}
export const getSubjectInfo= (params) => {
return get( '/judgment/lcSubject/getSubjectInfo',params)
}

Binary file not shown.

Before

Width:  |  Height:  |  Size: 667 KiB

After

Width:  |  Height:  |  Size: 714 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 118 KiB

After

Width:  |  Height:  |  Size: 121 KiB

@ -71,12 +71,12 @@
<el-table-column prop="right" label="完成结果" align="center">
<template slot-scope="scope">
<i
v-if="scope.row.right=='0'"
v-if="scope.row.right==true"
class="el-icon-check"
style="color:green;font-size:20px"
></i>
<i
v-else-if="scope.row.right=='-1'"
v-else-if="scope.row.right==false"
class="el-icon-close"
style="color:red;font-size:20px"
></i>
@ -112,7 +112,6 @@
</el-container>
</el-container>
<!-- </div> -->
<div class="panel" :class="{active: caseVisible}">
<div @click="toggleCase">
<img src="../../assets/img/case/left.png" alt v-if="caseVisible" />
@ -126,9 +125,7 @@
import util from '@/libs/util'
import Setting from '@/setting'
//
import {getProjectBySystemId} from "@/api/http.js";
import {getProjectDetail} from "@/api/http.js";
import {submit} from "@/api/http.js";
import {getProjectBySystemId,getProjectDetail,submit} from "@/api/http.js";
export default {
data() {
return {
@ -180,7 +177,8 @@ export default {
isstartexperimentSuggests: 1,
topicList:[],
projectManage:{},
requires:[]
requires:[],
projectName:'',
}
},
watch: {
@ -259,11 +257,14 @@ export default {
},
//
selectProject(){
// for ()
let params = {
projectId:this.projectId,
}
getProjectDetail(params).then((data)=>{
console.log(data)
if(data.status == 200){
this.projectName = data.data.projectName
this.projectManage = data.data.projectManage;
this.requires = data.data.projectJudgmentVos;
}
@ -289,7 +290,6 @@ export default {
center: true
}).then(() => {
this.actEndTime = new Date().getTime();
console.log(this.actEndTime)
let ruleReqs = sessionStorage.getItem('ruleReqs')
let startTime = sessionStorage.getItem('startTime')
let ruleReqsList = JSON.parse(ruleReqs);
@ -303,10 +303,13 @@ export default {
"accountId": 0,
"assessmentId": 0,
"classId": 0,
"className":0,
"curriculumId":cid,
"endTime": this.actEndTime,
"lcId": lcld,
"projectId": 0,
"projectId": this.projectId,
"projectName":this.projectName,
"purpose":this.projectManage.experimentTarget,
"ruleReqs": ruleReqsList,
"startTime": +startTime,
"submitTime": this.actEndTime,
@ -315,7 +318,18 @@ export default {
}
submit(params).then((data)=>{
if(data.status == 200){
this.topicList = data.data.projects
let datas= data.data.retMap.scoreInfo
let formList = []
sessionStorage.setItem('ruleReqs', JSON.stringify(formList))
for (var i=0;i<datas.length;i++){
for (var j=0;j<this.requires.length;j++){
if (datas[i].lcId== this.requires[j].judgmentId){
this.requires[j].flag = datas[i].flag
this.requires[j].score = datas[i].judgmentScore
this.requires[j].right = datas[i].calculate
}
}
}
}
}).catch((error)=>{
})

@ -1,6 +1,6 @@
<template>
<div class="wrap">
<img class="sth bg" src="@/assets/img/integrated-counter-bg.png" alt="" />
<!-- <img class="sth bg" src="" alt="" />-->
<!-- <img class="sth guide" src="@/assets/img/guide.png" alt="" /> -->
<img class="sth man" src="@/assets/img/man.png" alt="" />
<img class="sth counter" src="@/assets/img/counter.png" alt="" />
@ -225,14 +225,46 @@ export default {
manageVisible: false, //
checkList: [],//
elseBoxCheck:[],/* 所有其他可从物品栏拖拽物品进入的弹框 */
goodsShelf:[
{
name:'身份证',
src:require('@/assets/img/goods/idcard.png'),
id:13
},
{
name:'身份证复印件',
src:require('@/assets/img/idCard-copy-sm.png'),
id:23
},
{
name:'开户申请书',
src:require('@/assets/img/goods/khsqs.png'),
id:14
},
{
name:'现金',
src:require('@/assets/img/goods/cash-sm.png'),
id:15
},
{
name:'存款凭条',
src:require('@/assets/img/goods/ckpt.png'),
id:17
},
{
name:'银行卡',
src:require('@/assets/img/goods/ckpt.png'),
id:16
},
],
// goods:[/* */
// ],
popArr:[/* 弹窗展示的物品 */
{name:'银行卡',src:require('@/assets/img/seal/paid.png'),id:'银行卡'},
{name:'定期存单',src:require('@/assets/img/seal/paid.png'),id:'定期存单'},
{name:'银行卡',src:require('@/assets/img/seal/paid.png'),id:16},
{name:'定期存单',src:require('@/assets/img/seal/paid.png'),id:19},
{name:'预留印签卡',src:require('@/assets/img/seal/paid.png'),id:'预留印签卡'},
{name:'转账支票',src:require('@/assets/img/goods/xd-zzzp.png'),id:'转账支票'},
{name:'银行承兑汇票',src:require('@/assets/img/seal/paid.png'),id:'银行承兑汇票'},
{name:'银行承兑汇票',src:require('@/assets/img/seal/paid.png'),id:30},
{name:'现金支票',src:require('@/assets/img/goods/xjzp.png'),id:'现金支票'},
// {name:'',src:require('@/assets/img/seal/paid.png'),id:''},
{name:'取款凭条',src:require('@/assets/img/goods/qkpt.png'),id:'取款凭条'},
@ -240,11 +272,11 @@ export default {
{name:'业务收费凭证',src:require('@/assets/img/goods/ywsfpz.png'),id:'业务收费凭证'},
{name:'利息清单',src:require('@/assets/img/goods/lxqd.png'),id:'利息清单'},
{name:'普通空白凭证',src:require('@/assets/img/goods/ptkbpz.png'),id:'普通空白凭证'},
{name:'身份证',src:require('@/assets/img/goods/idcard.png'),id:'身份证'},
{name:'身份证复印件',src:require('@/assets/img/idCard-copy-sm.png'),id:'身份证复印件'},
{name:'开户申请书',src:require('@/assets/img/goods/khsqs.png'),id:'开户申请书'},
{name:'现金',src:require('@/assets/img/goods/cash-sm.png'),id:'现金'},
{name:'存款凭条',src:require('@/assets/img/goods/ckpt.png'),id:'存款凭条'},
{name:'身份证',src:require('@/assets/img/goods/idcard.png'),id:13},
{name:'身份证复印件',src:require('@/assets/img/idCard-copy-sm.png'),id:23},
{name:'开户申请书',src:require('@/assets/img/goods/khsqs.png'),id:14},
{name:'现金',src:require('@/assets/img/goods/cash-sm.png'),id:15},
{name:'存款凭条',src:require('@/assets/img/goods/ckpt.png'),id:17},
],
receptionList:[
@ -259,15 +291,15 @@ export default {
{name:'转讫章',src:require('@/assets/img/seal/Transfer.png'),id:'转讫章'},
],
importanceArr:[/* 重要空白凭证 */
{name:'银行卡',src:require('@/assets/img/seal/paid.png'),id:'银行卡'},
{name:'定期存单',src:require('@/assets/img/seal/paid.png'),id:'定期存单'},
{name:'银行卡',src:require('@/assets/img/seal/paid.png'),id:16},
{name:'定期存单',src:require('@/assets/img/seal/paid.png'),id:19},
{name:'预留印签卡',src:require('@/assets/img/seal/paid.png'),id:'预留印签卡'},
{name:'转账支票',src:require('@/assets/img/goods/xd-zzzp.png'),id:'转账支票'},
{name:'银行承兑汇票',src:require('@/assets/img/seal/paid.png'),id:'银行承兑汇票'},
{name:'银行承兑汇票',src:require('@/assets/img/seal/paid.png'),id:30},
{name:'现金支票',src:require('@/assets/img/goods/xjzp.png'),id:'现金支票'},
],
commonArr:[/* 普通凭证箱 */
{name:'存款凭条',src:require('@/assets/img/seal/paid.png'),id:'存款凭条'},
{name:'存款凭条',src:require('@/assets/img/seal/paid.png'),id:17},
{name:'取款凭条',src:require('@/assets/img/goods/qkpt.png'),id:'取款凭条'},
{name:'转账凭条',src:require('@/assets/img/goods/zzpt.png'),id:'转账凭条'},
{name:'业务收费凭证',src:require('@/assets/img/goods/ywsfpz.png'),id:'业务收费凭证'},
@ -583,6 +615,7 @@ export default {
width: 100%;
height: calc(100vh - 68px);
overflow: hidden;
background:url("../../../assets/img/integrated-counter-bg.png");
.sth {
position: absolute;
&.cp {

@ -153,7 +153,7 @@ export default {
formList.push({
"emptyOne": "",
"emptyTwo": "",
"operationIds": "5,25,33,45",
"operationIds": "0,5,25,33,45",
"type": ""
})
}
@ -161,16 +161,16 @@ export default {
formList.push({
"emptyOne": "",
"emptyTwo": "",
"operationIds": "5,25,33,46",
"operationIds": "0,5,25,33,46",
"type": ""
})
}
formList.push(
{"emptyOne": "", "emptyTwo": "", "operationIds": "5,25,33,40", "type": ""},
{"emptyOne": "", "emptyTwo": "", "operationIds": "5,25,33,41,13", "type": ""},
{"emptyOne": "", "emptyTwo": "", "operationIds": "5,25,33,42", "type": ""},
{"emptyOne": "", "emptyTwo": "", "operationIds": "5,25,33,44", "type": ""},
{"emptyOne": "", "emptyTwo": "", "operationIds": "5,25,33,47", "type": ""}
{"emptyOne": "", "emptyTwo": "", "operationIds": "0,5,25,33,40", "type": ""},
{"emptyOne": "", "emptyTwo": "", "operationIds": "0,5,25,33,41,13", "type": ""},
{"emptyOne": "", "emptyTwo": "", "operationIds": "0,5,25,33,42", "type": ""},
{"emptyOne": "", "emptyTwo": "", "operationIds": "0,5,25,33,44", "type": ""},
{"emptyOne": "", "emptyTwo": "", "operationIds": "0,5,25,33,47", "type": ""}
);
sessionStorage.setItem('ruleReqs', JSON.stringify(formList))
}else{

@ -64,7 +64,7 @@ export default{
sessionStorage.setItem('ruleReqs', JSON.stringify(formList))
this.$message({
message: '提交成功',
type: ''
type: 'success'
});
}else{
this.$message.error('有必填项未填哦~');

@ -77,7 +77,7 @@ export default{
sessionStorage.setItem('ruleReqs', JSON.stringify(formList))
this.$message({
message: '提交成功',
type: ''
type: 'success'
});
}else{
this.$message.error('有必填项未填哦~');

@ -8,8 +8,8 @@
<el-input v-model="form.userNumber"></el-input>
</el-form-item>
<el-form-item label="币种" required >
<el-select v-model="form.currency" placeholder="请选择">
<el-option label="CNY人民币" value="CNY人民币"> </el-option>
<el-select v-model="form.currency" @focus="getSubjectInfoData('8')" placeholder="请选择">
<el-option v-for="item in currencySelectList" :label="item.options" :value="item.itemId"> </el-option>
</el-select>
</el-form-item>
</el-col>
@ -18,8 +18,8 @@
<el-input v-model="form.userName"></el-input>
</el-form-item>
<el-form-item label="钞汇标识" required>
<el-select v-model="form.goldLogo" placeholder="请选择">
<el-option label="钞户" value="钞户"> </el-option>
<el-select v-model="form.goldLogo" @focus="getSubjectInfoData('9')" placeholder="请选择">
<el-option v-for="item in goldLogoSelectList" :label="item.options" :value="item.itemId"> </el-option>
</el-select>
</el-form-item>
</el-col>
@ -30,26 +30,25 @@
<el-form ref="form" :model="form" label-width="120px">
<el-col :span="10" :offset="2">
<el-form-item label="账户性质">
<el-select v-model="form.accountQuality" placeholder="请选择">
<el-option label="个人结算户" value="个人结算户"> </el-option>
<el-select v-model="form.accountQuality" @focus="getSubjectInfoData('10')" placeholder="请选择">
<el-option v-for="item in accountQualitySelectList" :label="item.options" :value="item.itemId"> </el-option>
</el-select>
</el-form-item>
<el-form-item label="账户类型" required>
<el-select v-model="form.accountType" placeholder="请选择">
<el-option label="一类户" value="一类户"> </el-option>
<el-option label="二类户" value="二类户"> </el-option>
<el-select v-model="form.accountType" @focus="getSubjectInfoData('12')" placeholder="请选择">
<el-option v-for="item in accountTypeSelectList" :label="item.options" :value="item.itemId"> </el-option>
</el-select>
</el-form-item>
<el-form-item label="支取方式" required>
<el-select v-model="form.drawWay" placeholder="请选择">
<el-option label="密码" value="密码"> </el-option>
<el-select v-model="form.drawWay" @focus="getSubjectInfoData('13')" placeholder="请选择">
<el-option v-for="item in drawWaySelectList" :label="item.options" :value="item.itemId"> </el-option>
</el-select>
</el-form-item>
</el-col>
<el-col :span="10" :offset="1">
<el-form-item label="凭证类型" required>
<el-select v-model="form.voucherType" placeholder="请选择">
<el-option label="IC卡" value="IC卡"> </el-option>
<el-select v-model="form.voucherType" @focus="getSubjectInfoData('11')" placeholder="请选择">
<el-option v-for="item in voucherTypeSelectList" :label="item.options" :value="item.itemId"> </el-option>
</el-select>
</el-form-item>
<el-form-item label="凭证号码" required>
@ -73,35 +72,34 @@
<el-form ref="form" :model="form" label-width="120px">
<el-col :span="10" :offset="2">
<el-form-item label="账户性质">
<el-select v-model="form.accountQualitysTwo" placeholder="请选择">
<el-option label="个人结算户" value="个人结算户"> </el-option>
<el-select v-model="form.accountQualitysTwo" @focus="getSubjectInfoData('10')" placeholder="请选择">
<el-option v-for="item in accountQualitySelectList" :label="item.options" :value="item.itemId"> </el-option>
</el-select>
</el-form-item>
<el-form-item label="账户类型" required>
<el-select v-model="form.accountTypesTwo" placeholder="请选择">
<el-option label="一类户" value="一类户"> </el-option>
<el-option label="二类户" value="二类户"> </el-option>
<el-select v-model="form.accountTypesTwo" @focus="getSubjectInfoData('12')" placeholder="请选择">
<el-option v-for="item in accountTypeSelectList" :label="item.options" :value="item.itemId"> </el-option>
</el-select>
</el-form-item>
<el-form-item label="支取方式" required>
<el-select v-model="form.drawWaysTwo" placeholder="请选择">
<el-option label="密码" value="密码"> </el-option>
<el-select v-model="form.drawWaysTwo" @focus="getSubjectInfoData('13')" placeholder="请选择">
<el-option v-for="item in drawWaySelectList" :label="item.options" :value="item.itemId"> </el-option>
</el-select>
</el-form-item>
</el-col>
<el-col :span="10" :offset="1">
<el-form-item label="凭证类型" required>
<el-select v-model="form.voucherTypesTwo" placeholder="请选择">
<el-option label="IC卡" value="IC卡"> </el-option>
<el-select v-model="form.voucherTypesTwo" @focus="getSubjectInfoData('11')" placeholder="请选择">
<el-option v-for="item in voucherTypeSelectList" :label="item.options" :value="item.itemId"> </el-option>
</el-select>
</el-form-item>
<el-form-item label="凭证号码" required>
<div class="idCard" @click="popUp('刷卡器')">
<div class="idCard" @click="popUpTwo('刷卡器')">
<p>请刷卡</p>
</div>
</el-form-item>
<el-form-item label="支取密码" required>
<div class="idCard" @click="popUps('密码器')">
<div class="idCard" @click="popUpsTwo('密码器')">
<p>请输入密码</p>
</div>
</el-form-item>
@ -115,35 +113,34 @@
<el-form ref="form" :model="form" label-width="120px">
<el-col :span="10" :offset="2">
<el-form-item label="账户性质">
<el-select v-model="form.accountQualitysThree" placeholder="请选择">
<el-option label="个人结算户" value="个人结算户"> </el-option>
<el-select v-model="form.accountQualitysThree" @focus="getSubjectInfoData('10')" placeholder="请选择">
<el-option v-for="item in accountQualitySelectList" :label="item.options" :value="item.itemId"> </el-option>
</el-select>
</el-form-item>
<el-form-item label="账户类型" required>
<el-select v-model="form.accountTypesThree" placeholder="请选择">
<el-option label="一类户" value="一类户"> </el-option>
<el-option label="二类户" value="二类户"> </el-option>
<el-select v-model="form.accountTypesThree" @focus="getSubjectInfoData('12')" placeholder="请选择">
<el-option v-for="item in accountTypeSelectList" :label="item.options" :value="item.itemId"> </el-option>
</el-select>
</el-form-item>
<el-form-item label="支取方式" required>
<el-select v-model="form.drawWaysThree" placeholder="请选择">
<el-option label="密码" value="密码"> </el-option>
<el-select v-model="form.drawWaysThree" @focus="getSubjectInfoData('13')" placeholder="请选择">
<el-option v-for="item in drawWaySelectList" :label="item.options" :value="item.itemId"> </el-option>
</el-select>
</el-form-item>
</el-col>
<el-col :span="10" :offset="1">
<el-form-item label="凭证类型" required>
<el-form-item label="凭证类型" @focus="getSubjectInfoData('11')" required>
<el-select v-model="form.voucherTypesThree" placeholder="请选择">
<el-option label="IC卡" value="IC卡"> </el-option>
<el-option v-for="item in voucherTypeSelectList" :label="item.options" :value="item.itemId"> </el-option>
</el-select>
</el-form-item>
<el-form-item label="凭证号码" required>
<div class="idCard" @click="popUp('刷卡器')">
<div class="idCard" @click="popUpThree('刷卡器')">
<p>请刷卡</p>
</div>
</el-form-item>
<el-form-item label="支取密码" required>
<div class="idCard" @click="popUps('密码器')">
<div class="idCard" @click="popUpsThree('密码器')">
<p>请输入密码</p>
</div>
</el-form-item>
@ -176,6 +173,7 @@
</div>
</template>
<script>
import {getSubjectInfo} from "@/api/http.js";
export default {
data(){
return{
@ -200,23 +198,45 @@ export default {
second:[],//
options:[],
visible:false,
currency: '',
userName: '',
goldLogo: '',
accountQuality: '',
accountType: '',
drawWay: '',
voucherType: '',
accountQualitys: '',
accountTypes: '',
drawWays: '',
voucherTypes: '',
formTwo:false,
formThree:false,
count:0
count:0,
currencySelectList:[],
goldLogoSelectList:[],
accountQualitySelectList:[],
voucherTypeSelectList:[],
accountTypeSelectList:[],
drawWaySelectList:[],
}
},
mounted(){
},
methods:{
getSubjectInfoData(item){
let params= {
subject_id:item
}
getSubjectInfo(params).then((data)=>{
if(data.status == 200){
this.selectList = data.data.items;
if (item == '8'){
this.currencySelectList = data.data.items;
}else if (item == '9'){
this.goldLogoSelectList = data.data.items;
}else if (item == '10'){
this.accountQualitySelectList = data.data.items;
}else if (item == '11'){
this.voucherTypeSelectList = data.data.items;
}else if (item == '12'){
this.accountTypeSelectList = data.data.items;
}else if (item == '13'){
this.drawWaySelectList = data.data.items;
}
}
}).catch((error)=>{
})
},
detectionObjKeys(obj,keys){/* obj-传入对象,keys-传入检测的key值 */
let boolean = true
keys.map(e=>{
@ -227,8 +247,10 @@ export default {
},
openAccount(){
this.count = this.count+1;
console.log(this.count)
if (this.count > 2){this.count = 2}
if(this.count == 1){this.formTwo = true}
console.log(this.count)
if(this.count == 1 || this.count == 2){this.formTwo = true}
if (this.count == 2){this.formThree = true}
// if(this.second.length){/* */
// return this.$message('')
@ -249,36 +271,51 @@ export default {
popSure(){
this.visible = false
let ruleReqs = sessionStorage.getItem('ruleReqs')
let formList = JSON.parse(ruleReqs);
let formList = []
if (ruleReqs){
formList = JSON.parse(ruleReqs);
}else{
formList = []
}
let formExternalData = sessionStorage.getItem('formExternalData')
let formExternalDataList = JSON.parse(formExternalData);
console.log(formExternalDataList.openAccount.voucherNumber)
if(this.form.userName && this.form.currency && this.form.goldLogo && this.form.accountType && this.form.drawWay && this.form.voucherType ||
let voucherNumber = []
let paymentCode = '';
if (formExternalDataList){
voucherNumber = formExternalDataList.openAccount.voucherNumber
paymentCode = formExternalDataList.openAccount.paymentCode
}
if(this.form.userName && this.form.currency && this.form.goldLogo && this.form.accountType && this.form.drawWay && this.form.voucherType && voucherNumber.length && paymentCode ||
(this.formTwo == true && this.form.accountTypesTwo && this.form.drawWaysTwo && this.form.voucherTypesTwo) ||
(this.formThree == true && this.form.accountTypesThree && this.form.drawWaysThree && this.form.voucherTypesThree)){
if (this.form.userNumber){formList.push({"emptyOne": "6", "emptyTwo": this.form.userNumber, "operationIds": "26,57,62,68","type": "3"})}//
if (this.form.accountQuality){formList.push({"emptyOne": "10", "emptyTwo": this.form.accountQuality, "operationIds": "26,57,62,72", "type": "3"})}//1
if (this.form.accountQualitysTwo){formList.push({"emptyOne": "10", "emptyTwo": this.form.accountQualitysTwo, "operationIds": "26,57,62,270", "type": "3"})}//2
if (this.form.accountTypesTwo){formList.push({"emptyOne": "12", "emptyTwo": this.form.accountTypesTwo, "operationIds": "26,57,62,272", "type": "3"})}//2
if (this.form.drawWaysTwo){formList.push({"emptyOne": "13", "emptyTwo": this.form.drawWaysTwo, "operationIds": "26,57,62,274", "type": "3"})} //2
if (this.form.voucherTypesTwo){formList.push({"emptyOne": "11", "emptyTwo": this.form.voucherTypesTwo, "operationIds": "26,57,62,271", "type": "3"})} //2
if (this.form.accountQualitysThree){formList.push({"emptyOne": "10", "emptyTwo": this.form.accountQualitysThree, "operationIds": "26,57,62,276", "type": "3"})}//3
if (this.form.accountTypesThree){formList.push({"emptyOne": "12", "emptyTwo": this.form.accountTypesThree, "operationIds": "26,57,62,278", "type": "3"})}//3
if (this.form.drawWaysThree){formList.push({"emptyOne": "13", "emptyTwo": this.form.drawWaysThree, "operationIds": "26,57,62,280", "type": "3"})}//3
if (this.form.voucherTypesThree){formList.push({"emptyOne": "11", "emptyTwo": this.form.voucherTypesThree, "operationIds": "26,57,62,277", "type": "3"})}//3
for (var i=0;i<voucherNumber.length;i++){
formList.push({"emptyOne": "", "emptyTwo": "", "operationIds": "0,5,26,57,62,75,"+voucherNumber[i].id,"type": ""})
}
formList.push(
{"emptyOne": "", "emptyTwo": paymentCode, "operationIds": "0,5,26,57,62,77", "type": ""},//
)
if (this.form.userNumber){formList.push({"emptyOne": "6", "emptyTwo": this.form.userNumber, "operationIds": "0,5,26,57,62,68","type": "3"})}//
if (this.form.accountQuality){formList.push({"emptyOne": "10", "emptyTwo": this.form.accountQuality, "operationIds": "0,5,26,57,62,72", "type": "1"})}//1
if (this.form.accountQualitysTwo){formList.push({"emptyOne": "10", "emptyTwo": this.form.accountQualitysTwo, "operationIds": "0,5,26,57,62,270", "type": "1"})}//2
if (this.form.accountTypesTwo){formList.push({"emptyOne": "12", "emptyTwo": this.form.accountTypesTwo, "operationIds": "0,5,26,57,62,272", "type": "1"})}//2
if (this.form.drawWaysTwo){formList.push({"emptyOne": "13", "emptyTwo": this.form.drawWaysTwo, "operationIds": "0,5,26,57,62,274", "type": "1"})} //2
if (this.form.voucherTypesTwo){formList.push({"emptyOne": "11", "emptyTwo": this.form.voucherTypesTwo, "operationIds": "0,5,26,57,62,271", "type": "1"})} //2
if (this.form.accountQualitysThree){formList.push({"emptyOne": "10", "emptyTwo": this.form.accountQualitysThree, "operationIds": "0,5,26,57,62,276", "type": "1"})}//3
if (this.form.accountTypesThree){formList.push({"emptyOne": "12", "emptyTwo": this.form.accountTypesThree, "operationIds": "0,5,26,57,62,278", "type": "1"})}//3
if (this.form.drawWaysThree){formList.push({"emptyOne": "13", "emptyTwo": this.form.drawWaysThree, "operationIds": "0,5,26,57,62,280", "type": "1"})}//3
if (this.form.voucherTypesThree){formList.push({"emptyOne": "11", "emptyTwo": this.form.voucherTypesThree, "operationIds": "0,5,26,57,62,277", "type": "1"})}//3
formList.push(
{"emptyOne": "7", "emptyTwo": this.form.userName, "operationIds": "26,57,62,69", "type": "3"},//
{"emptyOne": "8", "emptyTwo": this.form.currency, "operationIds": "26,57,62,70", "type": "3"},//
{"emptyOne": "9", "emptyTwo": this.form.goldLogo, "operationIds": "26,57,62,73", "type": "3"},//
{"emptyOne": "12", "emptyTwo": this.form.accountType, "operationIds": "26,57,62,74", "type": "3"}, //
{"emptyOne": "13", "emptyTwo": this.form.drawWay, "operationIds": "26,57,62,76", "type": "3"}, //
{"emptyOne": "11", "emptyTwo": this.form.voucherType, "operationIds": "26,57,62,73", "type": "3"} //
{"emptyOne": "7", "emptyTwo": this.form.userName, "operationIds": "0,5,26,57,62,69", "type": "3"},//
{"emptyOne": "8", "emptyTwo": this.form.currency, "operationIds": "0,5,26,57,62,70", "type": "1"},//
{"emptyOne": "9", "emptyTwo": this.form.goldLogo, "operationIds": "0,5,26,57,62,73", "type": "1"},//
{"emptyOne": "12", "emptyTwo": this.form.accountType, "operationIds": "0,5,26,57,62,74", "type": "1"}, //
{"emptyOne": "13", "emptyTwo": this.form.drawWay, "operationIds": "0,5,26,57,62,76", "type": "1"}, //
{"emptyOne": "11", "emptyTwo": this.form.voucherType, "operationIds": "0,5,26,57,62,73", "type": "1"} //
)
sessionStorage.setItem('ruleReqs', JSON.stringify(formList))
this.$message({
message: '提交成功',
type: ''
type: 'success'
});
}else{
this.$message.error('有必填项未填哦~');
@ -312,6 +349,18 @@ export default {
popUps(){
this.$store.commit('system/changePop',{show:true,text:'密码器',id:'62'})
},
popUpTwo(){
this.$store.commit('system/changePop',{show:true,text:'刷卡器',id:'62'})
},
popUpsTwo(){
this.$store.commit('system/changePop',{show:true,text:'密码器',id:'62'})
},
popUpThree(){
this.$store.commit('system/changePop',{show:true,text:'刷卡器',id:'62'})
},
popUpsThree(){
this.$store.commit('system/changePop',{show:true,text:'密码器',id:'62'})
},
}
};
</script>

@ -94,7 +94,7 @@ export default{
sessionStorage.setItem('ruleReqs', JSON.stringify(formList))
this.$message({
message: '提交成功',
type: ''
type: 'success'
});
}else{
this.$message.error('有必填项未填哦~');

@ -87,7 +87,7 @@ export default{
sessionStorage.setItem('ruleReqs', JSON.stringify(formList))
this.$message({
message: '提交成功',
type: ''
type: 'success'
});
}else{
this.$message.error('有必填项未填哦~');

@ -89,7 +89,7 @@ export default{
sessionStorage.setItem('ruleReqs', JSON.stringify(formList))
this.$message({
message: '提交成功',
type: ''
type: 'success'
});
}else{
this.$message.error('有必填项未填哦~');

Loading…
Cancel
Save