|
|
@ -665,7 +665,6 @@ export default {
|
|
|
|
}
|
|
|
|
}
|
|
|
|
});
|
|
|
|
});
|
|
|
|
} else {
|
|
|
|
} else {
|
|
|
|
console.log("error submit!!");
|
|
|
|
|
|
|
|
return false;
|
|
|
|
return false;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
});
|
|
|
|
});
|
|
|
@ -680,7 +679,6 @@ export default {
|
|
|
|
this.loading = false;
|
|
|
|
this.loading = false;
|
|
|
|
this.inputQuery = response.data;
|
|
|
|
this.inputQuery = response.data;
|
|
|
|
this.inputQuery.bussinessStatus = "2";
|
|
|
|
this.inputQuery.bussinessStatus = "2";
|
|
|
|
console.log(this.inputQuery)
|
|
|
|
|
|
|
|
this.selectedOptions = this.inputQuery.areaCode.split(",");
|
|
|
|
this.selectedOptions = this.inputQuery.areaCode.split(",");
|
|
|
|
});
|
|
|
|
});
|
|
|
|
},
|
|
|
|
},
|
|
|
@ -738,7 +736,6 @@ export default {
|
|
|
|
handleChange(value) {
|
|
|
|
handleChange(value) {
|
|
|
|
this.inputQuery.area =
|
|
|
|
this.inputQuery.area =
|
|
|
|
CodeToText[value[0]] + CodeToText[value[1]] + CodeToText[value[2]];
|
|
|
|
CodeToText[value[0]] + CodeToText[value[1]] + CodeToText[value[2]];
|
|
|
|
console.log(value + "\n" + this.inputQuery.area);
|
|
|
|
|
|
|
|
this.inputQuery.areaCode = value.toString();
|
|
|
|
this.inputQuery.areaCode = value.toString();
|
|
|
|
},
|
|
|
|
},
|
|
|
|
copy() {
|
|
|
|
copy() {
|
|
|
@ -747,13 +744,11 @@ export default {
|
|
|
|
let clipboard = new Clipboard('.tag-read');
|
|
|
|
let clipboard = new Clipboard('.tag-read');
|
|
|
|
|
|
|
|
|
|
|
|
clipboard.on('success', e => {
|
|
|
|
clipboard.on('success', e => {
|
|
|
|
console.log('复制成功')
|
|
|
|
|
|
|
|
// 释放内存
|
|
|
|
// 释放内存
|
|
|
|
clipboard.destroy();
|
|
|
|
clipboard.destroy();
|
|
|
|
});
|
|
|
|
});
|
|
|
|
clipboard.on('error', e => {
|
|
|
|
clipboard.on('error', e => {
|
|
|
|
// 不支持复制
|
|
|
|
// 不支持复制
|
|
|
|
console.log('该浏览器不支持复制')
|
|
|
|
|
|
|
|
// 释放内存
|
|
|
|
// 释放内存
|
|
|
|
clipboard.destroy()
|
|
|
|
clipboard.destroy()
|
|
|
|
});
|
|
|
|
});
|
|
|
@ -779,7 +774,6 @@ export default {
|
|
|
|
},
|
|
|
|
},
|
|
|
|
|
|
|
|
|
|
|
|
findMethod(query) {
|
|
|
|
findMethod(query) {
|
|
|
|
console.log(query);
|
|
|
|
|
|
|
|
this.fromOptions = [];
|
|
|
|
this.fromOptions = [];
|
|
|
|
let cQuery = {
|
|
|
|
let cQuery = {
|
|
|
|
key: query,
|
|
|
|
key: query,
|
|
|
@ -796,7 +790,6 @@ export default {
|
|
|
|
},
|
|
|
|
},
|
|
|
|
|
|
|
|
|
|
|
|
findUdplatMethod(query) {
|
|
|
|
findUdplatMethod(query) {
|
|
|
|
console.log(query);
|
|
|
|
|
|
|
|
this.fromUdplatOptions = [];
|
|
|
|
this.fromUdplatOptions = [];
|
|
|
|
let cQuery = {
|
|
|
|
let cQuery = {
|
|
|
|
name: query,
|
|
|
|
name: query,
|
|
|
@ -812,11 +805,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} 个文件`);
|
|
|
@ -848,7 +838,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.inputQuery.licenseUrl = response.data.name;
|
|
|
|
this.inputQuery.licenseUrl = response.data.name;
|
|
|
|
} else {
|
|
|
|
} else {
|
|
|
|