20240205
luoJunYong.123 3 years ago
parent 3bf025091c
commit d3e83c93bb
  1. 4
      src/pages/manage/list/acceptanceDraft/invoice.vue
  2. 4
      src/pages/manage/list/business/deposit.vue
  3. 4
      src/pages/manage/list/business/openAccount.vue
  4. 4
      src/pages/manage/list/business/transfer.vue
  5. 4
      src/pages/manage/list/business/withdrawal.vue
  6. 4
      src/pages/manage/list/cityWide/cityWideIn.vue
  7. 4
      src/pages/manage/list/cityWide/cityWideOut.vue
  8. 20
      src/pages/manage/list/client/consumerClient.vue
  9. 22
      src/pages/manage/list/client/corporateClient.vue
  10. 0
      src/pages/manage/list/client/test.vue
  11. 4
      src/pages/manage/list/personal/currentAccount/accountCancellation.vue
  12. 18
      src/pages/manage/list/personal/currentAccount/deposit.vue
  13. 4
      src/pages/manage/list/servicesAccount/passwordChange.vue
  14. 4
      src/pages/manage/list/servicesAccount/passwordLost.vue
  15. 4
      src/pages/manage/list/servicesAccount/relieveLost.vue
  16. 14
      test.txt

@ -293,7 +293,7 @@ export default {
}
},
mounted() {
const parentId = '0,5,30,374'
const parentId = '287,5,30,374'
autoPlay2(parentId, this.form, this.myTable2, this.myTable)
this.$refs.accountNumber.focus()
},
@ -302,7 +302,7 @@ export default {
submitForm(){
this.$refs.form.validate(myValidate(() => {
//
const parentId = '0,5,30,374'
const parentId = '287,5,30,374'
autoPlay(parentId, this.form, this.myTable2, this.myTable)
}, this.$refs));
},

@ -180,7 +180,7 @@ export default {
},
methods: {
getFormData(){
const parentId = '0,5,27,225'
const parentId = '287,5,27,225'
autoPlay2(parentId, this.form, this.myTable2, this.myTable)
},
submitForm() {
@ -190,7 +190,7 @@ export default {
//
this.visible = true;
let formList = [];
const parentId = '0,5,27,225'
const parentId = '287,5,27,225'
autoPlay(parentId, this.form, this.myTable2, this.myTable)
}, this.$refs));
},

@ -297,7 +297,7 @@ export default {
},
methods: {
getFormData(){
const parentId = '0,5,27,224'
const parentId = '287,5,27,224'
autoPlay2(parentId, this.form, this.myTable2, this.myTable)
},
submitForm(){
@ -306,7 +306,7 @@ export default {
this.$refs.form.validate(myValidate(() => {
//
this.visible = true;
const parentId = '0,5,27,224'
const parentId = '287,5,27,224'
autoPlay(parentId, this.form, this.myTable2, this.myTable)
}, this.$refs));
},

@ -232,7 +232,7 @@ export default {
},
methods: {
getFormData(){
const parentId = '0,5,27,227'
const parentId = '287,5,27,227'
autoPlay2(parentId, this.form, this.myTable2, this.myTable)
},
submitForm() {
@ -241,7 +241,7 @@ export default {
this.$refs.form.validate(myValidate(() => {
//
this.visible = true;
const parentId = '0,5,27,227'
const parentId = '287,5,27,227'
autoPlay(parentId, this.form, this.myTable2, this.myTable)
}, this.$refs));
},

@ -206,14 +206,14 @@ export default {
},
methods: {
getFormData(){
const parentId = '0,5,27,226'
const parentId = '287,5,27,226'
autoPlay2(parentId, this.form, this.myTable2, this.myTable)
},
submitForm() {
this.$refs.form.validate(myValidate(() => {
//
this.visible = true;
const parentId = '0,5,27,226'
const parentId = '287,5,27,226'
autoPlay(parentId, this.form, this.myTable2, this.myTable)
// let tmpIndex = 100;
// for(const key in this.myTable2) {

@ -262,7 +262,7 @@ export default {
},
mounted() {
const parentId = '0,5,29,345,359'
const parentId = '287,5,29,345,359'
autoPlay2(parentId, this.form, this.myTable2, this.myTable)
this.$refs.shroffAccountNumber.focus()
},
@ -270,7 +270,7 @@ export default {
submitForm() {
this.$refs.form.validate(myValidate(() => {
//
const parentId = '0,5,29,345,359'
const parentId = '287,5,29,345,359'
autoPlay(parentId, this.form, this.myTable2, this.myTable)
}, this.$refs));
},

@ -246,7 +246,7 @@ export default {
},
mounted() {
const parentId = '0,5,29,345,346'
const parentId = '287,5,29,345,346'
autoPlay2(parentId, this.form, this.myTable2, this.myTable)
this.$refs.shroffAccountNumber.focus()
},
@ -254,7 +254,7 @@ export default {
submitForm() {
this.$refs.form.validate(myValidate(() => {
//
const parentId = '0,5,29,345,346'
const parentId = '287,5,29,345,346'
autoPlay(parentId, this.form, this.myTable2, this.myTable)
}, this.$refs));
},

@ -229,7 +229,7 @@ export default {
methods: {
getFormData(){
let param= {
parentId: '0,5,25,33'
parentId: '287,5,25,33'
}
getOperation(param).then((data)=>{
console.log(data)
@ -268,13 +268,13 @@ export default {
let nomClientIdentity = sessionStorage.getItem('nomClientIdentity')
let nomClientIdentitys = JSON.parse(nomClientIdentity);
if (nomClientIdentitys && nomClientIdentitys.length > 0){
formList.push({"answerId":'41',"emptyOne": "", "emptyTwo": nomClientIdentity, "operationIds": "0,5,25,33,41","type": ""})
formList.push({"answerId":'41',"emptyOne": "", "emptyTwo": nomClientIdentity, "operationIds": "287,5,25,33,41","type": ""})
if(this.form.sex){
formList.push({
"answerId":'43',
"emptyOne": "1",
"emptyTwo": this.form.sex,
"operationIds": "0,5,25,33,43",//
"operationIds": "287,5,25,33,43",//
"type": "1"
})
}
@ -283,7 +283,7 @@ export default {
"answerId":'45',
"emptyOne": "3",
"emptyTwo": this.form.nationality,
"operationIds": "0,5,25,33,45",//
"operationIds": "287,5,25,33,45",//
"type": "1"
})
}
@ -292,18 +292,18 @@ export default {
"answerId":'46',
"emptyOne": "4",
"emptyTwo": this.form.mailbox,
"operationIds": "0,5,25,33,46",//
"operationIds": "287,5,25,33,46",//
"type": "3"
})
}
formList.push(
{"answerId":'40',"emptyOne": "19", "emptyTwo": this.form.idType, "operationIds": "0,5,25,33,40", "type": "1"},//
{"answerId":'42',"emptyOne": "7", "emptyTwo": this.form.userName, "operationIds": "0,5,25,33,42", "type": "3"},//
{"answerId":'44',"emptyOne": "2", "emptyTwo": this.form.birthday, "operationIds": "0,5,25,33,44", "type": "3"},//
{"answerId":'47',"emptyOne": "5", "emptyTwo": this.form.phone, "operationIds": "0,5,25,33,47", "type": "3"}//
{"answerId":'40',"emptyOne": "19", "emptyTwo": this.form.idType, "operationIds": "287,5,25,33,40", "type": "1"},//
{"answerId":'42',"emptyOne": "7", "emptyTwo": this.form.userName, "operationIds": "287,5,25,33,42", "type": "3"},//
{"answerId":'44',"emptyOne": "2", "emptyTwo": this.form.birthday, "operationIds": "287,5,25,33,44", "type": "3"},//
{"answerId":'47',"emptyOne": "5", "emptyTwo": this.form.phone, "operationIds": "287,5,25,33,47", "type": "3"}//
);
let params= {
parentId:'0,5,25,33',
parentId:'287,5,25,33',
lcJudgmentRuleReq:formList,
projectId:+projectId,
startTime:startTime,

@ -152,7 +152,7 @@ export default {
methods: {
getFormData(){
let param= {
parentId: '0,5,25,34'
parentId: '287,5,25,34'
}
getOperation(param).then((data)=>{
console.log(data)
@ -193,30 +193,30 @@ export default {
let firmClientIdentitys = JSON.parse(firmClientIdentity);
if (firmClientIdentitys && firmClientIdentitys.length > 0){
for (var i=0;i<firmClientIdentitys.length;i++){
formList.push({"answerId":54,"emptyOne": "", "emptyTwo": firmClientIdentity, "operationIds": "0,5,25,34,54","type": ""})//
formList.push({"answerId":54,"emptyOne": "", "emptyTwo": firmClientIdentity, "operationIds": "287,5,25,34,54","type": ""})//
}
if(this.form.documentType){
formList.push({ "answerId":'48', "emptyOne": "19", "emptyTwo": this.form.documentType, "operationIds": "0,5,25,34,48","type": "1"})//
formList.push({ "answerId":'48', "emptyOne": "19", "emptyTwo": this.form.documentType, "operationIds": "287,5,25,34,48","type": "1"})//
}
if(this.form.companyAddress){
formList.push({ "answerId":'51', "emptyOne": "22", "emptyTwo": this.form.companyAddress, "operationIds": "0,5,25,34,51", "type": "3" })//
formList.push({ "answerId":'51', "emptyOne": "22", "emptyTwo": this.form.companyAddress, "operationIds": "287,5,25,34,51", "type": "3" })//
}
if(this.form.registeredCapital){
formList.push({ "answerId":'52', "emptyOne": "23", "emptyTwo": this.form.registeredCapital, "operationIds": "0,5,25,34,52", "type": "3" })//
formList.push({ "answerId":'52', "emptyOne": "23", "emptyTwo": this.form.registeredCapital, "operationIds": "287,5,25,34,52", "type": "3" })//
}
if(this.form.name){
formList.push( {"answerId":'55',"emptyOne": "25", "emptyTwo": this.form.name, "operationIds": "0,5,25,34,55", "type": "3"})//
formList.push( {"answerId":'55',"emptyOne": "25", "emptyTwo": this.form.name, "operationIds": "287,5,25,34,55", "type": "3"})//
}
if(this.form.phone){
formList.push({"answerId":'56',"emptyOne": "5", "emptyTwo": this.form.phone, "operationIds": "0,5,25,34,56", "type": "3"})//
formList.push({"answerId":'56',"emptyOne": "5", "emptyTwo": this.form.phone, "operationIds": "287,5,25,34,56", "type": "3"})//
}
formList.push(
{ "answerId":'49', "emptyOne": "20", "emptyTwo": this.form.codeNumber, "operationIds": "0,5,25,34,49", "type": "3" },//
{ "answerId":'50', "emptyOne": "21", "emptyTwo": this.form.companyName, "operationIds": "0,5,25,34,50", "type": "3" },//
{"answerId":'53',"emptyOne": "24", "emptyTwo": this.form.certificateType, "operationIds": "0,5,25,34,53", "type": "1"},//
{ "answerId":'49', "emptyOne": "20", "emptyTwo": this.form.codeNumber, "operationIds": "287,5,25,34,49", "type": "3" },//
{ "answerId":'50', "emptyOne": "21", "emptyTwo": this.form.companyName, "operationIds": "287,5,25,34,50", "type": "3" },//
{"answerId":'53',"emptyOne": "24", "emptyTwo": this.form.certificateType, "operationIds": "287,5,25,34,53", "type": "1"},//
);
let params= {
parentId:'0,5,25,34',
parentId:'287,5,25,34',
lcJudgmentRuleReq:formList,
projectId:+projectId,
startTime:startTime,

@ -71,7 +71,7 @@ export default{
},
mounted() {
this.$refs.userName.focus()
const parentId = '0,5,26,57,67'
const parentId = '287,5,26,57,67'
const cardArr = {
113: 'nomCurrentCancellCard1',
116: 'nomCurrentCancellCard2',
@ -106,7 +106,7 @@ export default{
// const passwords = [
// { 117: nomCurrentCancellPasswords }
// ]
const parentId = '0,5,26,57,67'
const parentId = '287,5,26,57,67'
autoPlay(parentId, this.form, this.myTable2, this.myTable, cards)
}, this.$refs));
},

@ -88,7 +88,7 @@ export default{
methods: {
getFormData(){
let param= {
parentId: '0,5,26,57,63'
parentId: '287,5,26,57,63'
}
getOperation(param).then((data)=>{
console.log(data)
@ -122,23 +122,23 @@ export default{
let nomBusinessDepositCard = sessionStorage.getItem('nomBusinessDepositCard')
let nomBusinessDepositCards = nomBusinessDepositCard // JSON.parse(nomBusinessDepositCard);
if (nomBusinessDepositCards && nomBusinessDepositCards.length > 0){
formList.push({"answerId":78,"emptyOne": "", "emptyTwo": nomBusinessDepositCards, "operationIds": "0,5,26,57,63,78","type": ""})//
formList.push({"answerId":78,"emptyOne": "", "emptyTwo": nomBusinessDepositCards, "operationIds": "287,5,26,57,63,78","type": ""})//
if(this.form.currency){
formList.push({ "answerId":'80', "emptyOne": "8", "emptyTwo": this.form.currency, "operationIds": "0,5,26,57,63,80", "type": "1" })//
formList.push({ "answerId":'80', "emptyOne": "8", "emptyTwo": this.form.currency, "operationIds": "287,5,26,57,63,80", "type": "1" })//
}
if(this.form.money){
formList.push({ "answerId":'82', "emptyOne": "14", "emptyTwo": this.form.money, "operationIds": "0,5,26,57,63,82", "type": "3" })//
formList.push({ "answerId":'82', "emptyOne": "14", "emptyTwo": this.form.money, "operationIds": "287,5,26,57,63,82", "type": "3" })//
}
if(this.form.remark){
formList.push( {"answerId":'84',"emptyOne": "16", "emptyTwo": this.form.remark, "operationIds": "0,5,26,57,63,84", "type": "3"})//
formList.push( {"answerId":'84',"emptyOne": "16", "emptyTwo": this.form.remark, "operationIds": "287,5,26,57,63,84", "type": "3"})//
}
formList.push(
{ "answerId":'79', "emptyOne": "7", "emptyTwo": this.form.userName, "operationIds": "0,5,26,57,63,79", "type": "3" },//
{ "answerId":'81', "emptyOne": "9", "emptyTwo": this.form.goldLogo, "operationIds": "0,5,26,57,63,81", "type": "1" },//
{"answerId":'83',"emptyOne": "15", "emptyTwo": this.form.annualInterest, "operationIds": "0,5,26,57,63,83", "type": "3"},//
{ "answerId":'79', "emptyOne": "7", "emptyTwo": this.form.userName, "operationIds": "287,5,26,57,63,79", "type": "3" },//
{ "answerId":'81', "emptyOne": "9", "emptyTwo": this.form.goldLogo, "operationIds": "287,5,26,57,63,81", "type": "1" },//
{"answerId":'83',"emptyOne": "15", "emptyTwo": this.form.annualInterest, "operationIds": "287,5,26,57,63,83", "type": "3"},//
);
let params= {
parentId:'0,5,26,57,63',
parentId:'287,5,26,57,63',
lcJudgmentRuleReq:formList,
projectId:+projectId,
startTime:startTime,

@ -130,7 +130,7 @@ export default{
}
},
mounted() {
const parentId = '0,5,28,316'
const parentId = '287,5,28,316'
const cards = {
320: 'servicesPasswordChange',
323: 'servicesPasswordChange2'
@ -152,7 +152,7 @@ export default{
this.$refs.form.validate(myValidate(() => {
//
this.visible = true;
const parentId = '0,5,28,316'
const parentId = '287,5,28,316'
const cards = [
{ // //
320: servicesPasswordChange

@ -104,7 +104,7 @@ export default{
}
},
mounted() {
const parentId = '0,5,28,328'
const parentId = '287,5,28,328'
const cards = {
329: 'servicesPasswordLost',
333: 'servicesPasswordLost2'
@ -126,7 +126,7 @@ export default{
let servicesPasswordLost2 = sessionStorage.getItem('servicesPasswordLost2')
this.visible = true;
const parentId = '0,5,28,328'
const parentId = '287,5,28,328'
const cards = [
{ // //
329: servicesPasswordLost

@ -124,7 +124,7 @@ export default{
let servicesPasswordRelievePassword = sessionStorage.getItem('servicesPasswordRelievePassword')
this.visible = true;
const parentId = '0,5,28,336'
const parentId = '287,5,28,336'
const cards = [
{ // //
341: servicesPasswordRelieveLost
@ -144,7 +144,7 @@ export default{
checkName: checkName
},
mounted() {
const parentId = '0,5,28,336'
const parentId = '287,5,28,336'
const cards = {
341: 'servicesPasswordRelieveLost',
337: 'servicesPasswordRelieveLost2',

@ -0,0 +1,14 @@
作用域链是从当前作用域逐层查找的,一直查找到window,那么这样一个查找是要花费时间的,如果我们让他马上查到这个变量。
我们是不是就节省了这个时间。所以我们可以把我们要使用的变量,作为参数传入方法,或者再方法里进行缓存,来提升速度。
晚上我们会具体的和大家讲到这个点
Vue3的架构方案是函数式编程,这种编程方式再早期的时候,就是lodash和underscore这样工具的方案,而vue2的方案是一种建造者模式。
好处在于
1, 更有利于tree-shaking。这也是vue3为什么要改成函数式编程的最大原因。
2, 函数式编程可扩张性更好。
设计模式分为
1, 创建型设计模式,用来指导对象的创建,用在我们设计需求的架构时。
2, 结构型,用来指导功能模块的结构,就像我们设计公司的组织结构一样。
3, 行为型设计模式,用来解决模块间行为的问题,设计模块间如何沟通
4, 技巧型设计模式,一些优化代码的技巧
Loading…
Cancel
Save