Selaa lähdekoodia

01/14 15:20

111
mo 5 vuotta sitten
vanhempi
commit
644f508f8c

Tiedoston diff-näkymää rajattu, sillä se on liian suuri
+ 0 - 0
dist/index.html


Tiedoston diff-näkymää rajattu, sillä se on liian suuri
+ 0 - 0
dist/static/css/chunk-0bccdd4d.f4ddd45f.css


+ 0 - 1
dist/static/css/chunk-38848e9e.e8d89c43.css

@@ -1 +0,0 @@
-.m-container[data-v-551cbece]{min-width:100%}.el-input[data-v-551cbece]{width:400px}[data-v-551cbece] .ql-editor{min-height:300px}.el-button--primary[data-v-551cbece],.el-button--primary[data-v-551cbece]:active,.el-button--primary[data-v-551cbece]:focus,.el-button--primary[data-v-551cbece]:hover{background:#14928a;border-color:#14928a;color:#fff}.el-row[data-v-551cbece]{margin-top:40px}.el-col[data-v-551cbece]{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;margin-bottom:20px;-webkit-box-pack:end;-ms-flex-pack:end;justify-content:flex-end;margin-right:50%}.el-input-group[data-v-551cbece]{width:200px;margin:0 20px}[data-v-551cbece] .el-tree-node__content{height:40px!important}[data-v-551cbece] .avatar-uploader .el-upload{border:1px dashed #d9d9d9;border-radius:6px;cursor:pointer;position:relative;overflow:hidden}.avatar-uploader .el-upload[data-v-551cbece]:hover{border-color:#409eff}.avatar-uploader-icon[data-v-551cbece]{font-size:28px;color:#8c939d;width:120px;height:120px;line-height:120px;text-align:center}.avatar[data-v-551cbece]{width:120px;height:120px;display:block}.ivu-upload[data-v-551cbece]{display:none}

+ 1 - 0
dist/static/css/chunk-390f25e4.e7e53364.css

@@ -0,0 +1 @@
+.m-container[data-v-02d73a1e]{min-width:100%}.el-input[data-v-02d73a1e]{width:400px}[data-v-02d73a1e] .ql-editor{min-height:300px}.el-button--primary[data-v-02d73a1e],.el-button--primary[data-v-02d73a1e]:active,.el-button--primary[data-v-02d73a1e]:focus,.el-button--primary[data-v-02d73a1e]:hover{background:#14928a;border-color:#14928a;color:#fff}.el-row[data-v-02d73a1e]{margin-top:40px}.el-col[data-v-02d73a1e]{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;margin-bottom:20px;-webkit-box-pack:end;-ms-flex-pack:end;justify-content:flex-end;margin-right:50%}.el-input-group[data-v-02d73a1e]{width:200px;margin:0 20px}[data-v-02d73a1e] .el-tree-node__content{height:40px!important}[data-v-02d73a1e] .avatar-uploader .el-upload{border:1px dashed #d9d9d9;border-radius:6px;cursor:pointer;position:relative;overflow:hidden}.avatar-uploader .el-upload[data-v-02d73a1e]:hover{border-color:#409eff}.avatar-uploader-icon[data-v-02d73a1e]{font-size:28px;color:#8c939d;width:120px;height:120px;line-height:120px;text-align:center}.avatar[data-v-02d73a1e]{width:120px;height:120px;display:block}.ivu-upload[data-v-02d73a1e]{display:none}

Tiedoston diff-näkymää rajattu, sillä se on liian suuri
+ 0 - 0
dist/static/css/chunk-f4697322.48f8e0af.css


Tiedoston diff-näkymää rajattu, sillä se on liian suuri
+ 0 - 0
dist/static/js/app.7776f0ed.js


Tiedoston diff-näkymää rajattu, sillä se on liian suuri
+ 0 - 0
dist/static/js/chunk-0bccdd4d.96fc7649.js


Tiedoston diff-näkymää rajattu, sillä se on liian suuri
+ 0 - 0
dist/static/js/chunk-38848e9e.85c352bc.js


Tiedoston diff-näkymää rajattu, sillä se on liian suuri
+ 0 - 0
dist/static/js/chunk-390f25e4.98d9c100.js


Tiedoston diff-näkymää rajattu, sillä se on liian suuri
+ 0 - 0
dist/static/js/chunk-41f382a0.70483f55.js


Tiedoston diff-näkymää rajattu, sillä se on liian suuri
+ 0 - 0
dist/static/js/chunk-f4697322.f5bee625.js


+ 51 - 27
src/views/contentManager/contentOperation.vue

@@ -176,22 +176,43 @@ export default {
       imageSize: null
     }
   },
+  created () {
+    console.log(this.$route)
+  },
   mounted () {
-    this.getList()
-    this.addQuillTitle()
+    this.init()
+  },
+  activated () {
 
-    // this.form.type
-    let tempTitle = {
-      1: "468px * 552px",
-      2: "456px * 288px",
-      3: "686px * 140px",
-      4: null
+    if (this.$route.query.pageType == 'create') {
+      this.form = {
+        title: null,
+        order: null,
+        coverImage: null,
+        linkUrl: vaildStudentUrl() + '/#/specialdetail',
+        type: this.$route.query.type,
+        status: 1,
+        content: null
+      }
+      this.$refs['form'].resetFields();
     }
-    this.imageSize = tempTitle[this.form.type]
-
+    this.init()
 
   },
   methods: {
+    init () {
+      this.getList()
+      this.addQuillTitle()
+
+      // this.form.type
+      let tempTitle = {
+        1: "468px * 552px",
+        2: "456px * 288px",
+        3: "686px * 140px",
+        4: null
+      }
+      this.imageSize = tempTitle[this.form.type]
+    },
     addQuillTitle () {
       const oToolBar = document.querySelector('.ql-toolbar'),
         aButton = oToolBar.querySelectorAll('button'),
@@ -233,7 +254,6 @@ export default {
     messageTips (title, res) {
       if (res.code == 200) {
         this.$message.success(title + '成功')
-
         this.$router.push({
           path: '/contentManager/contentManager',
           query: {
@@ -272,23 +292,27 @@ export default {
       this.$refs[formName].resetFields()
     },
     getList () {
-      if (this.pageType == 'create') return false
-      newsQueryId({ id: this.$route.query.id }).then(res => {
-        if (res.code == 200) {
-          let result = res.data
-          let form = this.form
-          this.form = {
-            id: result.id,
-            title: result.title,
-            order: result.order,
-            coverImage: result.coverImage,
-            linkUrl: result.linkUrl,
-            type: result.type,
-            status: result.status,
-            content: result.content
+      if (this.pageType == 'create') {
+        return
+      } else {
+        newsQueryId({ id: this.$route.query.id }).then(res => {
+          if (res.code == 200) {
+            let result = res.data
+            let form = this.form
+            this.form = {
+              id: result.id,
+              title: result.title,
+              order: result.order,
+              coverImage: result.coverImage,
+              linkUrl: result.linkUrl,
+              type: result.type,
+              status: result.status,
+              content: result.content
+            }
           }
-        }
-      })
+        })
+      }
+
     },
     handleAvatarSuccess (res, file) {
       this.form.coverImage = res.data.url

+ 0 - 4
src/views/resetTeaming/components/resetSound.vue

@@ -551,10 +551,6 @@ export default {
           }
         })
       }).catch(() => { })
-
-
-
-
     },
     // 根据声部id查询可选教辅
     chioseMark (row) {

+ 1 - 1
src/views/teamBuild/components/teamBaseInfo.vue

@@ -550,7 +550,7 @@ export default {
           }
         })
       } else {
-        Object.assign(this.$data, this.$options.data())
+
         this.$refs['topinfo'].resetFields()
       }
       // 1.获取各个选项卡的数据内容

+ 21 - 15
src/views/teamBuild/teamSeting/components/lookCourse.vue

@@ -85,22 +85,28 @@ export default {
       tableList: []
     }
   }, mounted () {
-    sessionStorage.setItem('setStep', 2)
-    sessionStorage.setItem('resetCode', 4)
-    this.teamid = this.$route.query.id;
-    getAllClass({ musicGroupId: this.teamid }).then(res => {
-      if (res.code == 200 && res.data.length > 0) {
-        this.maxClassList = res.data;
-        this.chioseMix = this.maxClassList[0].id;
-        // 发请求获取数据
-        getClassCOurse({ classGroupId: this.chioseMix }).then(res => {
-          if (res.code == 200) {
-            this.tableList = res.data;
-          }
-        })
-      }
-    })
+    this.init()
+  },
+  activated () {
+    this.init()
   }, methods: {
+    init () {
+      sessionStorage.setItem('setStep', 2)
+      sessionStorage.setItem('resetCode', 4)
+      this.teamid = this.$route.query.id;
+      getAllClass({ musicGroupId: this.teamid }).then(res => {
+        if (res.code == 200 && res.data.length > 0) {
+          this.maxClassList = res.data;
+          this.chioseMix = this.maxClassList[0].id;
+          // 发请求获取数据
+          getClassCOurse({ classGroupId: this.chioseMix }).then(res => {
+            if (res.code == 200) {
+              this.tableList = res.data;
+            }
+          })
+        }
+      })
+    },
     gotoPlan () {
       if (this.isSetSalary) {
         this.$message.error('课酬确认后无法编辑')

Kaikkia tiedostoja ei voida näyttää, sillä liian monta tiedostoa muuttui tässä diffissä