[参数项列表] 编辑

This commit is contained in:
zhaomeijing
2022-04-29 10:05:54 +08:00
parent 76a827344e
commit 4f3fdc0fbf
2 changed files with 1 additions and 7 deletions
@@ -287,10 +287,6 @@ export default {
props: ['url'],
data() {
return {
isRequired: [ // 是否必填
{value:'1', label: '是' },
{value:'0', label: '否' }
],
controlType: [ // 控件类型
{value:'1', label: '文本' },
{value:'2', label: '下拉单选' },
@@ -434,7 +430,6 @@ export default {
let url = ''
let Action
this.formInline.paramsTemplateId = this.$route.query.id
console.log(this.formInline.paramsTemplateId,'this.formInline.paramsTemplateIdthis.formInline.paramsTemplateId')
if (this.formInline.id) {
url = this.url.edit
Action = postAction
@@ -443,7 +438,6 @@ export default {
Action = postAction
}
let query = JSON.parse(JSON.stringify(this.formInline))
console.log(query,'queryqueryqueryquery')
Object.keys(query).forEach(res => {
if (query[res] && query[res] instanceof Array) {
query[res] = query[res].join(',')
@@ -290,7 +290,7 @@ export default {
let query = {
pageNo: this.pageNo,
pageSize: this.pageSize,
cut: this.$route.query.id,
paramsTemplateId: this.$route.query.id,
...this.queryParam
}
this.loading = true