|
|
|
|
@ -5,7 +5,7 @@
|
|
|
|
|
<div ref="lxHeader">
|
|
|
|
|
<LxHeader
|
|
|
|
|
icon="md-apps"
|
|
|
|
|
:text="title || customForm.tableName"
|
|
|
|
|
:text="$route.meta.title"
|
|
|
|
|
style="margin-bottom: 10px; border: 0px; margin-top: 15px"
|
|
|
|
|
>
|
|
|
|
|
<div slot="content"></div>
|
|
|
|
|
@ -314,7 +314,6 @@ export default {
|
|
|
|
|
},
|
|
|
|
|
data() {
|
|
|
|
|
return {
|
|
|
|
|
title: "",
|
|
|
|
|
op,
|
|
|
|
|
select: {
|
|
|
|
|
table_name: "",
|
|
|
|
|
@ -401,7 +400,6 @@ export default {
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
const res = await show({ id: this.customForm.customFormId }, false);
|
|
|
|
|
this.title = res.name;
|
|
|
|
|
|
|
|
|
|
//字段处理
|
|
|
|
|
//初始表白名单
|
|
|
|
|
@ -455,33 +453,6 @@ export default {
|
|
|
|
|
});
|
|
|
|
|
this.form = fields;
|
|
|
|
|
console.log(111, this.form);
|
|
|
|
|
// if(res.fields && res.fields instanceof Array) {
|
|
|
|
|
// res.fields.forEach(i => {
|
|
|
|
|
// if (i.field) {
|
|
|
|
|
// if (
|
|
|
|
|
// (i.edit_input === "checkbox" || i.edit_input === "radio" || i.edit_input === "select") &&
|
|
|
|
|
// i.parameter_id
|
|
|
|
|
// ) {
|
|
|
|
|
// getparameter({ id: i.parameter_id }).then((res) => {
|
|
|
|
|
// i._paramters = res.detail ?? [];
|
|
|
|
|
// });
|
|
|
|
|
// }
|
|
|
|
|
// if (
|
|
|
|
|
// (i.edit_input === "checkbox" || i.edit_input === "radio" || i.edit_input === "select") &&
|
|
|
|
|
// i.link_table_name
|
|
|
|
|
// ) {
|
|
|
|
|
// index({
|
|
|
|
|
// page: 1,
|
|
|
|
|
// page_size: 999,
|
|
|
|
|
// table_name: i.link_table_name,
|
|
|
|
|
// }).then((res) => {
|
|
|
|
|
// i._paramters = res.data ?? [];
|
|
|
|
|
// });
|
|
|
|
|
// }
|
|
|
|
|
// }
|
|
|
|
|
// })
|
|
|
|
|
// }
|
|
|
|
|
// this.form = res.fields
|
|
|
|
|
this.table = this.form
|
|
|
|
|
?.filter((i) => i.list_show)
|
|
|
|
|
.map((i) => {
|
|
|
|
|
|