1.修复部分已知bug

fengcang
x_z 3 years ago
parent a92f5e80fc
commit 4297055a9f

@ -475,7 +475,6 @@ export default {
return ""; return "";
}, },
handleErpChange(val) { handleErpChange(val) {
console.log(val);
this.currentRow = val; this.currentRow = val;
}, },
intentBack() { intentBack() {
@ -483,11 +482,9 @@ export default {
}, },
handleSelectionUdiChange(val) { handleSelectionUdiChange(val) {
console.log("----" + val);
this.multipleUdiSelection = val; this.multipleUdiSelection = val;
}, },
findMethod(query) { findMethod(query) {
console.log(query);
let cQuery = { let cQuery = {
ylqxzcrbarmc: query, ylqxzcrbarmc: query,
page: 1, page: 1,
@ -510,13 +507,10 @@ export default {
this.loading = true; this.loading = true;
}, },
handleChange(response, files, fileList) { handleChange(response, files, fileList) {
console.log(response);
if (response.code != 20000) { if (response.code != 20000) {
this.loading = false; this.loading = false;
this.$message.error(response.message); this.$message.error(response.message);
} else { } else {
// console.log(files[0] + "\n" + this.fileList[0] + "\n" + fileList[0]);
// this.getList();
this.loading = false; this.loading = false;
this.$message.success(response.data); this.$message.success(response.data);
} }

@ -559,8 +559,6 @@ export default {
}, },
jumpDl(row) { 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"); this.handleDownload(BASE_URL + "/udiwms/donwload/file?fileName=" + row.templateDlUrl, row.name + ".jrxml");
}, },
getModuleList() { getModuleList() {
@ -627,7 +625,6 @@ export default {
page: 1, page: 1,
limit: 10 limit: 10
}; };
console.log("this.selectTemplateQuery.busRlId =" + this.selectTemplateQuery.busRlId);
this.selectTemplateGetList(); this.selectTemplateGetList();
}, },
@ -650,9 +647,6 @@ export default {
this.selectTemplateTotal = 0; this.selectTemplateTotal = 0;
}); });
}, },
previewTemplate(row) {
console.log(row)
},
showFieldExpain(row) { showFieldExpain(row) {
this.currentRow = row.fieldExplain.replace('\\\n', '<br>'); this.currentRow = row.fieldExplain.replace('\\\n', '<br>');
@ -694,7 +688,6 @@ export default {
if (this.$refs.upload.uploadFiles.length < 1 && !this.uploadDisabled) { if (this.$refs.upload.uploadFiles.length < 1 && !this.uploadDisabled) {
this.$message.warning(`请选择jasper文件`); this.$message.warning(`请选择jasper文件`);
} }
console.log(this.formName)
this.$refs["dataForm"].validate(valid => { this.$refs["dataForm"].validate(valid => {
if (valid) { if (valid) {
if (!this.uploadDisabled) { if (!this.uploadDisabled) {
@ -706,11 +699,8 @@ export default {
}); });
}, },
uploadHandleRemove(file, fileList) { uploadHandleRemove(file, fileList) {
console.log(file, fileList);
}, },
uploadHandlePreview(file) { uploadHandlePreview(file) {
console.log(file);
console.log(this.fileList);
}, },
uploadHandleExceed(files, fileList) { uploadHandleExceed(files, fileList) {
this.$message.warning(`当前限制选择 1 个文件,本次选择了 ${files.length} 个文件,共选择了 ${files.length + fileList.length} 个文件`); this.$message.warning(`当前限制选择 1 个文件,本次选择了 ${files.length} 个文件,共选择了 ${files.length + fileList.length} 个文件`);
@ -742,7 +732,6 @@ export default {
return isLt; return isLt;
}, },
uploadHandleSuccess(response, file, fileList) { uploadHandleSuccess(response, file, fileList) {
console.log(response)
if (response.code === 20000) { if (response.code === 20000) {
this.formData.path = response.data.path; this.formData.path = response.data.path;
this.submitTemplate(); this.submitTemplate();
@ -754,7 +743,6 @@ export default {
}, },
submitTemplate() { submitTemplate() {
console.log(this.formData)
this.$refs["dataForm"].validate(valid => { this.$refs["dataForm"].validate(valid => {
if (valid) { if (valid) {
this.formLoading = true; this.formLoading = true;
@ -797,7 +785,6 @@ export default {
}).then(() => { }).then(() => {
systemPDFTemplateDeleteById({id: row.id, path: row.path}) systemPDFTemplateDeleteById({id: row.id, path: row.path})
.then(response => { .then(response => {
console.log(response)
if (response.code === 20000) { if (response.code === 20000) {
this.$message.success(response.data); this.$message.success(response.data);
// //
@ -819,8 +806,6 @@ export default {
}, },
moduleSelectHandleCurrentChange(val) { moduleSelectHandleCurrentChange(val) {
this.moduleFormData.templateId = val.id; this.moduleFormData.templateId = val.id;
console.log(val)
console.log(this.moduleFormData)
}, },
moduleSubmitSelectTemplate() { moduleSubmitSelectTemplate() {
@ -830,7 +815,6 @@ export default {
if (this.selectTemplateQuery.type == 1) { if (this.selectTemplateQuery.type == 1) {
console.log("this.selectTemplateQuery.busRlId =" + this.selectTemplateQuery.busRlId);
let query = { let query = {
id: this.selectTemplateQuery.busRlId, id: this.selectTemplateQuery.busRlId,
templateId: data.templateId, templateId: data.templateId,
@ -878,10 +862,8 @@ export default {
this.moduleNameList = response.data.list; this.moduleNameList = response.data.list;
this.moduleNameMap = {}; this.moduleNameMap = {};
this.moduleNameList.forEach((obj, index) => { this.moduleNameList.forEach((obj, index) => {
console.log(obj)
this.moduleNameMap[obj.id] = obj.name; this.moduleNameMap[obj.id] = obj.name;
}); });
console.log(this.moduleNameMap)
}) })
.catch(() => { .catch(() => {
}); });
@ -889,7 +871,6 @@ export default {
handleEdit(index, row) { handleEdit(index, row) {
this.currentCheckIndex = index; this.currentCheckIndex = index;
console.log(this.currentCheckIndex)
}, },
handleSave(index, row) { handleSave(index, row) {
this.currentCheckIndex = -1; this.currentCheckIndex = -1;

Loading…
Cancel
Save