|
@@ -207,6 +207,7 @@ export default {
|
|
this.columns = [];
|
|
this.columns = [];
|
|
// 得到当前模版信息 --- sql columns queryWhere
|
|
// 得到当前模版信息 --- sql columns queryWhere
|
|
this.templateInfo = res.data.resultMap;
|
|
this.templateInfo = res.data.resultMap;
|
|
|
|
+ console.log(1111, this.templateInfo.template);
|
|
this.queryParams.orderByColumn =
|
|
this.queryParams.orderByColumn =
|
|
res.data.resultMap.querySql.orderByColumn;
|
|
res.data.resultMap.querySql.orderByColumn;
|
|
this.sortOrder = JSON.parse(res.data.resultMap.querySql.sortOrder);
|
|
this.sortOrder = JSON.parse(res.data.resultMap.querySql.sortOrder);
|
|
@@ -279,9 +280,10 @@ export default {
|
|
let tableLists;
|
|
let tableLists;
|
|
console.log(this.newsort);
|
|
console.log(this.newsort);
|
|
if (contion && list) {
|
|
if (contion && list) {
|
|
- console.log(contion);
|
|
|
|
let key = contion.split(".");
|
|
let key = contion.split(".");
|
|
|
|
+ console.log(contion, list, key[1]);
|
|
this.queryParams.queryMap["#{" + contion] = "'" + list[key[1]] + "'";
|
|
this.queryParams.queryMap["#{" + contion] = "'" + list[key[1]] + "'";
|
|
|
|
+ // this.queryParams.queryMap["#{" + contion] = list[key[1]];
|
|
|
|
|
|
this.queryParams.queryMap.sqlkey = this.templateInfo.template.sqlKey;
|
|
this.queryParams.queryMap.sqlkey = this.templateInfo.template.sqlKey;
|
|
|
|
|