gHost 2 years ago
parent
commit
c0672ffc7f

File diff suppressed because it is too large
+ 0 - 1
.nuxt/dist/client/commons/sign.new~sign.newv2~01e7b97c.2fafb57.js


File diff suppressed because it is too large
+ 1 - 1
.nuxt/dist/client/commons/sign.new~sign.newv2~01e7b97c.8e8703d.css


File diff suppressed because it is too large
+ 1 - 0
.nuxt/dist/client/commons/sign.new~sign.newv2~01e7b97c.fae9fbb.js


File diff suppressed because it is too large
+ 1 - 1
.nuxt/dist/client/runtime.990efea.js


File diff suppressed because it is too large
+ 1 - 0
.nuxt/dist/client/sign.newv1~01e7b97c.4637976.js


File diff suppressed because it is too large
+ 1 - 1
.nuxt/dist/client/sign.newv1~01e7b97c.6ee6485.css


File diff suppressed because it is too large
+ 0 - 1
.nuxt/dist/client/sign.newv1~01e7b97c.979272a.js


File diff suppressed because it is too large
+ 1539 - 1539
.nuxt/dist/server/client.manifest.json


File diff suppressed because it is too large
+ 1 - 1
.nuxt/dist/server/index.spa.html


File diff suppressed because it is too large
+ 1 - 1
.nuxt/dist/server/pages/kaifain/add/index.js.map


File diff suppressed because it is too large
+ 1 - 1
.nuxt/dist/server/pages/otherpage/money/index.js.map


File diff suppressed because it is too large
+ 1 - 1
.nuxt/dist/server/pages/seo/test.js.map


File diff suppressed because it is too large
+ 18 - 20
.nuxt/dist/server/pages/sign/new.js


File diff suppressed because it is too large
+ 1 - 1
.nuxt/dist/server/pages/sign/new.js.map


File diff suppressed because it is too large
+ 15 - 12
.nuxt/dist/server/pages/sign/new_v1.js


File diff suppressed because it is too large
+ 1 - 1
.nuxt/dist/server/pages/sign/new_v1.js.map


File diff suppressed because it is too large
+ 18 - 20
.nuxt/dist/server/pages/sign/new_v2.js


File diff suppressed because it is too large
+ 1 - 1
.nuxt/dist/server/pages/sign/new_v2.js.map


File diff suppressed because it is too large
+ 1 - 1
.nuxt/dist/server/pages/topics/create.js.map


File diff suppressed because it is too large
+ 1 - 1
.nuxt/dist/server/pages/type/vip/index.js.map


File diff suppressed because it is too large
+ 1 - 1
.nuxt/dist/server/pages/user/register.js.map


+ 4 - 1
components/sign/info.vue

@@ -336,7 +336,10 @@ export default {
   },
   watch: {
     "form.occupation_op": function() {
-      this.form.direction_op = "";
+      if (this.form.occupation_op !== this.userInfo.occupation_op) {
+        this.userInfo.occupation_op=this.form.occupation_op;
+        this.form.direction_op = "";
+      }
     }
   },
   async mounted() {

+ 5 - 7
components/sign/step-info.vue

@@ -55,6 +55,7 @@
           <el-select
             v-model="form.occupation_op"
             placeholder="请选择"
+            @change="change_occupation_op"
             style="width: 340px"
           >
             <el-option
@@ -377,13 +378,6 @@ export default {
       return condition;
     },
   },
-  watch: {
-    "form.occupation_op": function () {
-      if (this.form.occupation_op !== this.userInfo.occupation_op) {
-        this.form.direction_op = "";
-      }
-    },
-  },
   async mounted() {
     this.userInfo = await this.getUserInfo();
     const user = this.userInfo;
@@ -434,6 +428,10 @@ export default {
     this.cnzz("签约流程", "基本信息", "访问");
   },
   methods: {
+    async change_occupation_op()
+    {
+      this.form.direction_op = "";
+    },
     async nextStep() {
       if (!this.canNext) {
         this.cnzz("签约流程", "基本信息(下一步)", "失败");