Browse Source

内容管理添加,对内还是对外

lex-xin 5 years ago
parent
commit
cb9543a9a1

File diff suppressed because it is too large
+ 0 - 0
dist/index.html


+ 1 - 1
dist/static/css/chunk-f8da5086.9acd1efd.css → dist/static/css/chunk-3e4450e0.481507bc.css

@@ -1 +1 @@
-.pagination-container[data-v-31cb099a]{background:#fff;padding:32px 16px;width:100%;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-ms-flex-direction:row;flex-direction:row;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center}.pagination-container.hidden[data-v-31cb099a]{display:none}.bannerImg[data-v-2ee17bcc],.bannerImg[data-v-5b4f2286],.bannerImg[data-v-29f2a579],.bannerImg[data-v-35c4d252],.bannerImg[data-v-512b46da],.bannerImg[data-v-10096c94]{height:60px}
+.pagination-container[data-v-31cb099a]{background:#fff;padding:32px 16px;width:100%;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-ms-flex-direction:row;flex-direction:row;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center}.pagination-container.hidden[data-v-31cb099a]{display:none}.bannerImg[data-v-0f7bfc7a],.bannerImg[data-v-3e92ebde],.bannerImg[data-v-6f4fcd5a],.bannerImg[data-v-6facbd9c],.bannerImg[data-v-14eb5c03],.bannerImg[data-v-b9535fce]{height:60px}

File diff suppressed because it is too large
+ 0 - 0
dist/static/js/app.14324a57.js


File diff suppressed because it is too large
+ 0 - 0
dist/static/js/chunk-3e4450e0.4c584ed6.js


File diff suppressed because it is too large
+ 0 - 0
dist/static/js/chunk-f8da5086.42e2be61.js


+ 19 - 0
src/views/contentManager/components/activity.vue

@@ -2,6 +2,21 @@
   <div>
     <!-- 搜索标题 -->
     <div @click="openTeaching('create')" class="newBand">新建</div>
+    <!-- 搜索标题 -->
+    <el-form :inline="true" class="searchForm" v-model.trim="searchForm">
+      <el-form-item prop="hasPracticeCourse">
+        <el-select
+          class="multiple"
+          v-model.trim="searchForm.tenantId"
+          placeholder="请选择对内或对外">
+          <el-option label="对内" value="1"></el-option>
+          <el-option label="对外" value="2"></el-option>
+        </el-select>
+      </el-form-item>
+      <el-form-item>
+        <el-button @click="getList" type="danger">搜索</el-button>
+      </el-form-item>
+    </el-form>
     <!-- 列表 -->
     <div class="tableWrap">
       <el-table :data="tableList" :header-cell-style="{background:'#EDEEF0',color:'#444'}">
@@ -55,6 +70,9 @@ export default {
   },
   data() {
     return {
+      searchForm: {
+        tenantId: '1'
+      },
       tableList: [],
       organId: null,
       teacherId: this.$route.query.teacherId,
@@ -76,6 +94,7 @@ export default {
   methods: {
     getList() {
       let params = {
+        tenantId: this.searchForm.tenantId,
         rows: this.pageInfo.limit,
         page: this.pageInfo.page,
         type: 1

+ 19 - 0
src/views/contentManager/components/appPage.vue

@@ -3,6 +3,21 @@
     <!-- 搜索标题 -->
     <div @click="openTeaching('create')"
          class='newBand'>新建</div>
+    <!-- 搜索标题 -->
+    <el-form :inline="true" class="searchForm" v-model.trim="searchForm">
+      <el-form-item prop="hasPracticeCourse">
+        <el-select
+          class="multiple"
+          v-model.trim="searchForm.tenantId"
+          placeholder="请选择对内或对外">
+          <el-option label="对内" value="1"></el-option>
+          <el-option label="对外" value="2"></el-option>
+        </el-select>
+      </el-form-item>
+      <el-form-item>
+        <el-button @click="getList" type="danger">搜索</el-button>
+      </el-form-item>
+    </el-form>
     <!-- 列表 -->
     <div class="tableWrap">
       <el-table :data='tableList'
@@ -84,6 +99,9 @@ export default {
   },
   data () {
     return {
+      searchForm: {
+        tenantId: '1'
+      },
       tableList: [],
       organId: null,
       teacherId: this.$route.query.teacherId,
@@ -105,6 +123,7 @@ export default {
   methods: {
     getList () {
       let params = {
+        tenantId: this.searchForm.tenantId,
         rows: this.pageInfo.limit,
         page: this.pageInfo.page,
         type: 6

+ 19 - 0
src/views/contentManager/components/banner.vue

@@ -3,6 +3,21 @@
     <!-- 搜索标题 -->
     <div @click="openTeaching('create')"
          class='newBand'>新建</div>
+    <!-- 搜索标题 -->
+    <el-form :inline="true" class="searchForm" v-model.trim="searchForm">
+      <el-form-item prop="hasPracticeCourse">
+        <el-select
+          class="multiple"
+          v-model.trim="searchForm.tenantId"
+          placeholder="请选择对内或对外">
+          <el-option label="对内" value="1"></el-option>
+          <el-option label="对外" value="2"></el-option>
+        </el-select>
+      </el-form-item>
+      <el-form-item>
+        <el-button @click="getList" type="danger">搜索</el-button>
+      </el-form-item>
+    </el-form>
     <!-- 列表 -->
     <div class="tableWrap">
       <el-table :data='tableList'
@@ -90,6 +105,9 @@ export default {
   },
   data () {
     return {
+      searchForm: {
+        tenantId: '1'
+      },
       tableList: [],
       organId: null,
       teacherId: this.$route.query.teacherId,
@@ -114,6 +132,7 @@ export default {
     },
     getList () {
       let params = {
+        tenantId: this.searchForm.tenantId,
         rows: this.pageInfo.limit,
         page: this.pageInfo.page,
         type: 3

+ 19 - 0
src/views/contentManager/components/flashPage.vue

@@ -3,6 +3,21 @@
     <!-- 搜索标题 -->
     <div @click="openTeaching('create')"
          class='newBand'>新建</div>
+    <!-- 搜索标题 -->
+    <el-form :inline="true" class="searchForm" v-model.trim="searchForm">
+      <el-form-item prop="hasPracticeCourse">
+        <el-select
+          class="multiple"
+          v-model.trim="searchForm.tenantId"
+          placeholder="请选择对内或对外">
+          <el-option label="对内" value="1"></el-option>
+          <el-option label="对外" value="2"></el-option>
+        </el-select>
+      </el-form-item>
+      <el-form-item>
+        <el-button @click="getList" type="danger">搜索</el-button>
+      </el-form-item>
+    </el-form>
     <!-- 列表 -->
     <div class="tableWrap">
       <el-table :data='tableList'
@@ -77,6 +92,9 @@ export default {
   },
   data () {
     return {
+      searchForm: {
+        tenantId: '1'
+      },
       tableList: [],
       organId: null,
       teacherId: this.$route.query.teacherId,
@@ -98,6 +116,7 @@ export default {
   methods: {
     getList () {
       let params = {
+        tenantId: this.searchForm.tenantId,
         rows: this.pageInfo.limit,
         page: this.pageInfo.page,
         type: 5

+ 19 - 0
src/views/contentManager/components/information.vue

@@ -3,6 +3,21 @@
     <!-- 搜索标题 -->
     <div @click="openTeaching('create')"
          class='newBand'>新建</div>
+    <!-- 搜索标题 -->
+    <el-form :inline="true" class="searchForm" v-model.trim="searchForm">
+      <el-form-item prop="hasPracticeCourse">
+        <el-select
+          class="multiple"
+          v-model.trim="searchForm.tenantId"
+          placeholder="请选择对内或对外">
+          <el-option label="对内" value="1"></el-option>
+          <el-option label="对外" value="2"></el-option>
+        </el-select>
+      </el-form-item>
+      <el-form-item>
+        <el-button @click="getList" type="danger">搜索</el-button>
+      </el-form-item>
+    </el-form>
     <!-- 列表 -->
     <div class="tableWrap">
       <el-table :data='tableList'
@@ -77,6 +92,9 @@ export default {
   },
   data () {
     return {
+      searchForm: {
+        tenantId: '1'
+      },
       tableList: [],
       organId: null,
       teacherId: this.$route.query.teacherId,
@@ -98,6 +116,7 @@ export default {
   methods: {
     getList () {
       let params = {
+        tenantId: this.searchForm.tenantId,
         rows: this.pageInfo.limit,
         page: this.pageInfo.page,
         type: 2

+ 19 - 0
src/views/contentManager/components/training.vue

@@ -2,6 +2,21 @@
   <div>
     <!-- 搜索标题 -->
     <div @click="openTeaching('create')" class="newBand">新建</div>
+    <!-- 搜索标题 -->
+    <el-form :inline="true" class="searchForm" v-model.trim="searchForm">
+      <el-form-item prop="hasPracticeCourse">
+        <el-select
+          class="multiple"
+          v-model.trim="searchForm.tenantId"
+          placeholder="请选择对内或对外">
+          <el-option label="对内" value="1"></el-option>
+          <el-option label="对外" value="2"></el-option>
+        </el-select>
+      </el-form-item>
+      <el-form-item>
+        <el-button @click="getList" type="danger">搜索</el-button>
+      </el-form-item>
+    </el-form>
     <!-- 列表 -->
     <div class="tableWrap">
       <el-table :data="tableList" :header-cell-style="{background:'#EDEEF0',color:'#444'}">
@@ -54,6 +69,9 @@ export default {
   },
   data() {
     return {
+      searchForm: {
+        tenantId: '1'
+      },
       tableList: [],
       organId: null,
       teacherId: this.$route.query.teacherId,
@@ -75,6 +93,7 @@ export default {
   methods: {
     getList() {
       let params = {
+        tenantId: this.searchForm.tenantId,
         rows: this.pageInfo.limit,
         page: this.pageInfo.page,
         type: 4

Some files were not shown because too many files changed in this diff