Ver código fonte

日报,周报填写添加应用服务平台

zhujindu 11 meses atrás
pai
commit
94f1daf6db

+ 1 - 1
src/views/week/daily.vue

@@ -604,7 +604,7 @@ export default {
             localStorage.setItem('powerGrade', res.data.positionId);
             this.GZQuota = false;
             this.JZQuota = false;
-            this.YFQuota = res.data.postType == 'Y' ? true : false;
+            this.YFQuota = res.data.postType == 'YF' ? true : false;
             if (res.data.postType == 'JZ') {
               this.JZQuota = true;
             } else if (res.data.postType == 'GZ') {

+ 1 - 1
src/views/week/weekly.vue

@@ -471,7 +471,7 @@ export default {
       getDetailById({ reportId: this.$route.query.reportId }).then((res) => {
         loading1.clear();
         if (res.code == 200) {
-          this.YFQuota = res.data.postType == 'Y' ? true : false;
+          this.YFQuota = res.data.postType == 'YF' ? true : false;
           this.JZQuota = false;
           if (res.data.postType == 'JZ') {
             this.JZQuota = true;

+ 1 - 1
src/views/week/weeklyApproval.vue

@@ -551,7 +551,7 @@ export default {
       getDetailById({ reportId: this.$route.query.reportId }).then((res) => {
         loading1.clear();
         if (res.code == 200) {
-          this.YFQuota = res.data.postType == 'Y' ? true : false;
+          this.YFQuota = res.data.postType == 'YF' ? true : false;
           this.JZQuota = false;
           if (res.data.postType == 'JZ') {
             this.JZQuota = true;

+ 1 - 1
src/views/week/weeklyApprovalDetils.vue

@@ -485,7 +485,7 @@ export default {
       getDetailById({ reportId: this.$route.query.reportId }).then((res) => {
         loading1.clear();
         if (res.code == 200) {
-          this.YFQuota = res.data.postType == 'Y' ? true : false;
+          this.YFQuota = res.data.postType == 'YF' ? true : false;
           this.JZQuota = false;
           if (res.data.postType == 'JZ') {
             this.JZQuota = true;

+ 1 - 1
src/views/week/weeklyHistoricalDetils.vue

@@ -588,7 +588,7 @@ export default {
       getDetailById({ reportId: this.$route.query.reportId }).then((res) => {
         loading1.clear();
         if (res.code == 200) {
-          this.YFQuota = res.data.postType == 'Y' ? true : false;
+          this.YFQuota = res.data.postType == 'YF' ? true : false;
           this.JZQuota = false;
           if (res.data.postType == 'JZ') {
             this.JZQuota = true;