| 
						
						
							
								
							
						
						
					 | 
				
				 | 
				
					@ -46,6 +46,7 @@ | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					          </el-form> | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					          <el-table ref="ref_publictable" | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					                    v-loading="dataListLoading" | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					                    :height="tableHeight" | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					                    :data="dataList" | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					                    border | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					                    style="width: 100%;"> | 
				
			
			
		
	
	
		
			
				
					| 
						
						
						
							
								
							
						
					 | 
				
				 | 
				
					@ -64,6 +65,11 @@ | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					                             header-align="left" | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					                             :min-width="100" | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					                             align="left"></el-table-column> | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					            <el-table-column prop="categoryShow" | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					                             label="类目" | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					                             header-align="left" | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					                             :min-width="100" | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					                             align="left"></el-table-column> | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					            <el-table-column label="操作" | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					                             fixed="right" | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					                             header-align="center" | 
				
			
			
		
	
	
		
			
				
					| 
						
							
								
							
						
						
							
								
							
						
						
					 | 
				
				 | 
				
					@ -163,7 +169,7 @@ export default { | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					  }, | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					  computed: { | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					    tableHeight () { | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					      return this.clientHeight - 60 - 80 - 80 | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					      return this.clientHeight - 60 - 80 - 170 | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					    }, | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					    ...mapGetters(['clientHeight', 'env']) | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					  }, | 
				
			
			
		
	
	
		
			
				
					| 
						
						
						
							
								
							
						
					 | 
				
				 | 
				
					@ -179,9 +185,9 @@ export default { | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					  }, | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					  methods: { | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					    async renderSelData () { // 渲染下拉框/单选框/复选框等数据 | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					      debugger | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					      const url = 'https://nei.netease.com/api/apimock-v2/e3b1d0eb88e905f6c7ee559b2d6bb7ad/third/subscribe/getcategory' | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					      // const url = '/third/subscribe/getcategory' | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					
 | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					      // const url = 'https://nei.netease.com/api/apimock-v2/e3b1d0eb88e905f6c7ee559b2d6bb7ad/third/subscribe/getcategory' | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					      const url = '/third/subscribe/getcategory' | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					      let params = { | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					        appId: this.resiAppid | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					      } | 
				
			
			
		
	
	
		
			
				
					| 
						
						
						
							
								
							
						
					 | 
				
				 | 
				
					@ -200,9 +206,7 @@ export default { | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					      // const url = 'https://nei.netease.com/api/apimock-v2/e3b1d0eb88e905f6c7ee559b2d6bb7ad/third/subscribe/getpubtemplatetitles' | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					      const url = '/third/subscribe/getpubtemplatetitles' | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					
 | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					
 | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					      this.tableParams.appId = this.resiAppid | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					      // this.tableParams.ids = '794' | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					
 | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					      const { data, code, msg, internalMsg } = await requestPost(url, this.tableParams) | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					      if (code === 0) { | 
				
			
			
		
	
	
		
			
				
					| 
						
						
						
							
								
							
						
					 | 
				
				 | 
				
					@ -210,7 +214,16 @@ export default { | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					        this.dataList = data.list | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					        this.dataList.forEach(element => { | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					          element.typeShow = element.type === 2 ? '一次性订阅' : '长期订阅' | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					          // element.keywordsShow = element.keywords.join() | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					
 | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					          for (let i = 0; i < this.categoryList.length; i++) { | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					            if (element.categoryId === this.categoryList[i].id + '') { | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					              element.categoryShow = this.categoryList[i].name | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					              break | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					            } | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					          } | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					
 | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					
 | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					
 | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					        }) | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					      } else { | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					        // this.$message.error(msg + ":" + internalMsg) | 
				
			
			
		
	
	
		
			
				
					| 
						
						
						
							
								
							
						
					 | 
				
				 | 
				
					@ -229,6 +242,15 @@ export default { | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					        } | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					
 | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					      } | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					
 | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					      this.$nextTick(() => { | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					        if (this.activeName === 'mine') { | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					          this.$refs.ref_mytemp.doLayout() // 解决表格错位 | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					        } else if (this.activeName === 'public') { | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					          this.$refs.ref_publictable.doLayout() // 解决表格错位 | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					        } | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					
 | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					      }) | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					    }, | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					    //同步本地公共模板库为微信的公共模板库 | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					    async syncSubSure () { | 
				
			
			
		
	
	
		
			
				
					| 
						
							
								
							
						
						
						
					 | 
				
				 | 
				
					
  |