lex-xin 4 éve
szülő
commit
b48f153c4a

+ 2 - 2
src/views/sporadicManager/sporadicList.vue

@@ -233,7 +233,7 @@
             filterable
           >
             <el-option
-              v-for="item in orderType1"
+              v-for="item in (isNew ? orderType1 : orderType)"
               :key="item.value"
               :label="item.label"
               :value="item.value"
@@ -378,7 +378,7 @@
             clearable
             filterable
           >
-            <template v-for="item in orderType1">
+            <template v-for="item in (isNew1 ? orderType1 : orderType)">
               <el-option
                 v-if="item.value != 12"
                 :key="item.value"

+ 4 - 0
src/views/teacherManager/teacherList.vue

@@ -427,6 +427,10 @@ export default {
       this.$router.push({
         path: path,
         query: params,
+      }, router => {
+        if(type != 'update') {
+          router.meta.title = '老师新增'
+        }
       });
     },
     getList() {

+ 6 - 0
src/views/teamBuild/components/teamSoundSet.vue

@@ -18,6 +18,7 @@
           child: 'musicGroup/createGroup',
           parent: '/teamBuild/soundMoney',
         }">提交</el-button>
+      <el-button type="primary" v-if="teamStatus == 'feeAudit'" @click="goHome">确定</el-button>
       <el-button type="primary" @click="submitAudit(1)" v-if="teamStatus == 'teamDraft'">提交审核</el-button>
       <el-button type="primary" @click="approval"
            v-if="teamStatus == 'teamAudit'"
@@ -128,6 +129,11 @@ export default {
     getBaseInfo (baseInfo) {
       this.$emit('getBaseInfo', baseInfo)
     },
+    goHome() {
+      // console.log(this.$route.path)
+      this.$router.push({ path: "/business/teamDetail" });
+      // this.$store.dispatch('delVisitedViews', this.$route.path)
+    },
     approval () {
       this.$confirm(`是否审核通过?`, "提示", {
         confirmButtonText: "确定",

+ 12 - 4
src/views/teamDetail/teamList.vue

@@ -523,12 +523,16 @@ export default {
       switch (row.status) {
         case 'DRAFT': {
           // 编辑中
-          this.$router.push({ path: '/business/teamBuild', query: { type: 'teamDraft', id: row.id,  } })
+          this.$router.push({ path: '/business/teamBuild', query: { type: 'teamDraft', id: row.id,  } }, router => {
+            router.meta.title = '编辑乐团'
+          })
           break;
         }
         case 'AUDIT': {
           // 审核中
-          this.$router.push({ path: '/business/teamBuild', query: { type: 'teamAudit', id: row.id,  } })
+          this.$router.push({ path: '/business/teamBuild', query: { type: 'teamAudit', id: row.id,  } }, router => {
+            router.meta.title = '审核乐团'
+          })
           break;
         }
         case 'PRE_BUILD_FEE': {
@@ -538,12 +542,16 @@ export default {
         }
         case 'FEE_AUDIT': {
           // 费用审核中
-          this.$router.push({ path: '/business/teamBuild', query: { type: 'feeAudit', id: row.id,  } })
+          this.$router.push({ path: '/business/teamBuild', query: { type: 'feeAudit', id: row.id,  } }, router => {
+            router.meta.title = '乐团费用审核中'
+          })
           break;
         }
         case 'AUDIT_FAILED': {
           // 审核失败
-          this.$router.push({ path: '/business/teamBuild', query: { type: 'teamDraft', id: row.id,  } })
+          this.$router.push({ path: '/business/teamBuild', query: { type: 'teamDraft', id: row.id,  } }, router => {
+            router.meta.title = '乐团审核失败编辑'
+          })
           break;
         }
         case 'PRE_APPLY': {