1
lzhe
2024-06-05 dcf9c9e0410fe1186239e3f8d6f7bdc789c08010
src/views/configuration/custom/index.vue
@@ -2,7 +2,7 @@
 * @Author: lzhe lzhe@example.com
 * @Date: 2024-03-26 10:28:33
 * @LastEditors: lzhe lzhe@example.com
 * @LastEditTime: 2024-05-13 11:39:54
 * @LastEditTime: 2024-05-29 16:17:11
 * @FilePath: /smart-web/src/views/master/person/main/index.vue
 * @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
-->
@@ -16,8 +16,8 @@
          <div class="card">
             <div class="card-title">计划</div>
             <div class="card-desc">
                <span @click="goSetField">字段配置</span>
                <span>计划设置</span>
                <span @click="goSetField(1)">字段配置</span>
                <span @click="goPlanSettings(1)">计划设置</span>
             </div>
          </div>
       </div>
@@ -29,8 +29,8 @@
          <div class="card">
             <div class="card-title">产品</div>
             <div class="card-desc">
                <span>字段配置</span>
                <span>显示设置</span>
                <span @click="goSetField(2)">字段配置</span>
                <span @click="goPlanSettings(2)">显示设置</span>
             </div>
          </div>
       </div>
@@ -54,9 +54,11 @@
       },
      methods: {
         goSetField() {
            console.log(this.$route,this.$router)
            //this.$router.push({path: "/setField"})
         goSetField(type) {
            this.$router.push({path: '/configuration/custom/setField',query: {type: type}});
         },
         goPlanSettings(type) {
            this.$router.push({path: '/configuration/custom/planSettings',query: {type: type}});
         }
      }
   }