Commit 39014bda by FangYuan

参数特殊处理

parent 8a687e3b
...@@ -203,6 +203,7 @@ export default { ...@@ -203,6 +203,7 @@ export default {
this.writeCodeList[i].maxLength = obj.maxLength; this.writeCodeList[i].maxLength = obj.maxLength;
this.writeCodeList[i].minLength = obj.minLength; this.writeCodeList[i].minLength = obj.minLength;
this.writeCodeList[i].prompt = obj.prompt; this.writeCodeList[i].prompt = obj.prompt;
this.writeCodeList[i].isVariable = obj.isVariable;
if (obj.isDate === 0 && obj.isNum === 1) { if (obj.isDate === 0 && obj.isNum === 1) {
this.writeCodeList[i].inputType = "number"; this.writeCodeList[i].inputType = "number";
} else if (obj.isDate === 0 && obj.isNum === 0) { } else if (obj.isDate === 0 && obj.isNum === 0) {
...@@ -270,9 +271,14 @@ export default { ...@@ -270,9 +271,14 @@ export default {
let param = []; let param = [];
this.writeCodeList.map((item) => { this.writeCodeList.map((item) => {
if (item.cValue) { if (item.cValue) {
if(item.isVariable === 1) {
param.push(`${item.flag},${item.cValue}ñ`);
} else {
param.push(`${item.flag},${item.cValue}`); param.push(`${item.flag},${item.cValue}`);
} }
}
return item; return item;
}); });
const params = { const params = {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment