+
@@ -201,6 +201,7 @@ export default{
getFormData(){
const parentId = '287,5,26,59,157'
const cards = {
+ 180: 'nomUsefulPhrasesClosed',
181: 'nomUsefulPhrasesClosed2',
192: 'nomUsefulPhrasesClosedPassword'
}
@@ -212,14 +213,21 @@ export default{
popUp2(text) {
this.$store.commit('system/changePop',{show:true,text, id: '192'})
},
+ popUp3(text) {
+ this.$store.commit('system/changePop',{show:true,text, id: '180'})
+ },
submitForm() {
this.$refs.form.validate(myValidate(() => {
// 验证通过逻辑写在这
this.visible = true;
const parentId = '287,5,26,59,157'
+ const nomUsefulPhrasesClosed = sessionStorage.getItem('nomUsefulPhrasesClosed')
const nomUsefulPhrasesClosed2 = sessionStorage.getItem('nomUsefulPhrasesClosed2')
const nomUsefulPhrasesClosedPassword = sessionStorage.getItem('nomUsefulPhrasesClosedPassword')
const cards = [
+ {
+ 180: nomUsefulPhrasesClosed
+ },
{
181: nomUsefulPhrasesClosed2,
diff --git a/src/pages/manage/list/personal/usefulPhrases/openAccount.vue b/src/pages/manage/list/personal/usefulPhrases/openAccount.vue
index f35715e..dcebdff 100644
--- a/src/pages/manage/list/personal/usefulPhrases/openAccount.vue
+++ b/src/pages/manage/list/personal/usefulPhrases/openAccount.vue
@@ -197,7 +197,7 @@ export default{
},
methods: {
popUp1(text) {
- this.$store.commit('system/changePop',{show:true,text})
+ this.$store.commit('system/changePop',{show:true,text, id: 1399})
},
popUp2(text) {
this.$store.commit('system/changePop',{show:true,text, id: 166})
@@ -208,6 +208,7 @@ export default{
getFormData(){
const parentId = '287,5,26,59,155'
const cards = {
+ 1399: 'nomUsefulPhrasesOpenCard2',
166: 'nomUsefulPhrasesOpenCard',
167: 'nomUsefulPhrasesOpenPassword'
}
@@ -215,13 +216,16 @@ export default{
},
submitForm() {
let nomUsefulPhrasesOpenCard = sessionStorage.getItem('nomUsefulPhrasesOpenCard')
- // let nomUsefulPhrasesOpenCard2 = sessionStorage.getItem('nomUsefulPhrasesOpenCard2')
+ let nomUsefulPhrasesOpenCard2 = sessionStorage.getItem('nomUsefulPhrasesOpenCard2')
let nomUsefulPhrasesOpenPassword = sessionStorage.getItem('nomUsefulPhrasesOpenPassword')
this.$refs.form.validate(myValidate(() => {
// 验证通过逻辑写在这
this.visible = true;
const parentId = '287,5,26,59,155'
const cards = [
+ {
+ 1399: nomUsefulPhrasesOpenCard2
+ },
{
166: nomUsefulPhrasesOpenCard
},
diff --git a/src/utils/utilFunction.js b/src/utils/utilFunction.js
index 96a6995..3ea5207 100644
--- a/src/utils/utilFunction.js
+++ b/src/utils/utilFunction.js
@@ -103,7 +103,11 @@ const myValidate = (callback, refs) => {
break;
}
const { message, field } = tmpObj
- refs[field].focus();
+ try {
+ refs[field].focus();
+ } catch (error) {
+
+ }
Message.info({
center: true,
message