|  |  | @ -99,37 +99,6 @@ | 
			
		
	
		
		
			
				
					
					|  |  |  |         > |  |  |  |         > | 
			
		
	
		
		
			
				
					
					|  |  |  |             <el-form :model="formData" :rules="formRules" ref="dataForm"> |  |  |  |             <el-form :model="formData" :rules="formRules" ref="dataForm"> | 
			
		
	
		
		
			
				
					
					|  |  |  | 
 |  |  |  | 
 | 
			
		
	
		
		
			
				
					
					|  |  |  |                 <!--                <el-row :gutter="20">--> |  |  |  |  | 
			
		
	
		
		
			
				
					
					|  |  |  |                 <!--                    <el-col :span="2">--> |  |  |  |  | 
			
		
	
		
		
			
				
					
					|  |  |  |                 <!--                        <div class="ao-text">--> |  |  |  |  | 
			
		
	
		
		
			
				
					
					|  |  |  |                 <!--                            <span>模板名称:</span>--> |  |  |  |  | 
			
		
	
		
		
			
				
					
					|  |  |  |                 <!--                        </div>--> |  |  |  |  | 
			
		
	
		
		
			
				
					
					|  |  |  |                 <!--                        <div class="ao-text">--> |  |  |  |  | 
			
		
	
		
		
			
				
					
					|  |  |  |                 <!--                            <span>模板名称:</span>--> |  |  |  |  | 
			
		
	
		
		
			
				
					
					|  |  |  |                 <!--                        </div>--> |  |  |  |  | 
			
		
	
		
		
			
				
					
					|  |  |  |                 <!--                    </el-col>--> |  |  |  |  | 
			
		
	
		
		
			
				
					
					|  |  |  |                 <!--                    <el-col :span="8">--> |  |  |  |  | 
			
		
	
		
		
			
				
					
					|  |  |  |                 <!--                        <el-form-item prop="name">--> |  |  |  |  | 
			
		
	
		
		
			
				
					
					|  |  |  |                 <!--                            <el-input v-model="formData.name" auto-complete="off" :disabled="false"></el-input>--> |  |  |  |  | 
			
		
	
		
		
			
				
					
					|  |  |  |                 <!--                        </el-form-item>--> |  |  |  |  | 
			
		
	
		
		
			
				
					
					|  |  |  |                 <!--                        <el-form-item label="所属模块" prop="type">--> |  |  |  |  | 
			
		
	
		
		
			
				
					
					|  |  |  |                 <!--                            <el-select v-model="formData.type" placeholder="所属模块">--> |  |  |  |  | 
			
		
	
		
		
			
				
					
					|  |  |  |                 <!--                                <el-option label="订单详情" value="1"></el-option>--> |  |  |  |  | 
			
		
	
		
		
			
				
					
					|  |  |  |                 <!--                            </el-select>--> |  |  |  |  | 
			
		
	
		
		
			
				
					
					|  |  |  |                 <!--                        </el-form-item>--> |  |  |  |  | 
			
		
	
		
		
			
				
					
					|  |  |  |                 <!--                    </el-col>--> |  |  |  |  | 
			
		
	
		
		
			
				
					
					|  |  |  |                 <!--                    <el-col :span="2">--> |  |  |  |  | 
			
		
	
		
		
			
				
					
					|  |  |  |                 <!--                        <div class="ao-text">--> |  |  |  |  | 
			
		
	
		
		
			
				
					
					|  |  |  |                 <!--                            <span>备注:</span>--> |  |  |  |  | 
			
		
	
		
		
			
				
					
					|  |  |  |                 <!--                        </div>--> |  |  |  |  | 
			
		
	
		
		
			
				
					
					|  |  |  |                 <!--                    </el-col>--> |  |  |  |  | 
			
		
	
		
		
			
				
					
					|  |  |  |                 <!--                    <el-col :span="8">--> |  |  |  |  | 
			
		
	
		
		
			
				
					
					|  |  |  |                 <!--                        <el-form-item prop="type">--> |  |  |  |  | 
			
		
	
		
		
			
				
					
					|  |  |  |                 <!--                            <el-input type="textarea" v-model="formData.remark" rows=6></el-input>--> |  |  |  |  | 
			
		
	
		
		
			
				
					
					|  |  |  |                 <!--                        </el-form-item>--> |  |  |  |  | 
			
		
	
		
		
			
				
					
					|  |  |  |                 <!--                    </el-col>--> |  |  |  |  | 
			
		
	
		
		
			
				
					
					|  |  |  |                 <!--                </el-row>--> |  |  |  |  | 
			
		
	
		
		
			
				
					
					|  |  |  | 
 |  |  |  |  | 
			
		
	
		
		
			
				
					
					|  |  |  | 
 |  |  |  | 
 | 
			
		
	
		
		
			
				
					
					|  |  |  |                 <el-row :gutter="20"> |  |  |  |                 <el-row :gutter="20"> | 
			
		
	
		
		
			
				
					
					|  |  |  |                     <el-col :span="2"> |  |  |  |                     <el-col :span="2"> | 
			
		
	
	
		
		
			
				
					|  |  | @ -149,14 +118,6 @@ | 
			
		
	
		
		
			
				
					
					|  |  |  |                     </el-col> |  |  |  |                     </el-col> | 
			
		
	
		
		
			
				
					
					|  |  |  |                     <el-col :span="8"> |  |  |  |                     <el-col :span="8"> | 
			
		
	
		
		
			
				
					
					|  |  |  |                         <el-form-item prop="module"> |  |  |  |                         <el-form-item prop="module"> | 
			
		
	
		
		
			
				
					
					|  |  |  |                             <!--                            <el-select v-model="formData.module" placeholder="所属模块">--> |  |  |  |  | 
			
		
	
		
		
			
				
					
					|  |  |  |                             <!--                                <el-option--> |  |  |  |  | 
			
		
	
		
		
			
				
					
					|  |  |  |                             <!--                                    v-for="item in moduleNameList"--> |  |  |  |  | 
			
		
	
		
		
			
				
					
					|  |  |  |                             <!--                                    :key="item.idStr"--> |  |  |  |  | 
			
		
	
		
		
			
				
					
					|  |  |  |                             <!--                                    :label="item.name"--> |  |  |  |  | 
			
		
	
		
		
			
				
					
					|  |  |  |                             <!--                                    :value="item.idStr"--> |  |  |  |  | 
			
		
	
		
		
			
				
					
					|  |  |  |                             <!--                                ></el-option>--> |  |  |  |  | 
			
		
	
		
		
			
				
					
					|  |  |  |                             <!--                            </el-select>--> |  |  |  |  | 
			
		
	
		
		
			
				
					
					|  |  |  |                             <el-select v-model="formData.module" placeholder="模板类型"> |  |  |  |                             <el-select v-model="formData.module" placeholder="模板类型"> | 
			
		
	
		
		
			
				
					
					|  |  |  |                                 <el-option label="标签" value="0"></el-option> |  |  |  |                                 <el-option label="标签" value="0"></el-option> | 
			
		
	
		
		
			
				
					
					|  |  |  |                                 <el-option label="报表" value="1"></el-option> |  |  |  |                                 <el-option label="报表" value="1"></el-option> | 
			
		
	
	
		
		
			
				
					|  |  | @ -421,6 +382,7 @@ export default { | 
			
		
	
		
		
			
				
					
					|  |  |  |             }); |  |  |  |             }); | 
			
		
	
		
		
			
				
					
					|  |  |  |             this.query = { |  |  |  |             this.query = { | 
			
		
	
		
		
			
				
					
					|  |  |  |                 name: "", |  |  |  |                 name: "", | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |                 module: null, | 
			
		
	
		
		
			
				
					
					|  |  |  |                 page: 1, |  |  |  |                 page: 1, | 
			
		
	
		
		
			
				
					
					|  |  |  |                 limit: 20 |  |  |  |                 limit: 20 | 
			
		
	
		
		
			
				
					
					|  |  |  |             }; |  |  |  |             }; | 
			
		
	
	
		
		
			
				
					|  |  | @ -635,12 +597,6 @@ export default { | 
			
		
	
		
		
			
				
					
					|  |  |  | 
 |  |  |  | 
 | 
			
		
	
		
		
			
				
					
					|  |  |  |                     this.submitTemplate(); |  |  |  |                     this.submitTemplate(); | 
			
		
	
		
		
			
				
					
					|  |  |  | 
 |  |  |  | 
 | 
			
		
	
		
		
			
				
					
					|  |  |  |                     // if (!this.uploadDisabled) { |  |  |  |  | 
			
		
	
		
		
			
				
					
					|  |  |  |                     //     this.$refs.uploadJasper.submit(); |  |  |  |  | 
			
		
	
		
		
			
				
					
					|  |  |  |                     //     this.$refs.uploadJrxml.submit(); |  |  |  |  | 
			
		
	
		
		
			
				
					
					|  |  |  |                     // } else { |  |  |  |  | 
			
		
	
		
		
			
				
					
					|  |  |  |                     //     this.submitTemplate(); |  |  |  |  | 
			
		
	
		
		
			
				
					
					|  |  |  |                     // } |  |  |  |  | 
			
		
	
		
		
			
				
					
					|  |  |  |                 } |  |  |  |                 } | 
			
		
	
		
		
			
				
					
					|  |  |  |             }); |  |  |  |             }); | 
			
		
	
		
		
			
				
					
					|  |  |  |         }, |  |  |  |         }, | 
			
		
	
	
		
		
			
				
					|  |  | @ -739,19 +695,7 @@ export default { | 
			
		
	
		
		
			
				
					
					|  |  |  |                             } |  |  |  |                             } | 
			
		
	
		
		
			
				
					
					|  |  |  |                             this.$message.success("操作成功"); |  |  |  |                             this.$message.success("操作成功"); | 
			
		
	
		
		
			
				
					
					|  |  |  |                             this.formVisible = false; |  |  |  |                             this.formVisible = false; | 
			
		
	
		
		
			
				
					
					|  |  |  |                             // if (this.formName === "add") { |  |  |  |                             this.getList(); | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |                             //     // 向头部添加数据 |  |  |  |  | 
			
		
	
		
		
			
				
					
					|  |  |  |                             //     if (response.data && response.data.id) { |  |  |  |  | 
			
		
	
		
		
			
				
					
					|  |  |  |                             //         data.id = response.data.id; |  |  |  |  | 
			
		
	
		
		
			
				
					
					|  |  |  |                             //         this.list.unshift(data); |  |  |  |  | 
			
		
	
		
		
			
				
					
					|  |  |  |                             //     } |  |  |  |  | 
			
		
	
		
		
			
				
					
					|  |  |  |                             // } else { |  |  |  |  | 
			
		
	
		
		
			
				
					
					|  |  |  |                             //     this.list.splice(this.index, 1, data); |  |  |  |  | 
			
		
	
		
		
			
				
					
					|  |  |  |                             // } |  |  |  |  | 
			
		
	
		
		
			
				
					
					|  |  |  |                             // // 刷新表单 |  |  |  |  | 
			
		
	
		
		
			
				
					
					|  |  |  |                             // this.resetForm(); |  |  |  |  | 
			
		
	
		
		
			
				
					
					|  |  |  |                             // this.getList(); |  |  |  |  | 
			
		
	
		
		
			
				
					
					|  |  |  |                             // this.getModuleList(); |  |  |  |  | 
			
		
	
		
		
	
		
		
			
				
					
					|  |  |  |                         }) |  |  |  |                         }) | 
			
		
	
		
		
			
				
					
					|  |  |  |                         .catch(() => { |  |  |  |                         .catch(() => { | 
			
		
	
		
		
			
				
					
					|  |  |  |                             this.formLoading = false; |  |  |  |                             this.formLoading = false; | 
			
		
	
	
		
		
			
				
					|  |  | @ -770,8 +714,6 @@ export default { | 
			
		
	
		
		
			
				
					
					|  |  |  |                         console.log(response) |  |  |  |                         console.log(response) | 
			
		
	
		
		
			
				
					
					|  |  |  |                         if (response.code === 20000) { |  |  |  |                         if (response.code === 20000) { | 
			
		
	
		
		
			
				
					
					|  |  |  |                             this.$message.success(response.data); |  |  |  |                             this.$message.success(response.data); | 
			
		
	
		
		
			
				
					
					|  |  |  |                             // 刷新表单 |  |  |  |  | 
			
		
	
		
		
			
				
					
					|  |  |  |                             // this.resetForm(); |  |  |  |  | 
			
		
	
		
		
			
				
					
					|  |  |  |                             this.getList(); |  |  |  |                             this.getList(); | 
			
		
	
		
		
			
				
					
					|  |  |  |                         } else { |  |  |  |                         } else { | 
			
		
	
		
		
			
				
					
					|  |  |  |                             this.$message.error(response.message); |  |  |  |                             this.$message.error(response.message); | 
			
		
	
	
		
		
			
				
					|  |  | 
 |