|
@@ -385,8 +385,8 @@ export default {
|
|
|
// this.reset();
|
|
|
this.defaultValue = {};
|
|
|
getInfoBySqlKey(this.sqlkey).then(({ data }) => {
|
|
|
- const htmlCode = data.dfHtmlTemplate;
|
|
|
- this.iframeUrl = "data:text/html;charset=utf-8," + encodeURI(htmlCode);
|
|
|
+ // const htmlCode = data.dfHtmlTemplate;
|
|
|
+ // this.iframeUrl = "data:text/html;charset=utf-8," + encodeURI(htmlCode);
|
|
|
this.jsonData = JSON.parse(data.dfVueTemplate);
|
|
|
this.open = true;
|
|
|
this.title = "添加信息";
|
|
@@ -399,8 +399,8 @@ export default {
|
|
|
/** 修改按钮操作 */
|
|
|
handleUpdate(row) {
|
|
|
getInfoBySqlKey(this.sqlkey).then(({ data }) => {
|
|
|
- const htmlCode = data.dfHtmlTemplate;
|
|
|
- this.iframeUrl = "data:text/html;charset=utf-8," + encodeURI(htmlCode);
|
|
|
+ // const htmlCode = data.dfHtmlTemplate;
|
|
|
+ // this.iframeUrl = "data:text/html;charset=utf-8," + encodeURI(htmlCode);
|
|
|
Object.assign(this.defaultValue, row);
|
|
|
this.jsonData = JSON.parse(data.dfVueTemplate);
|
|
|
this.open = true;
|