Browse Source

10/09 退团权限配置

111
mo 4 years ago
parent
commit
45fa6c788d

File diff suppressed because it is too large
+ 0 - 0
dist/index.html


File diff suppressed because it is too large
+ 0 - 0
dist/static/css/chunk-74a2c522.1669c748.css


File diff suppressed because it is too large
+ 0 - 0
dist/static/js/app.853614b9.js


File diff suppressed because it is too large
+ 0 - 0
dist/static/js/chunk-74a2c522.470fc3bf.js


File diff suppressed because it is too large
+ 0 - 0
dist/static/js/chunk-d78abf34.7351d4c1.js


+ 22 - 26
src/views/teamBuild/signupList.vue

@@ -210,15 +210,15 @@
                            v-if='scope.row.paymentStatus==2'
                            @click='lookdetail(scope.row)'>查看</el-button>
                 <el-button type='text'
-                           v-permission="'studentRegistration/queryFeeDetail'"
+                           v-permission="'studentRegistration/queryFeeDetail2'"
                            v-if='scope.row.paymentStatus==2'
                            @click='quitTeam(scope.row)'>退团</el-button>
                 <el-button type="text"
                            v-if="permission('visit/add')"
                            @click="addVisit(scope.row)">新增回访</el-button>
                 <el-button type="text"
-                            v-if="scope.row.paymentStatus==2"
-                            v-permission="'subjectChange/getStudentOriginal'"
+                           v-if="scope.row.paymentStatus==2"
+                           v-permission="'subjectChange/getStudentOriginal'"
                            @click="openChangeVoice(scope.row)">更改声部</el-button>
               </div>
             </template>
@@ -509,20 +509,16 @@
                    @click="submitAddVisit">确 定</el-button>
       </span>
     </el-dialog>
-    <el-dialog
-      title="更改声部"
-      :visible.sync="changeVoiceVisible"
-      @close="closeChangeVoice"
-      :destroy-on-close="true"
-      width="500px"
-    >
-      <changeVoice
-        @close="closeChangeVoice"
-        @submited="getList"
-        :detail.sync="rowDetail"
-        :musicGroupId="id"
-        :voiceList="leftList"
-      />
+    <el-dialog title="更改声部"
+               :visible.sync="changeVoiceVisible"
+               @close="closeChangeVoice"
+               :destroy-on-close="true"
+               width="500px">
+      <changeVoice @close="closeChangeVoice"
+                   @submited="getList"
+                   :detail.sync="rowDetail"
+                   :musicGroupId="id"
+                   :voiceList="leftList" />
     </el-dialog>
   </div>
 </template>
@@ -1108,18 +1104,18 @@ export default {
       this.visitForm.studentId = row.studentId
       this.visitVisiable = true;
     },
-    openChangeVoice(row) {
+    openChangeVoice (row) {
       this.getList()
-      .then(res => {
-        for (const item of res.data.rows) {
-          if (item.id === row.id) {
-            this.rowDetail = {...item}
-            this.changeVoiceVisible = true
+        .then(res => {
+          for (const item of res.data.rows) {
+            if (item.id === row.id) {
+              this.rowDetail = { ...item }
+              this.changeVoiceVisible = true
+            }
           }
-        }
-      })
+        })
     },
-    closeChangeVoice() {
+    closeChangeVoice () {
       this.changeVoiceVisible = false
       // this.rowDetail = null
     },

Some files were not shown because too many files changed in this diff