licailing 4 anni fa
parent
commit
1f80184e3f

+ 1 - 1
src/main/vue/src/components/RecordLogs.vue

@@ -283,7 +283,7 @@ export default {
                     });
             }
             this.$http
-                .get('/district/NJ')
+                .post('/setting/byFlag', { flag: 2 })
                 .then(res => {
                     this.district = res;
                 })

+ 11 - 0
src/main/vue/src/router.js

@@ -757,6 +757,17 @@ const router = new Router({
                     meta: {
                         title: '节目签到'
                     }
+                },
+                {
+                    path: '/scoreAdminReviewList',
+                    name: 'ProgScoreAdminList',
+                    component: () =>
+                        import(
+                            /* webpackChunkName: "progScoreAdminList" */ '@/views/performance/ProgScoreAdminList.vue'
+                        ),
+                    meta: {
+                        title: '得分列表'
+                    }
                 }
                 /**INSERT_LOCATION**/
             ]

+ 11 - 2
src/main/vue/src/views/performance/ProgrammeSignList.vue

@@ -140,6 +140,7 @@ import endOfDay from 'date-fns/endOfDay';
 export default {
     name: 'ProgrammeSignList',
     mixins: [pageableTable, delChild],
+    props: ['review'],
     data() {
         return {
             multipleMode: false,
@@ -160,7 +161,8 @@ export default {
             signForm: {},
             addresses: [],
             columnKeys: ['arrangeName', 'gradingOrganization', 'organization'],
-            addressList: []
+            addressList: [],
+            online: true
         };
     },
     created() {
@@ -185,7 +187,6 @@ export default {
                             value: item.id
                         });
                     });
-                    // this.form.performanceId = res.content[0].id;
                     this.form.performanceId = res.content[0].id;
                     this.performance = res.content[0];
                     this.getData();
@@ -356,6 +357,14 @@ export default {
             this.performance = this.performances.find(item => {
                 return item.id == this.form.performanceId;
             });
+        },
+        setPerformance(row) {
+            this.form.performanceId = row.id;
+            this.performance = row;
+            this.online = row.online;
+            if (this.review) {
+                this.online = this.reviewOnline;
+            }
         }
     }
 };

+ 1 - 1
src/main/vue/src/views/record/RecordAdd.vue

@@ -217,7 +217,7 @@ export default {
                 });
         }
         this.$http
-            .get('/district/NJ')
+            .post('/setting/byFlag', { flag: 2 })
             .then(res => {
                 this.district = res;
             })

+ 1 - 1
src/main/vue/src/views/record/RecordDistrictList2.vue

@@ -85,7 +85,7 @@ export default {
     mixins: [pageableTable],
     created() {
         this.$http
-            .get('/district/NJ')
+            .post('/setting/byFlag', { flag: 2 })
             .then(res => {
                 this.district = res;
             })

+ 1 - 1
src/main/vue/src/views/record/RecordEdit.vue

@@ -234,7 +234,7 @@ export default {
                 });
         }
         this.$http
-            .get('/district/NJ')
+            .post('/setting/byFlag', { flag: 2 })
             .then(res => {
                 this.district = res;
             })

+ 1 - 1
src/main/vue/src/views/record/RecordList.vue

@@ -130,7 +130,7 @@ export default {
     created() {
         this.uploadUrl = resolveUrl(this.$baseUrl, 'record/upload');
         this.$http
-            .get('/district/NJ')
+            .post('/setting/byFlag', { flag: 2 })
             .then(res => {
                 this.district = res;
             })

+ 1 - 1
src/main/vue/src/views/record/RecordOrganizationList.vue

@@ -167,7 +167,7 @@ export default {
     mixins: [pageableTable],
     created() {
         this.$http
-            .get('/district/NJ')
+            .post('/setting/byFlag', { flag: 2 })
             .then(res => {
                 this.district = res;
             })

+ 1 - 1
src/main/vue/src/views/record/RecordRegulationHistory.vue

@@ -212,7 +212,7 @@ export default {
     components: { RecordLogs, RecordLog },
     created() {
         this.$http
-            .get('/district/NJ')
+            .post('/setting/byFlag', { flag: 2 })
             .then(res => {
                 this.districts = res;
             })

+ 1 - 1
src/main/vue/src/views/record/RecordRegulationList.vue

@@ -176,7 +176,7 @@ export default {
     components: { RecordLog, RecordLogs },
     created() {
         this.$http
-            .get('/district/NJ')
+            .post('/setting/byFlag', { flag: 2 })
             .then(res => {
                 this.districts = res;
             })

+ 1 - 1
src/main/vue/src/views/record/VideoList.vue

@@ -107,7 +107,7 @@ export default {
     },
     created() {
         this.$http
-            .get('/district/NJ')
+            .post('/setting/byFlag', { flag: 2 })
             .then(res => {
                 this.districts = res;
             })

+ 1 - 1
src/main/vue/src/views/record/VideoOrganizationList.vue

@@ -36,7 +36,7 @@ export default {
     },
     created() {
         this.$http
-            .get('/district/NJ')
+            .post('/setting/byFlag', { flag: 2 })
             .then(res => {
                 this.districts = res;
             })