|  |  |  | @ -90,6 +90,7 @@ | 
			
		
	
		
			
				
					|  |  |  |  |                 @current-change="moduleHandleCurrentChange" | 
			
		
	
		
			
				
					|  |  |  |  |                 layout="prev, pager, next" | 
			
		
	
		
			
				
					|  |  |  |  |                 :total="moduleTotal" | 
			
		
	
		
			
				
					|  |  |  |  |                 :current-page="moduleQuery.page" | 
			
		
	
		
			
				
					|  |  |  |  |             > | 
			
		
	
		
			
				
					|  |  |  |  |             </el-pagination> | 
			
		
	
		
			
				
					|  |  |  |  |         </el-card> | 
			
		
	
	
		
			
				
					|  |  |  | @ -188,6 +189,7 @@ | 
			
		
	
		
			
				
					|  |  |  |  |                 @current-change="handlePageChange" | 
			
		
	
		
			
				
					|  |  |  |  |                 layout="prev, pager, next" | 
			
		
	
		
			
				
					|  |  |  |  |                 :total="total" | 
			
		
	
		
			
				
					|  |  |  |  |                 :current-page="moduleQuery.page" | 
			
		
	
		
			
				
					|  |  |  |  |             ></el-pagination> | 
			
		
	
		
			
				
					|  |  |  |  | 
 | 
			
		
	
		
			
				
					|  |  |  |  | 
 | 
			
		
	
	
		
			
				
					|  |  |  | @ -358,6 +360,7 @@ | 
			
		
	
		
			
				
					|  |  |  |  |                     @current-change="moduleHandleCurrentChange" | 
			
		
	
		
			
				
					|  |  |  |  |                     layout="prev, pager, next" | 
			
		
	
		
			
				
					|  |  |  |  |                     :total="selectTemplateTotal" | 
			
		
	
		
			
				
					|  |  |  |  |                     :current-page="selectTemplateQuery.page" | 
			
		
	
		
			
				
					|  |  |  |  |                 > | 
			
		
	
		
			
				
					|  |  |  |  |                 </el-pagination> | 
			
		
	
		
			
				
					|  |  |  |  |             </el-form> | 
			
		
	
	
		
			
				
					|  |  |  | @ -490,14 +493,13 @@ export default { | 
			
		
	
		
			
				
					|  |  |  |  |             this.$router.push({ | 
			
		
	
		
			
				
					|  |  |  |  |                 path: "" | 
			
		
	
		
			
				
					|  |  |  |  |             }); | 
			
		
	
		
			
				
					|  |  |  |  |             this.query = { | 
			
		
	
		
			
				
					|  |  |  |  |                 templateType: null, | 
			
		
	
		
			
				
					|  |  |  |  |                 moduleId: null, | 
			
		
	
		
			
				
					|  |  |  |  |             this.moduleQuery = { | 
			
		
	
		
			
				
					|  |  |  |  |                 name: "", | 
			
		
	
		
			
				
					|  |  |  |  |                 page: 1, | 
			
		
	
		
			
				
					|  |  |  |  |                 limit: 20 | 
			
		
	
		
			
				
					|  |  |  |  |             }; | 
			
		
	
		
			
				
					|  |  |  |  |             this.getModuleList(); | 
			
		
	
		
			
				
					|  |  |  |  |             this.list = []; | 
			
		
	
		
			
				
					|  |  |  |  |         }, | 
			
		
	
		
			
				
					|  |  |  |  |         onSubmit() { | 
			
		
	
		
			
				
					|  |  |  |  |             this.getModuleList(); | 
			
		
	
	
		
			
				
					|  |  |  | @ -554,8 +556,6 @@ export default { | 
			
		
	
		
			
				
					|  |  |  |  |         }, | 
			
		
	
		
			
				
					|  |  |  |  | 
 | 
			
		
	
		
			
				
					|  |  |  |  |         jumpDl(row) { | 
			
		
	
		
			
				
					|  |  |  |  |             console.log(BASE_URL); | 
			
		
	
		
			
				
					|  |  |  |  |             console.log(row.templateDlUrl + "----" + SERVER_IP); | 
			
		
	
		
			
				
					|  |  |  |  |             this.handleDownload(BASE_URL + "/udiwms/donwload/file?fileName=" + row.templateDlUrl, row.name + ".jrxml"); | 
			
		
	
		
			
				
					|  |  |  |  |         }, | 
			
		
	
		
			
				
					|  |  |  |  |         getModuleList() { | 
			
		
	
	
		
			
				
					|  |  |  | @ -622,14 +622,12 @@ export default { | 
			
		
	
		
			
				
					|  |  |  |  |                 page: 1, | 
			
		
	
		
			
				
					|  |  |  |  |                 limit: 20 | 
			
		
	
		
			
				
					|  |  |  |  |             }; | 
			
		
	
		
			
				
					|  |  |  |  |             console.log("this.selectTemplateQuery.busRlId =" + this.selectTemplateQuery.busRlId); | 
			
		
	
		
			
				
					|  |  |  |  | 
 | 
			
		
	
		
			
				
					|  |  |  |  |             this.selectTemplateGetList(); | 
			
		
	
		
			
				
					|  |  |  |  |         }, | 
			
		
	
		
			
				
					|  |  |  |  | 
 | 
			
		
	
		
			
				
					|  |  |  |  | 
 | 
			
		
	
		
			
				
					|  |  |  |  |         selectTemplateGetList() { | 
			
		
	
		
			
				
					|  |  |  |  |             console.log(this.selectTemplateQuery) | 
			
		
	
		
			
				
					|  |  |  |  |             this.selectTemplateLoading = true; | 
			
		
	
		
			
				
					|  |  |  |  |             systemPDFTemplateList(this.selectTemplateQuery) | 
			
		
	
		
			
				
					|  |  |  |  |                 .then(response => { | 
			
		
	
	
		
			
				
					|  |  |  | @ -643,9 +641,6 @@ export default { | 
			
		
	
		
			
				
					|  |  |  |  |                     this.selectTemplateTotal = 0; | 
			
		
	
		
			
				
					|  |  |  |  |                 }); | 
			
		
	
		
			
				
					|  |  |  |  |         }, | 
			
		
	
		
			
				
					|  |  |  |  |         previewTemplate(row) { | 
			
		
	
		
			
				
					|  |  |  |  |             console.log(row) | 
			
		
	
		
			
				
					|  |  |  |  |         }, | 
			
		
	
		
			
				
					|  |  |  |  |         showFieldExpain(row) { | 
			
		
	
		
			
				
					|  |  |  |  | 
 | 
			
		
	
		
			
				
					|  |  |  |  |             this.currentRow = row.fieldExplain.replace('\\\n', '<br>'); | 
			
		
	
	
		
			
				
					|  |  |  | @ -687,7 +682,6 @@ export default { | 
			
		
	
		
			
				
					|  |  |  |  |             if (this.$refs.upload.uploadFiles.length < 1 && !this.uploadDisabled) { | 
			
		
	
		
			
				
					|  |  |  |  |                 this.$message.warning(`请选择jasper文件`); | 
			
		
	
		
			
				
					|  |  |  |  |             } | 
			
		
	
		
			
				
					|  |  |  |  |             console.log(this.formName) | 
			
		
	
		
			
				
					|  |  |  |  |             this.$refs["dataForm"].validate(valid => { | 
			
		
	
		
			
				
					|  |  |  |  |                 if (valid) { | 
			
		
	
		
			
				
					|  |  |  |  |                     if (!this.uploadDisabled) { | 
			
		
	
	
		
			
				
					|  |  |  | @ -699,11 +693,8 @@ export default { | 
			
		
	
		
			
				
					|  |  |  |  |             }); | 
			
		
	
		
			
				
					|  |  |  |  |         }, | 
			
		
	
		
			
				
					|  |  |  |  |         uploadHandleRemove(file, fileList) { | 
			
		
	
		
			
				
					|  |  |  |  |             console.log(file, fileList); | 
			
		
	
		
			
				
					|  |  |  |  |         }, | 
			
		
	
		
			
				
					|  |  |  |  |         uploadHandlePreview(file) { | 
			
		
	
		
			
				
					|  |  |  |  |             console.log(file); | 
			
		
	
		
			
				
					|  |  |  |  |             console.log(this.fileList); | 
			
		
	
		
			
				
					|  |  |  |  |         }, | 
			
		
	
		
			
				
					|  |  |  |  |         uploadHandleExceed(files, fileList) { | 
			
		
	
		
			
				
					|  |  |  |  |             this.$message.warning(`当前限制选择 1 个文件,本次选择了 ${files.length} 个文件,共选择了 ${files.length + fileList.length} 个文件`); | 
			
		
	
	
		
			
				
					|  |  |  | @ -735,7 +726,6 @@ export default { | 
			
		
	
		
			
				
					|  |  |  |  |             return isLt; | 
			
		
	
		
			
				
					|  |  |  |  |         }, | 
			
		
	
		
			
				
					|  |  |  |  |         uploadHandleSuccess(response, file, fileList) { | 
			
		
	
		
			
				
					|  |  |  |  |             console.log(response) | 
			
		
	
		
			
				
					|  |  |  |  |             if (response.code === 20000) { | 
			
		
	
		
			
				
					|  |  |  |  |                 this.formData.path = response.data.path; | 
			
		
	
		
			
				
					|  |  |  |  |                 this.submitTemplate(); | 
			
		
	
	
		
			
				
					|  |  |  | @ -747,7 +737,6 @@ export default { | 
			
		
	
		
			
				
					|  |  |  |  | 
 | 
			
		
	
		
			
				
					|  |  |  |  |         }, | 
			
		
	
		
			
				
					|  |  |  |  |         submitTemplate() { | 
			
		
	
		
			
				
					|  |  |  |  |             console.log(this.formData) | 
			
		
	
		
			
				
					|  |  |  |  |             this.$refs["dataForm"].validate(valid => { | 
			
		
	
		
			
				
					|  |  |  |  |                 if (valid) { | 
			
		
	
		
			
				
					|  |  |  |  |                     this.formLoading = true; | 
			
		
	
	
		
			
				
					|  |  |  | @ -790,7 +779,6 @@ export default { | 
			
		
	
		
			
				
					|  |  |  |  |             }).then(() => { | 
			
		
	
		
			
				
					|  |  |  |  |                 systemPDFTemplateDeleteById({id: row.id, path: row.path}) | 
			
		
	
		
			
				
					|  |  |  |  |                     .then(response => { | 
			
		
	
		
			
				
					|  |  |  |  |                         console.log(response) | 
			
		
	
		
			
				
					|  |  |  |  |                         if (response.code === 20000) { | 
			
		
	
		
			
				
					|  |  |  |  |                             this.$message.success(response.data); | 
			
		
	
		
			
				
					|  |  |  |  |                             // 刷新表单 | 
			
		
	
	
		
			
				
					|  |  |  | @ -812,8 +800,6 @@ export default { | 
			
		
	
		
			
				
					|  |  |  |  |         }, | 
			
		
	
		
			
				
					|  |  |  |  |         moduleSelectHandleCurrentChange(val) { | 
			
		
	
		
			
				
					|  |  |  |  |             this.moduleFormData.templateId = val.id; | 
			
		
	
		
			
				
					|  |  |  |  |             console.log(val) | 
			
		
	
		
			
				
					|  |  |  |  |             console.log(this.moduleFormData) | 
			
		
	
		
			
				
					|  |  |  |  |         }, | 
			
		
	
		
			
				
					|  |  |  |  |         moduleSubmitSelectTemplate() { | 
			
		
	
		
			
				
					|  |  |  |  | 
 | 
			
		
	
	
		
			
				
					|  |  |  | @ -821,9 +807,6 @@ export default { | 
			
		
	
		
			
				
					|  |  |  |  |             let data = Object.assign({}, this.moduleFormData); | 
			
		
	
		
			
				
					|  |  |  |  |             this.moduleFormName = 'update'; | 
			
		
	
		
			
				
					|  |  |  |  |             if (this.selectTemplateQuery.type == 1) { | 
			
		
	
		
			
				
					|  |  |  |  | 
 | 
			
		
	
		
			
				
					|  |  |  |  | 
 | 
			
		
	
		
			
				
					|  |  |  |  |                 console.log("this.selectTemplateQuery.busRlId =" + this.selectTemplateQuery.busRlId); | 
			
		
	
		
			
				
					|  |  |  |  |                 let query = { | 
			
		
	
		
			
				
					|  |  |  |  |                     id: this.selectTemplateQuery.busRlId, | 
			
		
	
		
			
				
					|  |  |  |  |                     templateId: data.templateId, | 
			
		
	
	
		
			
				
					|  |  |  | @ -871,10 +854,8 @@ export default { | 
			
		
	
		
			
				
					|  |  |  |  |                     this.moduleNameList = response.data.list; | 
			
		
	
		
			
				
					|  |  |  |  |                     this.moduleNameMap = {}; | 
			
		
	
		
			
				
					|  |  |  |  |                     this.moduleNameList.forEach((obj, index) => { | 
			
		
	
		
			
				
					|  |  |  |  |                         console.log(obj) | 
			
		
	
		
			
				
					|  |  |  |  |                         this.moduleNameMap[obj.id] = obj.name; | 
			
		
	
		
			
				
					|  |  |  |  |                     }); | 
			
		
	
		
			
				
					|  |  |  |  |                     console.log(this.moduleNameMap) | 
			
		
	
		
			
				
					|  |  |  |  |                 }) | 
			
		
	
		
			
				
					|  |  |  |  |                 .catch(() => { | 
			
		
	
		
			
				
					|  |  |  |  |                 }); | 
			
		
	
	
		
			
				
					|  |  |  | @ -882,7 +863,6 @@ export default { | 
			
		
	
		
			
				
					|  |  |  |  | 
 | 
			
		
	
		
			
				
					|  |  |  |  |         handleEdit(index, row) { | 
			
		
	
		
			
				
					|  |  |  |  |             this.currentCheckIndex = index; | 
			
		
	
		
			
				
					|  |  |  |  |             console.log(this.currentCheckIndex) | 
			
		
	
		
			
				
					|  |  |  |  |         }, | 
			
		
	
		
			
				
					|  |  |  |  |         handleSave(index, row) { | 
			
		
	
		
			
				
					|  |  |  |  |             this.currentCheckIndex = -1; | 
			
		
	
	
		
			
				
					|  |  |  | 
 |