|
@@ -366,12 +366,7 @@ export default {
|
|
|
// 得到查询条件
|
|
|
this.queryFromWhere = res.data.resultMap.where;
|
|
|
// 得到当前列表信息
|
|
|
- let test = JSON.parse(
|
|
|
- this.templateInfo.template.dtColumnName.replace(/=/g, ":")
|
|
|
- );
|
|
|
- console.log(test);
|
|
|
- // test = JSON.parse(this.templateInfo.template.dtColumnName);
|
|
|
- // console.log(JSON.parse(test), typeof test);
|
|
|
+ let test = JSON.parse(this.templateInfo.template.dtColumnName);
|
|
|
this.columns = this.columnsHandler(test);
|
|
|
})
|
|
|
.finally((fes) => {
|
|
@@ -474,7 +469,7 @@ export default {
|
|
|
Object.assign(this.defaultValue, row);
|
|
|
this.jsonData = JSON.parse(data.dfVueTemplate);
|
|
|
this.open = true;
|
|
|
- this.title = "修改信息123";
|
|
|
+ this.title = "修改信息";
|
|
|
this.form.password = this.initPassword;
|
|
|
this.$nextTick(() => {
|
|
|
this.$refs.addFromRef.setData(row);
|
|
@@ -680,6 +675,4 @@ export default {
|
|
|
};
|
|
|
</script>
|
|
|
|
|
|
-<style scoped lang="scss">
|
|
|
-
|
|
|
-</style>
|
|
|
+<style scoped lang="scss"></style>
|