Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in / Register
Toggle navigation
M
multiSystem
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Yulun Yao
multiSystem
Commits
e252e6eb
Commit
e252e6eb
authored
Dec 18, 2020
by
程卓
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修复自定义字段修改时keycode丢失,
parent
a0d1bbf4
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
2 deletions
+8
-2
tbls.vue
src/views/houseData/tbls.vue
+8
-2
No files found.
src/views/houseData/tbls.vue
View file @
e252e6eb
...
...
@@ -16,9 +16,12 @@
<a-row
type=
"flex"
justify=
"space-between"
align=
"middle"
>
<a-col
span=
"6"
>
<a-button
class=
"addZiduan"
type=
"primary"
@
click=
"showModal()"
ghost
>
新增字段
</a-button>
<div>
<div
>
<a-modal
:title=
"!isChangeZdy ? '新增字段':'修改字段'"
v-model=
"visible"
@
cancel=
"handleCancel"
@
ok=
"handleOk"
>
<a-form
class=
"protalForm"
:form=
"form"
>
<a-form-item
label=
"keyCode"
:label-col=
"
{ span: 0 }" :wrapper-col="{ span: 0 }" style="height:0;visibility:hidden">
<a-input
v-decorator=
"['keyCode',]"
/>
</a-form-item>
<a-form-item
label=
"字段名"
:label-col=
"
{ span: 5 }" :wrapper-col="{ span: 19 }">
<a-input
v-decorator=
"['keyName',
{validateTrigger:'blur',rules: [ {required: true, message: '请输入字段名!',}]}]" />
</a-form-item>
...
...
@@ -322,6 +325,8 @@ export default {
sltJson
:
list
[
i
].
sltJson
,
canSearch
:
list
[
i
].
canSearch
})
// console.log(this.taskCollectList, ' 获取的参数')
}
// //
// // 存储当前页面列表的搜索信息
...
...
@@ -401,7 +406,7 @@ export default {
if
(
!!
row
.
defVal
&&
row
.
compntType
==
'date'
)
{
row
.
defVal
=
this
.
$moment
(
row
.
defVal
)
}
// console.log(row, '修改的按钮')
// 默认值的回显需要判断之前是否有
if
(
!!
row
.
sltJson
&&
row
.
sltJson
!=
null
)
{
...
...
@@ -492,6 +497,7 @@ export default {
}
if
(
this
.
isChangeZdy
)
{
// console.log(values, '修改的参数')
this
.
$ajax
.
put
({
url
:
this
.
$api
.
PUT_TBLS_KEYS
.
replace
(
'{id}'
,
this
.
keyId
),
params
:
values
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment