Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
saas
/
scrm-micro-custom
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit 7b3cf81a
authored
Aug 24, 2022
by
xuyl
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
修改表单样式
1 parent
d8c1e8e1
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
31 additions
and
29 deletions
src/components/rule-form/index.vue
src/views/crowdManage/crowdAdd.vue
src/views/tagsManage/index.vue
src/components/rule-form/index.vue
View file @
7b3cf81
<
template
>
<
template
>
<div>
<div
class=
"gl-form-page"
>
<el-form
:model=
"ruleForm"
:rules=
"rules"
:label-position=
"labelPosition"
:label-width=
"labelWidth"
:size=
"size"
>
<el-form
:model=
"ruleForm"
:rules=
"rules"
:label-position=
"labelPosition"
:label-width=
"labelWidth"
:size=
"size"
>
<el-form-item
v-for=
"(item, index) in ruleData"
:key=
"index"
:label=
"item.label"
:prop=
"item.prop || ''"
:class=
"item.class"
v-show=
"!item.hidden"
>
<el-form-item
v-for=
"(item, index) in ruleData"
:key=
"index"
:label=
"item.label"
:prop=
"item.prop || ''"
:class=
"item.class"
v-show=
"!item.hidden"
>
<template
slot-scope=
"scope"
>
<template
slot-scope=
"scope"
>
<template
v-if=
"item.type === 'input'"
>
<template
v-if=
"item.type === 'input'"
>
...
...
src/views/crowdManage/crowdAdd.vue
View file @
7b3cf81
...
@@ -3,29 +3,31 @@
...
@@ -3,29 +3,31 @@
<div
class=
"container"
id=
"container"
>
<div
class=
"container"
id=
"container"
>
<div>
<div>
<div
class=
"title"
>
创建人群
</div>
<div
class=
"title"
>
创建人群
</div>
<div
class=
"info-box"
>
<div
class=
"info-box"
>
<el-form
class=
"create-form"
:model=
"crowdForm"
:rules=
"crowdRules"
ref=
"crowdForm"
label-width=
"118px"
>
<div
class=
"gl-form-page"
>
<div
class=
"el-form-line"
>
<el-form
class=
"create-form"
:model=
"crowdForm"
:rules=
"crowdRules"
ref=
"crowdForm"
label-width=
"118px"
>
<el-form-item
label=
"人群名称:"
prop=
"crowdName"
>
<div
class=
"el-form-line"
>
<el-input
v-model
.
trim=
"crowdForm.crowdName"
size=
"small"
placeholder=
"请输入人群名称"
maxlength=
"60"
></el-input>
<el-form-item
label=
"人群名称:"
prop=
"crowdName"
>
</el-form-item>
<el-input
v-model
.
trim=
"crowdForm.crowdName"
size=
"small"
placeholder=
"请输入人群名称"
maxlength=
"60"
></el-input>
<span
class=
"limited"
>
最多30个字符
</span>
</el-form-item>
</div>
<span
class=
"limited"
>
最多30个字符
</span>
<div
class=
"el-form-line"
>
</div>
<el-form-item
label=
"人群描述:"
>
<div
class=
"el-form-line"
>
<el-input
v-model
.
trim=
"crowdForm.crowdDesc"
size=
"small"
placeholder=
"请输入人群描述"
maxlength=
"200"
></el-input>
<el-form-item
label=
"人群描述:"
>
</el-form-item>
<el-input
v-model
.
trim=
"crowdForm.crowdDesc"
size=
"small"
placeholder=
"请输入人群描述"
maxlength=
"200"
></el-input>
<span
class=
"limited"
>
最多100个字符
</span>
</el-form-item>
</div>
<span
class=
"limited"
>
最多100个字符
</span>
<div
class=
"el-form-line"
>
</div>
<el-form-item
label=
"标签筛选:"
class=
"label-word"
>
<div
class=
"el-form-line"
>
<div
class=
"flex"
>
<el-form-item
label=
"标签筛选:"
class=
"label-word"
>
<div
class=
"font-14 color-58 mr2 hand"
@
click=
"open('dialogRuleVisible')"
>
人群规则说明
</div>
<div
class=
"flex"
>
<div
class=
"font-14 color-58 hand"
@
click=
"open('dialogLogicVisible')"
>
人群规则逻辑
</div>
<div
class=
"font-14 color-58 mr2 hand"
@
click=
"open('dialogRuleVisible')"
>
人群规则说明
</div>
</div>
<div
class=
"font-14 color-58 hand"
@
click=
"open('dialogLogicVisible')"
>
人群规则逻辑
</div>
</el-form-item>
</div>
</div>
</el-form-item>
</el-form>
</div>
</el-form>
</div>
<div
class=
"label-wrap"
>
<div
class=
"label-wrap"
>
<div
:class=
"
{ 'fixed-box': true, is_fixed: isFixed, is_pb: isDom }" id="boxFixed">
<div
:class=
"
{ 'fixed-box': true, is_fixed: isFixed, is_pb: isDom }" id="boxFixed">
<template
v-if=
"this.selectedArray.length > 0"
>
<template
v-if=
"this.selectedArray.length > 0"
>
...
...
src/views/tagsManage/index.vue
View file @
7b3cf81
...
@@ -493,7 +493,7 @@ export default {
...
@@ -493,7 +493,7 @@ export default {
},
},
tagDialogData
:
[
tagDialogData
:
[
{
{
label
:
'标签组名称'
,
label
:
'标签组名称
:
'
,
prop
:
'tagsName'
,
prop
:
'tagsName'
,
type
:
'input'
,
type
:
'input'
,
placeholder
:
'最多30个字符,1个汉字为2个字符'
,
placeholder
:
'最多30个字符,1个汉字为2个字符'
,
...
@@ -503,19 +503,19 @@ export default {
...
@@ -503,19 +503,19 @@ export default {
clickFunc
:
this
.
watchInput
clickFunc
:
this
.
watchInput
},
},
{
{
label
:
'标签组类型'
,
label
:
'标签组类型
:
'
,
prop
:
'initTagsGroup'
,
prop
:
'initTagsGroup'
,
type
:
'customize'
,
type
:
'customize'
,
slotName
:
'tagsGroup-type'
slotName
:
'tagsGroup-type'
},
},
{
{
label
:
'更新方式'
,
label
:
'更新方式
:
'
,
prop
:
'initTagsGroup'
,
prop
:
'initTagsGroup'
,
type
:
'customize'
,
type
:
'customize'
,
slotName
:
'modeType'
slotName
:
'modeType'
},
},
{
{
label
:
'标签'
,
label
:
'标签
:
'
,
prop
:
'tagsList'
,
prop
:
'tagsList'
,
type
:
'customize'
,
type
:
'customize'
,
slotName
:
'tagsInput-type'
,
slotName
:
'tagsInput-type'
,
...
...
Write
Preview
Markdown
is supported
Attach a file
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 post a comment