瀏覽代碼

注释稿件类别

306132416@qq.com 4 年之前
父節點
當前提交
12c3e5a8eb

+ 2 - 2
src/App.vue

@@ -135,7 +135,7 @@ export default {
     localTest(){
       // 本地调试打开
       this.loadingFlag = false;
-      this.isManufacturer = "distributor"; //  distributor
+      this.isManufacturer = "manufacturer"; //  distributor
       if (this.isManufacturer === "manufacturer") {
         if (this.$route.path === "/loading")
           this.$router.replace({ path: "/uploadInfor" });
@@ -161,7 +161,7 @@ export default {
   created() {
      this.loadingFlag = true;
      this.getData(); // 线上打开
-   // this.localTest();// 本地调试打开
+    //this.localTest();// 本地调试打开
   },
 };
 </script>

+ 21 - 21
src/components/Modal.vue

@@ -68,18 +68,18 @@
           </div>
         </div>
         <div class="bodyRow">
-          <div class="contentCol1">
-            <span>稿件类别</span
-            ><select name="" id="" v-model="contentName1">
-              <option
-                v-for="(item, index) in content1"
-                :key="index"
-                :value="item.dictName"
-              >
-                {{ item.dictName }}
-              </option>
-            </select>
-          </div>
+          <!--<div class="contentCol1">-->
+            <!--<span>稿件类别</span-->
+            <!--&gt;<select name="" id="" v-model="contentName1">-->
+              <!--<option-->
+                <!--v-for="(item, index) in content1"-->
+                <!--:key="index"-->
+                <!--:value="item.dictName"-->
+              <!--&gt;-->
+                <!--{{ item.dictName }}-->
+              <!--</option>-->
+            <!--</select>-->
+          <!--</div>-->
           <div class="contentCol2">
             <span>内容分类</span
             ><select name="" id="" v-model="contentName2">
@@ -192,7 +192,7 @@ export default {
 
       ziliaoName: "",
       ziliaoTime: "",
-      contentName1: "",
+      // contentName1: "",
       contentName2: "",
 
       readCount: "",
@@ -224,7 +224,7 @@ export default {
         let d = date.getDate();
         d = d < 10 ? "0" + d : d;
         const time = y + "-" + m + "-" + d;
-        this.ziliaoTime = time;        
+        this.ziliaoTime = time;
       }
     },
     // 判断非空
@@ -252,11 +252,11 @@ export default {
         alert("请选择平台版块");
         return;
       }
-      if (!this.contentName1) {
-        this.noEditFlag = true;
-        alert("请选择稿件类别");
-        return;
-      }
+      // if (!this.contentName1) {
+      //   this.noEditFlag = true;
+      //   alert("请选择稿件类别");
+      //   return;
+      // }
       if (!this.contentName2) {
         this.noEditFlag = true;
         alert("请选择内容分类");
@@ -317,7 +317,7 @@ export default {
             releaseMedia: this.releaseC,
             //发布板块
             releasePlate: this.releaseP,
-            draftGenre: this.contentName1,
+            draftGenre: '',//this.contentName1,
             //内容分类2?
             contentClass: this.contentName2,
             articleTitle: this.mediaTitle,
@@ -509,7 +509,7 @@ export default {
       //publishSourceName 发布板块
       this.releaseP = this.LinkData.publishSourceName;
 
-      this.contentName1 = this.LinkData.mediaTypeName;
+      // this.contentName1 = this.LinkData.mediaTypeName;
       this.contentName2 = this.LinkData.contentTypeName;
 
       this.readCount = this.LinkData.readCount;

+ 5 - 5
src/config/router.js

@@ -87,11 +87,11 @@ const TAG = [{
         title: '平台版块',
         path: '/platformModule'
     },
-    {
-        num: 3,
-        title: '稿件类别',
-        path: '/contentCategory1'
-    },
+    // {
+    //     num: 3,
+    //     title: '稿件类别',
+    //     path: '/contentCategory1'
+    // },
     {
         num: 4,
         title: '内容分类',

+ 14 - 14
src/router/index.js

@@ -34,7 +34,7 @@ import PlatformModule from '../views/parameter/PlatformModule'
 // 平台版块
 import PlatformSection from '../views/parameter/components/PlatformModule/DetailPage'
 //内容分类1
-import ContentCategory1 from '../views/parameter/ContentCategory1'
+// import ContentCategory1 from '../views/parameter/ContentCategory1'
 //内容分类2
 import ContentCategory2 from '../views/parameter/ContentCategory2'
 // 媒体平台
@@ -291,19 +291,19 @@ const routes = [{
                     ]
                 }]
             },
-            {
-                path: 'contentCategory1',
-                component: ContentCategory1,
-                meta: [{
-                        name: "参数设置",
-                        url: ''
-                    },
-                    {
-                        name: "稿件类别",
-                        url: '/parameterIndex/contentCategory1'
-                    }
-                ],
-            },
+            // {
+            //     path: 'contentCategory1',
+            //     component: ContentCategory1,
+            //     meta: [{
+            //             name: "参数设置",
+            //             url: ''
+            //         },
+            //         {
+            //             name: "稿件类别",
+            //             url: '/parameterIndex/contentCategory1'
+            //         }
+            //     ],
+            // },
             {
                 path: 'contentCategory2',
                 component: ContentCategory2,

+ 2 - 2
src/views/data/UploadLink.vue

@@ -51,7 +51,7 @@
               <!--  <td>{{ obj.projectTypeName }}</td> -->
               <!-- 项目分类 -->
 
-              <td>{{ obj.mediaTypeName }}</td>
+              <!--<td>{{ obj.mediaTypeName }}</td>-->
               <!-- 稿件类别 内容分类1 -->
               <td>{{ obj.contentTypeName }}</td>
               <!-- 内容分类 内容分类2 -->
@@ -246,7 +246,7 @@ export default {
         "点赞",
         "评论",
         "在看/转发",
-        "稿件类别",
+        // "稿件类别",
         "内容分类",
         "涉及车型",
         "反馈状态",

+ 2 - 2
src/views/data/UploadLink/sonUploadLink.vue

@@ -54,7 +54,7 @@
             <!--  <td>{{ obj.projectTypeName }}</td> -->
             <!-- 项目分类 -->
 
-            <td>{{ obj.mediaTypeName }}</td>
+            <!--<td>{{ obj.mediaTypeName }}</td>-->
             <!-- 稿件类别 内容分类1 -->
             <td>{{ obj.contentTypeName }}</td>
             <!-- 内容分类 内容分类2 -->
@@ -187,7 +187,7 @@ export default {
         "点赞",
         "评论",
         "在看/转发",
-        "稿件类别",
+        // "稿件类别",
         "内容分类",
         "涉及车型",
         "反馈状态",

+ 16 - 16
src/views/data/components/UploadLinkEditModal.vue

@@ -65,14 +65,14 @@
           </div>
         </div>
         <div class="bodyRow">
-          <div class="contentCol1">
-            <span>稿件类别</span>
-            <select name="" id="" v-model="contentName1">
-              <option v-for="(item, index) in content1" :key="index">
-                {{ item.dictName }}
-              </option>
-            </select>
-          </div>
+          <!--<div class="contentCol1">-->
+            <!--<span>稿件类别</span>-->
+            <!--<select name="" id="" v-model="contentName1">-->
+              <!--<option v-for="(item, index) in content1" :key="index">-->
+                <!--{{ item.dictName }}-->
+              <!--</option>-->
+            <!--</select>-->
+          <!--</div>-->
           <div class="contentCol2">
             <span>内容分类</span
             ><select name="" id="" v-model="contentName2">
@@ -161,7 +161,7 @@ export default {
       releaseChannel: [], // 发布渠道列表
       releaseP: this.LinkData.publishSourceName, //'平台版块',
       releasePlate: [], // 平台版块
-      contentName1: this.LinkData.mediaTypeName, //"稿件类别",
+      // contentName1: this.LinkData.mediaTypeName, //"稿件类别",
       content1: [],
       contentName2: this.LinkData.contentTypeName, //'内容分类',
       content2: [],
@@ -211,7 +211,7 @@ export default {
         let d = date.getDate();
         d = d < 10 ? "0" + d : d;
         const time = y + "-" + m + "-" + d;
-        this.ziliaoTime = time;        
+        this.ziliaoTime = time;
       }
     },
     // 判断非空
@@ -239,11 +239,11 @@ export default {
         alert("请选择平台版块");
         return;
       }
-      if (!this.contentName1) {
-        this.noEditFlag = true;
-        alert("请选择稿件类别");
-        return;
-      }
+      // if (!this.contentName1) {
+      //   this.noEditFlag = true;
+      //   alert("请选择稿件类别");
+      //   return;
+      // }
       if (!this.contentName2) {
         this.noEditFlag = true;
         alert("请选择内容分类");
@@ -303,7 +303,7 @@ export default {
             releaseMedia: this.releaseC,
             //发布板块
             releasePlate: this.releaseP,
-            draftGenre: this.contentName1,
+            draftGenre: '', //this.contentName1
             //内容分类2?
             contentClass: this.contentName2,
             articleTitle: this.mediaTitle,

+ 2 - 2
src/views/data/components/UploadLinksTable.vue

@@ -20,7 +20,7 @@
           <td>点赞</td>
           <td>评论</td>
           <td>在看/转发</td>
-          <td>稿件类别</td>
+          <!--<td>稿件类别</td>-->
           <td>内容分类</td>
           <td>涉及车型</td>
           <td>标题</td>
@@ -45,7 +45,7 @@
           <td>{{ obj.goodCount || '-' }}</td>
           <td>{{ obj.bbsCount || '-'}}</td>
           <td>{{ obj.lookingCount || '-' }}</td>
-          <td>{{ obj.mediaTypeName || '-'}}</td>
+          <!--<td>{{ obj.mediaTypeName || '-'}}</td>-->
           <td>{{ obj.contentTypeName || '-'}}</td>
           <td>{{ obj.carPlatformName || '-'}}</td>
           <td style="width: 240px">

File diff suppressed because it is too large
+ 559 - 559
src/views/data/components/addFeedbackMoal.vue