natasha 1 year ago
parent
commit
222824ac2d
2 changed files with 22 additions and 2 deletions
  1. 1 0
      src/styles/index.scss
  2. 21 2
      src/views/content_manage/newspaper_manage/ChannelList.vue

+ 1 - 0
src/styles/index.scss

@@ -82,6 +82,7 @@ div:focus {
         &-right {
         &-right {
             flex: 1;
             flex: 1;
             padding: 56px 16px 16px;
             padding: 56px 16px 16px;
+            overflow: hidden;
             .breadcrumb-box {
             .breadcrumb-box {
                 position: fixed;
                 position: fixed;
                 top: 52px;
                 top: 52px;

+ 21 - 2
src/views/content_manage/newspaper_manage/ChannelList.vue

@@ -107,7 +107,7 @@
             <el-table-column
             <el-table-column
                 fixed="right"
                 fixed="right"
                 label="操作"
                 label="操作"
-                width="220">
+                width="150">
                 <template slot-scope="scope">
                 <template slot-scope="scope">
                     <el-button
                     <el-button
                         @click.native.prevent="handleEdit(scope.row)"
                         @click.native.prevent="handleEdit(scope.row)"
@@ -153,6 +153,16 @@
             :total="total_count">
             :total="total_count">
         </el-pagination>
         </el-pagination>
     </div>
     </div>
+    <el-dialog
+        :visible.sync="resourceFlag"
+        :show-close="true"
+        :close-on-click-modal="false"
+        :modal-append-to-body="false"
+        width="484px"
+        class="login-dialog"
+        v-if="resourceFlag">
+        
+    </el-dialog>
   </div>
   </div>
 </template>
 </template>
 
 
@@ -169,6 +179,7 @@ export default {
   data() {
   data() {
     //这里存放数据
     //这里存放数据
     return {
     return {
+        resourceFlag: false,
         searchInput: '',
         searchInput: '',
         searchStudy: -1,
         searchStudy: -1,
         searchStatus: '',
         searchStatus: '',
@@ -204,6 +215,14 @@ export default {
         tableData:[],
         tableData:[],
         tableHeight: "", // 表格高度
         tableHeight: "", // 表格高度
         total_count: 0,
         total_count: 0,
+        channelForm:{
+            tpl_name: '',
+            study_phase: null,
+            chn_data_str:'',
+            chn_data: [],
+            tpl_note: ''
+        },
+        channel
     }
     }
   },
   },
   //计算属性 类似于data概念
   //计算属性 类似于data概念
@@ -215,7 +234,7 @@ export default {
   //方法集合
   //方法集合
   methods: {
   methods: {
     handleEdit(row){
     handleEdit(row){
-        
+        this.resourceFlag = true
     },
     },
     getList(val){
     getList(val){
         if(val){
         if(val){