Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
E
ElectricitySheep
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
黄媛媛
ElectricitySheep
Commits
1e551a4a
Commit
1e551a4a
authored
Aug 31, 2021
by
zhengke
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改
parent
e36fb4b9
Show whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
21 additions
and
50 deletions
+21
-50
dropdown.vue
src/components/tradePavilion/plugin/dropdown.vue
+3
-3
imgupform.vue
src/components/tradePavilion/plugin/imgupform.vue
+2
-14
multilinetext.vue
src/components/tradePavilion/plugin/multilinetext.vue
+3
-3
singletextbox.vue
src/components/tradePavilion/plugin/singletextbox.vue
+3
-3
videoform.vue
src/components/tradePavilion/plugin/videoform.vue
+3
-26
registrationAdd.vue
src/components/tradePavilion/registrationAdd.vue
+7
-1
No files found.
src/components/tradePavilion/plugin/dropdown.vue
View file @
1e551a4a
...
...
@@ -13,14 +13,14 @@
<el-form
label-width=
"90px"
>
<el-form-item
:label=
"searchData.CompData.Name"
:required=
"searchData.CompData.IsRequire"
style=
"margin-bottom:0"
>
<el-select
disabled
style=
"width:328px;"
></el-select>
<el-select
v-model=
"defaultValue"
disabled
style=
"width:328px;"
></el-select>
</el-form-item>
</el-form>
</div>
</div>
<div
class=
"diy-component-edit"
v-if=
"searchData.isCked"
>
<el-form
label-width=
"100px"
>
<el-form-item
label=
"名称"
>
<el-form-item
label=
"名称"
required
>
<el-input
v-model=
"searchData.CompData.Name"
size=
"small"
></el-input>
</el-form-item>
<el-form-item
label=
"是否多选"
>
...
...
@@ -40,7 +40,7 @@
props
:
[
"searchData"
,
"index"
,
"dataLeng"
],
data
()
{
return
{
defaultValue
:
''
};
},
created
()
{},
...
...
src/components/tradePavilion/plugin/imgupform.vue
View file @
1e551a4a
<
style
>
.imgdiy-search
{
background
:
rgb
(
242
,
242
,
242
);
}
.imgdiy-search
>
div
{
min-height
:
100px
;
line-height
:
60px
;
padding
:
24px
;
font-size
:
28px
;
}
</
style
>
<
template
>
<div
:class=
"
{'active':searchData.isCked}">
<div
class=
"diy-component-options"
v-if=
"searchData.isCked"
>
...
...
@@ -21,7 +9,7 @@
style=
"right: -25px; top: 30px;"
></el-button>
</div>
<div
class=
"diy-component-preview"
>
<div
class=
"
imgdiy-search
"
>
<div
class=
"
diy-search"
style=
"min-height:91px;
"
>
<el-form
label-width=
"90px"
>
<el-form-item
:label=
"searchData.CompData.Name"
style=
"margin-bottom:0"
>
<div>
...
...
@@ -35,7 +23,7 @@
</div>
<div
class=
"diy-component-edit"
v-if=
"searchData.isCked"
>
<el-form
label-width=
"100px"
>
<el-form-item
label=
"名称"
>
<el-form-item
label=
"名称"
required
>
<el-input
v-model=
"searchData.CompData.Name"
size=
"small"
></el-input>
</el-form-item>
<el-form-item
label=
"上传文件数量"
>
...
...
src/components/tradePavilion/plugin/multilinetext.vue
View file @
1e551a4a
...
...
@@ -12,14 +12,14 @@
<div
class=
"diy-search"
>
<el-form
label-width=
"90px"
>
<el-form-item
:label=
"searchData.CompData.Name"
:required=
"searchData.CompData.IsRequire"
style=
"margin-bottom:0"
>
<el-input
disabled
type=
"textarea"
:placeholder=
"`最多输入$
{searchData.CompData.WordsLength}个字`">
</el-input>
<el-input
disabled
type=
"textarea"
v-model=
"defaultValue"
:placeholder=
"`最多输入$
{searchData.CompData.WordsLength}个字`">
</el-input>
</el-form-item>
</el-form>
</div>
</div>
<div
class=
"diy-component-edit"
v-if=
"searchData.isCked"
>
<el-form
label-width=
"100px"
>
<el-form-item
label=
"名称"
>
<el-form-item
label=
"名称"
required
>
<el-input
v-model=
"searchData.CompData.Name"
size=
"small"
:maxlength=
"10"
></el-input>
</el-form-item>
<el-form-item
label=
"字数"
>
...
...
@@ -38,7 +38,7 @@
props
:
[
"searchData"
,
"index"
,
"dataLeng"
],
data
()
{
return
{
defaultValue
:
''
};
},
created
()
{},
...
...
src/components/tradePavilion/plugin/singletextbox.vue
View file @
1e551a4a
...
...
@@ -12,14 +12,14 @@
<div
class=
"diy-search"
>
<el-form
label-width=
"90px"
>
<el-form-item
:label=
"searchData.CompData.Name"
:required=
"searchData.CompData.IsRequire"
style=
"margin-bottom:0"
>
<el-input
disabled
:placeholder=
"`最多输入$
{searchData.CompData.WordsLength}个字`">
</el-input>
<el-input
disabled
v-model=
"defaultValue"
:placeholder=
"`最多输入$
{searchData.CompData.WordsLength}个字`">
</el-input>
</el-form-item>
</el-form>
</div>
</div>
<div
class=
"diy-component-edit"
v-if=
"searchData.isCked"
>
<el-form
label-width=
"100px"
>
<el-form-item
label=
"名称"
>
<el-form-item
label=
"名称"
required
>
<el-input
v-model=
"searchData.CompData.Name"
size=
"small"
:maxlength=
"10"
></el-input>
</el-form-item>
<el-form-item
label=
"字数"
>
...
...
@@ -39,7 +39,7 @@
props
:
[
"searchData"
,
"index"
,
"dataLeng"
],
data
()
{
return
{
defaultValue
:
''
};
},
created
()
{},
...
...
src/components/tradePavilion/plugin/videoform.vue
View file @
1e551a4a
<
style
>
.single_Input
{
width
:
500px
;
height
:
60px
;
border
:
1px
solid
#DCDFE6
;
border-radius
:
4px
;
margin-left
:
20px
;
background
:
#fff
;
font-size
:
25px
;
color
:
#c0c4d6
;
line-height
:
60px
;
padding-left
:
20px
;
}
.imgdiy-search
{
background
:
rgb
(
242
,
242
,
242
);
}
.imgdiy-search
>
div
{
min-height
:
100px
;
line-height
:
60px
;
padding
:
24px
;
font-size
:
28px
;
}
</
style
>
<
template
>
<div
:class=
"
{'active':searchData.isCked}">
<div
class=
"diy-component-options"
v-if=
"searchData.isCked"
>
...
...
@@ -32,10 +9,10 @@
style=
"right: -25px; top: 30px;"
></el-button>
</div>
<div
class=
"diy-component-preview"
>
<div
class=
"
imgdiy-search
"
>
<div
class=
"
diy-search"
style=
"min-height:91px;
"
>
<el-form
label-width=
"90px"
>
<el-form-item
:label=
"searchData.CompData.Name"
style=
"margin-bottom:0"
>
<div>
<div
>
<template
v-for=
"(item,index) in imgNum"
>
<img
:key=
"index"
src=
"../../../assets/img/default.png"
style=
"width:80px;margin-right:20px;"
alt=
""
>
</
template
>
...
...
@@ -46,7 +23,7 @@
</div>
<div
class=
"diy-component-edit"
v-if=
"searchData.isCked"
>
<el-form
label-width=
"100px"
>
<el-form-item
label=
"名称"
>
<el-form-item
label=
"名称"
required
>
<el-input
v-model=
"searchData.CompData.Name"
size=
"small"
></el-input>
</el-form-item>
<el-form-item
label=
"上传文件数量"
>
...
...
src/components/tradePavilion/registrationAdd.vue
View file @
1e551a4a
...
...
@@ -519,12 +519,18 @@
this
.
addMsg
.
FormData
.
splice
(
index
,
1
);
},
SaveData
()
{
for
(
let
i
=
0
;
i
<
this
.
addMsg
.
FormData
.
length
;
i
++
){
if
(
this
.
addMsg
.
FormData
[
i
].
CompData
.
Name
==
''
){
this
.
Error
(
`请输入第
${
i
+
1
}
个组件的名称`
);
return
}
}
this
.
apipost
(
"/api/CustomForm/SetCustomForm"
,
this
.
addMsg
,
(
res
)
=>
{
if
(
res
.
data
.
resultCode
==
1
)
{
var
tempData
=
res
.
data
.
data
;
if
(
tempData
)
{
this
.
queryMsgId
=
tempData
.
Id
;
this
.
getCustomFormInfo
(
this
.
queryMsgId
);
this
.
getCustomFormInfo
(
this
.
queryMsgId
);
}
this
.
Success
(
res
.
data
.
message
);
}
else
{
...
...
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