浏览代码

添加periodType

liqk 2 年之前
父节点
当前提交
52dab90450
共有 2 个文件被更改,包括 4 次插入1 次删除
  1. 2 0
      TEAMModelOS/ClientApp/src/view/artexam/Create.vue
  2. 2 1
      TEAMModelOS/ClientApp/src/view/artexam/Mgt.vue

+ 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) => {