从职站跳转到银行项目功能

存款/取款/转账/结清/销户提交的数据整理
20240205
e 3 years ago
parent df6a5d19f5
commit 490e4f0344
  1. 3
      src/api/api.js
  2. 5
      src/components/case/index.vue
  3. 56
      src/pages/counter/list/index.vue
  4. 4
      src/pages/manage/list/client/consumerClient.vue
  5. 22
      src/pages/manage/list/personal/currentAccount/accountCancellation.vue
  6. 29
      src/pages/manage/list/personal/currentAccount/deposit.vue
  7. 28
      src/pages/manage/list/personal/currentAccount/openAccount.vue
  8. 25
      src/pages/manage/list/personal/currentAccount/settle.vue
  9. 30
      src/pages/manage/list/personal/currentAccount/transferAccounts.vue
  10. 30
      src/pages/manage/list/personal/currentAccount/withdrawal.vue

@ -28,7 +28,8 @@ service.interceptors.response.use(
return Promise.reject(error.response)
}
)
let token = 'eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJ1c2VyIiwiaWF0IjoxNjM1MzE1Nzc2LCJleHAiOjE2MzUzNTg5NzYsImFjY291bnRJZCI6IjEifQ.8K5ySMaieffu79LZjJPfA7u_OfMRo6JfiarCJGdoCiE'
let token = sessionStorage.getItem('token')
// let token = sessionStorage.getItem('token')
export function get(url, params = {}) {
// params.t = new Date().getTime(); //get方法加一个时间参数,解决ie下可能缓存问题.
return service({

@ -297,17 +297,20 @@ export default {
for (var i=0;i<this.requires.length;i++){
lcld.push(this.requires[i].judgmentId)
}
let systemId = sessionStorage.getItem('systemId')
let cid = sessionStorage.getItem('cid')
let params = {
"accountId": 0,
"assessmentId": 0,
"classId": 0,
"curriculumId":cid,
"endTime": this.actEndTime,
"lcId": lcld,
"projectId": 0,
"ruleReqs": ruleReqsList,
"startTime": +startTime,
"submitTime": this.actEndTime,
"systemId": 11,
"systemId": systemId,
"timeSum": 0
}
submit(params).then((data)=>{

@ -334,6 +334,7 @@ export default {
}
},
mounted(){
this.getQueryVariable()
// Promise.resolve(2).then(value => {
//     console.log(111, value)
//     return value
@ -420,8 +421,22 @@ export default {
});
},
methods: {
getQueryVariable(variable) {
var query = window.location.href;
var vars = query.split("?");
for (var i=1;i<vars.length;i++) {
var pair = vars[i].split("&");
if(pair[0] == variable){return pair[1];}
}
for (var j=0;j<pair.length;j++){
var index=pair[j].lastIndexOf("=");
pair[j]=pair[j].substring(index+1,pair[j].length);
}
sessionStorage.setItem('token', pair[0])
sessionStorage.setItem('cid', pair[1])
sessionStorage.setItem('systemId', pair[2])
},
toggleGoods() {
console.log('========')
this.showGoods = !this.showGoods;
},
showData(type) {/* 展示弹窗-type为弹窗标题文字 */
@ -522,24 +537,41 @@ export default {
this.$store.commit('system/changeGoods',{push:arr})
clickList.length = 0
}else{
if (this.id == '33'){
sessionStorage.setItem('consumerClientDrag', JSON.stringify(this.receptionList))
if (this.id == '62'){
let formExternalData = {
openAccount:{
voucherNumber:this.receptionList,
paymentCode:this.passwordForm.passwordAgain,
}
switch (this.popText) {/* 其他物品交互逻辑: */
case'':
break;
case'':
break;
default:
break;
}
sessionStorage.setItem('formExternalData', JSON.stringify(formExternalData))
}
}
this.toggleGoods()
if(this.popText == '密码器'){
if(this.passwordForm.password && this.passwordForm.passwordAgain){
if(this.passwordForm.password.length >=6 && this.passwordForm.passwordAgain.length >=6){
if(this.passwordForm.password == this.passwordForm.passwordAgain) {
this.$store.commit('system/changePop', {show: false, text: ''})
this.$message.success(`${this.popText}操作成功!`)
}
}
}else{
this.$message.error('请输入密码和确认密码');
}
}else{
if (this.receptionList.length >0){
this.$message.success(`${this.popText}操作成功!`)
setTimeout(()=>{
// setTimeout(()=>{
//
// },800)
this.$store.commit('system/changePop',{show:false,text:''})
},800)
this.receptionList = [];
}else{
this.$message.error('请从物品栏中拖拽所需资料');
}
}
}
}
};

@ -143,8 +143,8 @@ export default {
},
//
submitForm(){
let consumerClientDrag = sessionStorage.getItem('consumerClientDrag')
let consumerClientDragList = JSON.parse(consumerClientDrag);
let formExternalData = sessionStorage.getItem('formExternalData')
let consumerClientDragList = JSON.parse(formExternalData);
console.log(consumerClientDragList)
if(this.form.idNumber && this.form.idNumber.userName && this.form.idNumber.sex && this.form.idNumber.birthday && this.form.idNumber.phone) {
this.visible = true;

@ -32,7 +32,7 @@
</el-col>
</el-form>
</el-row>
<el-button @click="visible = true" type="primary" class="submitBtn">提交</el-button>
<el-button @click="submitForm" type="primary" class="submitBtn">提交</el-button>
</div>
</template>
<script>
@ -51,7 +51,25 @@ export default{
},
methods: {
//
submitForm(){
let ruleReqs = sessionStorage.getItem('ruleReqs')
let formList = JSON.parse(ruleReqs);
if(this.form.chargeWay){
if (this.form.userName){formList.push({"emptyOne": "16", "emptyTwo": this.form.userName, "operationIds": "26,57,64,93", "type": "3"})}//
if (this.form.idType){formList.push({"emptyOne": "8", "emptyTwo": this.form.idType, "operationIds": "26,57,64,87","type": "3"})}//
// formList.push(
// {"emptyOne": "7", "emptyTwo": this.form.chargeWay, "operationIds": "26,57,64,86", "type": "3"},//
// )
sessionStorage.setItem('ruleReqs', JSON.stringify(formList))
this.$message({
message: '提交成功',
type: ''
});
}else{
this.$message.error('有必填项未填哦~');
}
},
},
}
</script>

@ -38,7 +38,7 @@
</el-col>
</el-form>
</el-row>
<el-button @click="visible = true" type="primary" class="submitBtn">提交</el-button>
<el-button @click="submitForm" type="primary" class="submitBtn">提交</el-button>
</div>
</template>
<script>
@ -56,7 +56,34 @@ export default{
remark:'',
}
}
},
mounted() {
},
methods: {
//
submitForm(){
let ruleReqs = sessionStorage.getItem('ruleReqs')
let formList = JSON.parse(ruleReqs);
if(this.form.userName && this.form.goldLogo && this.form.annualInterest){
if (this.form.currency){formList.push({"emptyOne": "8", "emptyTwo": this.form.currency, "operationIds": "26,57,63,80","type": "3"})}//
if (this.form.money){formList.push({"emptyOne": "14", "emptyTwo": this.form.money, "operationIds": "26,57,63,82", "type": "3"})}//
if (this.form.remark){formList.push({"emptyOne": "16", "emptyTwo": this.form.remark, "operationIds": "26,57,63,84", "type": "3"})}//
formList.push(
{"emptyOne": "7", "emptyTwo": this.form.userName, "operationIds": "26,57,63,79", "type": "3"},//
{"emptyOne": "9", "emptyTwo": this.form.goldLogo, "operationIds": "26,57,63,81", "type": "3"},//
{"emptyOne": "15", "emptyTwo": this.form.annualInterest, "operationIds": "26,57,63,83", "type": "3"},//
)
sessionStorage.setItem('ruleReqs', JSON.stringify(formList))
this.$message({
message: '提交成功',
type: ''
});
}else{
this.$message.error('有必填项未填哦~');
}
},
},
}
</script>
<style lang='scss' scoped>

@ -227,15 +227,9 @@ export default {
},
openAccount(){
this.count = this.count+1;
if (this.count > 2){
this.count = 2
}
if(this.count == 1){
this.formTwo = true
}
if (this.count == 2){
this.formThree = true
}
if (this.count > 2){this.count = 2}
if(this.count == 1){this.formTwo = true}
if (this.count == 2){this.formThree = true}
// if(this.second.length){/* */
// return this.$message('')
// for (let i= 0; i< this.second.length; i++) {
@ -244,7 +238,6 @@ export default {
// }
// }
// }
// let obj = {}/* */
// this.second.push(obj)``
},
@ -255,7 +248,12 @@ export default {
//
popSure(){
this.visible = false
let formList = [];
let ruleReqs = sessionStorage.getItem('ruleReqs')
let formList = JSON.parse(ruleReqs);
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 ||
(this.formTwo == true && this.form.accountTypesTwo && this.form.drawWaysTwo && this.form.voucherTypesTwo) ||
(this.formThree == true && this.form.accountTypesThree && this.form.drawWaysThree && this.form.voucherTypesThree)){
@ -278,6 +276,10 @@ export default {
{"emptyOne": "11", "emptyTwo": this.form.voucherType, "operationIds": "26,57,62,73", "type": "3"} //
)
sessionStorage.setItem('ruleReqs', JSON.stringify(formList))
this.$message({
message: '提交成功',
type: ''
});
}else{
this.$message.error('有必填项未填哦~');
}
@ -305,10 +307,10 @@ export default {
});
},
popUp(){
this.$store.commit('system/changePop',{show:true,text:'刷卡器'})
this.$store.commit('system/changePop',{show:true,text:'刷卡器',id:'62'})
},
popUps(){
this.$store.commit('system/changePop',{show:true,text:'密码器'})
this.$store.commit('system/changePop',{show:true,text:'密码器',id:'62'})
},
}
};

@ -51,7 +51,7 @@
</el-col>
</el-form>
</el-row>
<el-button @click="visible = true" type="primary" class="submitBtn">提交</el-button>
<el-button @click="submitForm" type="primary" class="submitBtn">提交</el-button>
</div>
</template>
<script>
@ -76,7 +76,30 @@ export default{
},
methods: {
//
submitForm(){
let ruleReqs = sessionStorage.getItem('ruleReqs')
let formList = JSON.parse(ruleReqs);
if(this.form.chargeWay){
if (this.form.userName){formList.push({"emptyOne": "16", "emptyTwo": this.form.userName, "operationIds": "26,57,64,93", "type": "3"})}//
if (this.form.goldLogo){formList.push({"emptyOne": "8", "emptyTwo": this.form.goldLogo, "operationIds": "26,57,64,87","type": "3"})}//
if (this.form.money){formList.push({"emptyOne": "8", "emptyTwo": this.form.money, "operationIds": "26,57,64,87","type": "3"})}//
if (this.form.interest){formList.push({"emptyOne": "8", "emptyTwo": this.form.interest, "operationIds": "26,57,64,87","type": "3"})}//
if (this.form.totalMoney){formList.push({"emptyOne": "8", "emptyTwo": this.form.totalMoney, "operationIds": "26,57,64,87","type": "3"})}//
if (this.form.remark){formList.push({"emptyOne": "16", "emptyTwo": this.form.remark, "operationIds": "26,57,64,93", "type": "3"})}//
formList.push(
{"emptyOne": "7", "emptyTwo": this.form.chargeWay, "operationIds": "26,57,64,86", "type": "3"},//
)
sessionStorage.setItem('ruleReqs', JSON.stringify(formList))
this.$message({
message: '提交成功',
type: ''
});
}else{
this.$message.error('有必填项未填哦~');
}
},
},
}
</script>

@ -46,7 +46,7 @@
</el-col>
</el-form>
</el-row>
<el-button @click="visible = true" type="primary" class="submitBtn">提交</el-button>
<el-button @click="submitForm" type="primary" class="submitBtn">提交</el-button>
</div>
</template>
<script>
@ -65,7 +65,35 @@ export default{
remark:'',
}
}
},
mounted() {
},
methods: {
//
submitForm(){
let ruleReqs = sessionStorage.getItem('ruleReqs')
let formList = JSON.parse(ruleReqs);
if(this.form.goldLogo && this.form.money && this.form.shroffAccount && this.form.payeeName){
if (this.form.userName){formList.push({"emptyOne": "16", "emptyTwo": this.form.userName, "operationIds": "26,57,64,93", "type": "3"})}//
if (this.form.currency){formList.push({"emptyOne": "8", "emptyTwo": this.form.currency, "operationIds": "26,57,64,87","type": "3"})}//
if (this.form.remark){formList.push({"emptyOne": "16", "emptyTwo": this.form.remark, "operationIds": "26,57,64,93", "type": "3"})}//
formList.push(
{"emptyOne": "9", "emptyTwo": this.form.goldLogo, "operationIds": "26,57,64,88", "type": "3"},//
{"emptyOne": "7", "emptyTwo": this.form.money, "operationIds": "26,57,64,86", "type": "3"},//
{"emptyOne": "15", "emptyTwo": this.form.shroffAccount, "operationIds": "26,57,64,90", "type": "3"},//
{"emptyOne": "15", "emptyTwo": this.form.payeeName, "operationIds": "26,57,64,92", "type": "3"},//
)
sessionStorage.setItem('ruleReqs', JSON.stringify(formList))
this.$message({
message: '提交成功',
type: ''
});
}else{
this.$message.error('有必填项未填哦~');
}
},
},
}
</script>
<style lang='scss' scoped>

@ -48,7 +48,7 @@
</el-col>
</el-form>
</el-row>
<el-button @click="visible = true" type="primary" class="submitBtn">提交</el-button>
<el-button @click="submitForm" type="primary" class="submitBtn">提交</el-button>
</div>
</template>
<script>
@ -67,7 +67,35 @@ export default{
remark:'',
}
}
},
mounted() {
},
methods: {
//
submitForm(){
let ruleReqs = sessionStorage.getItem('ruleReqs')
let formList = JSON.parse(ruleReqs);
if(this.form.userName && this.form.goldLogo && this.form.chargeWay && this.form.serviceCharge){
if (this.form.currency){formList.push({"emptyOne": "8", "emptyTwo": this.form.currency, "operationIds": "26,57,64,87","type": "3"})}//
if (this.form.money){formList.push({"emptyOne": "14", "emptyTwo": this.form.money, "operationIds": "26,57,64,89", "type": "3"})}//
if (this.form.remark){formList.push({"emptyOne": "16", "emptyTwo": this.form.remark, "operationIds": "26,57,64,93", "type": "3"})}//
formList.push(
{"emptyOne": "7", "emptyTwo": this.form.userName, "operationIds": "26,57,64,86", "type": "3"},//
{"emptyOne": "9", "emptyTwo": this.form.goldLogo, "operationIds": "26,57,64,88", "type": "3"},//
{"emptyOne": "15", "emptyTwo": this.form.chargeWay, "operationIds": "26,57,64,90", "type": "3"},//
{"emptyOne": "15", "emptyTwo": this.form.serviceCharge, "operationIds": "26,57,64,92", "type": "3"},//
)
sessionStorage.setItem('ruleReqs', JSON.stringify(formList))
this.$message({
message: '提交成功',
type: ''
});
}else{
this.$message.error('有必填项未填哦~');
}
},
},
}
</script>
<style lang='scss' scoped>

Loading…
Cancel
Save