Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
H
horse
Project
Project
Details
Activity
Releases
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
向伟
horse
Commits
64ad5fd6
Commit
64ad5fd6
authored
Nov 18, 2021
by
Mac
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1
parent
d55b5496
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
20 additions
and
2 deletions
+20
-2
addfield.vue
src/components/customer/addfield.vue
+20
-2
No files found.
src/components/customer/addfield.vue
View file @
64ad5fd6
...
...
@@ -10,7 +10,7 @@
<q-card-section
class=
"q-pt-none"
style=
"margin-top: 15px;"
>
<q-splitter
v-model=
"splitterModel"
>
<template
v-slot:before
>
<q-tabs
v-model=
"tab"
vertical
@
input
=
"getdefault"
>
<q-tabs
v-model=
"tab"
vertical
@
click
=
"getdefault"
>
<q-tab
v-for=
"(x,y) in tabsList"
:key=
'y'
:name=
"x.Id"
:label=
"x.Name"
:disable=
"x.disable"
/>
</q-tabs>
...
...
@@ -271,6 +271,23 @@
}
addMsg
.
value
.
DeptId
=
tempStr
}
const
getdefault
=
()
=>
{
//切换模式的时候 初始化
addMsg
.
value
=
{
Id
:
0
,
Type
:
1
,
Name
:
''
,
Required
:
2
,
DeptId
:
0
,
WordNum
:
1
,
InputType
:
''
,
OptionsList
:
[{
Id
:
1
,
Name
:
''
}],
Digits
:
0
,
Enable
:
1
,
};
}
return
{
getcancel
,
//关闭弹窗
...
...
@@ -286,7 +303,8 @@
decimalslist
,
returnString
,
getChild
,
loading
loading
,
getdefault
}
}
})
...
...
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