Browse Source

添加periodType

liqk 2 years ago
parent
commit
52dab90450

+ 2 - 0
TEAMModelOS/ClientApp/src/view/artexam/Create.vue

@@ -465,6 +465,7 @@ export default {
                 }
                 let promise
                 if (this.isArea) {
+                    params.periodType = this.artInfo.periodType
                     promise = this.$api.areaArt.saveAreaArt({
                         id: sessionStorage.getItem("areaId"),
                         art: params,
@@ -476,6 +477,7 @@ export default {
                         id: this.curPeriod.id,
                         name: this.curPeriod.name
                     }
+                    params.periodType = this.curPeriod.periodType
                     promise = this.$api.areaArt.saveArt({
                         art: params
                     })

+ 2 - 1
TEAMModelOS/ClientApp/src/view/artexam/Mgt.vue

@@ -486,7 +486,8 @@ export default {
         findArtList() {
             let params = {
                 code: this.$store.state.userInfo.schoolCode,
-                periodId: this.curPeriod.id
+                periodId: this.curPeriod.id,
+                periodType: this.curPeriod.periodType
             }
             this.$api.areaArt.findArtList(params).then(
                 (res) => {