Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
saas
/
scrm-micro-marketing
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 4c3dcba6
authored
Jul 22, 2022
by
wuwx
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
修改定向礼包样式
1 parent
ece1a919
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
23 additions
and
23 deletions
src/views/giftBag/editGift.vue
src/views/giftBag/giftList.vue
src/views/giftBag/editGift.vue
View file @
4c3dcba
<!-- 编辑礼包 -->
<!-- 编辑礼包 -->
<
template
>
<
template
>
<div
class=
"edit-gift marketing edit-box"
>
<div
class=
"edit-gift marketing edit-box"
>
<div
v-if=
"routeInfo.addOrEdit != 'add'"
class=
"container approval-container"
>
<
!--
<
div
v-if=
"routeInfo.addOrEdit != 'add'"
class=
"container approval-container"
>
<p
class=
"edit-title"
>
审批信息
</p>
<p
class=
"edit-title"
>
审批信息
</p>
<div
class=
"approval-info"
>
<div
class=
"approval-info"
>
<div
class=
"approval_label"
>
审批人:
{{
editForm
.
approveBy
}}
</div>
<div
class=
"approval_label"
>
审批人:
{{
editForm
.
approveBy
}}
</div>
...
@@ -14,7 +14,7 @@
...
@@ -14,7 +14,7 @@
<div
class=
"approval_con"
>
{{
editForm
.
approveExplain
}}
</div>
<div
class=
"approval_con"
>
{{
editForm
.
approveExplain
}}
</div>
</div>
</div>
</div>
</div>
</div>
</div>
-->
<div
class=
"container edit-container"
>
<div
class=
"container edit-container"
>
<p
class=
"edit-title"
>
{{
title
}}
</p>
<p
class=
"edit-title"
>
{{
title
}}
</p>
<glsx-combi-form
v-loading=
"loading"
class=
"edit-form-container m-r-20"
ref=
"editFormRef"
:isEdit=
"isEdit"
:labelWidth=
"labelWidth"
defaultWidth=
"415px"
:isBlock=
"true"
:formRef=
"editChildRef"
:formObj=
"editForm"
:formData=
"editFormData"
:formRules=
"editRule"
>
<glsx-combi-form
v-loading=
"loading"
class=
"edit-form-container m-r-20"
ref=
"editFormRef"
:isEdit=
"isEdit"
:labelWidth=
"labelWidth"
defaultWidth=
"415px"
:isBlock=
"true"
:formRef=
"editChildRef"
:formObj=
"editForm"
:formData=
"editFormData"
:formRules=
"editRule"
>
...
...
src/views/giftBag/giftList.vue
View file @
4c3dcba
...
@@ -11,7 +11,7 @@
...
@@ -11,7 +11,7 @@
</div>
</div>
<div
class=
"container"
>
<div
class=
"container"
>
<div>
<div>
<GLCombiForm
@
handleOk=
"handleSearch"
@
handleRest=
"handleReset"
ref=
"showSearch"
:formObj=
"searchForm"
:formData=
"searchFormData"
></GLCombiForm>
<GLCombiForm
@
handleOk=
"handleSearch"
:rowNumber=
"1"
@
handleRest=
"handleReset"
ref=
"showSearch"
:formObj=
"searchForm"
:formData=
"searchFormData"
></GLCombiForm>
<GLButton
style=
"float:right;margin-bottom:10px;"
:size=
"size"
class=
"default-blue-btn"
type=
"default"
fn=
"导出"
@
click=
"handleExport"
>
导出
</GLButton>
<GLButton
style=
"float:right;margin-bottom:10px;"
:size=
"size"
class=
"default-blue-btn"
type=
"default"
fn=
"导出"
@
click=
"handleExport"
>
导出
</GLButton>
</div>
</div>
...
@@ -30,10 +30,10 @@
...
@@ -30,10 +30,10 @@
<div
slot=
"name"
slot-scope=
"scope"
>
<div
slot=
"name"
slot-scope=
"scope"
>
<p
class=
"cursor-pointer"
@
click=
"handleDetail(scope.scope)"
>
{{
scope
.
scope
.
name
}}
</p>
<p
class=
"cursor-pointer"
@
click=
"handleDetail(scope.scope)"
>
{{
scope
.
scope
.
name
}}
</p>
</div>
</div>
<div
style=
"display: flex;align-items: center;"
slot=
"approveStatus"
slot-scope=
"scope"
>
<
!--
<
div
style=
"display: flex;align-items: center;"
slot=
"approveStatus"
slot-scope=
"scope"
>
<div
class=
"approve-status"
:style=
"
{ 'background-color': approvalStatusColor[scope.scope.approveStatus - 1] }">
</div>
<div
class=
"approve-status"
:style=
"
{ 'background-color': approvalStatusColor[scope.scope.approveStatus - 1] }">
</div>
<span>
{{
approvalStatusVal
[
scope
.
scope
.
approveStatus
-
1
]
}}
</span>
<span>
{{
approvalStatusVal
[
scope
.
scope
.
approveStatus
-
1
]
}}
</span>
</div>
</div>
-->
<div
class=
"table-btns"
slot=
"auth-button"
slot-scope=
"scope"
>
<div
class=
"table-btns"
slot=
"auth-button"
slot-scope=
"scope"
>
<GLTableButton
:buttonList=
"buttonList"
:buttonItem=
"scope"
:buttonNum=
"3"
></GLTableButton>
<GLTableButton
:buttonList=
"buttonList"
:buttonItem=
"scope"
:buttonNum=
"3"
></GLTableButton>
</div>
</div>
...
@@ -110,9 +110,9 @@ export default {
...
@@ -110,9 +110,9 @@ export default {
name
:
row
=>
{
name
:
row
=>
{
return
'生成二维码'
return
'生成二维码'
},
},
condition
:
row
=>
{
//
condition: row => {
return
row
.
scope
.
approveStatus
==
2
//
return row.scope.approveStatus == 2
},
//
},
attrs
:
{
attrs
:
{
type
:
'text'
,
type
:
'text'
,
fn
:
'生成二维码'
fn
:
'生成二维码'
...
@@ -148,15 +148,15 @@ export default {
...
@@ -148,15 +148,15 @@ export default {
maxlength
:
30
,
maxlength
:
30
,
isClear
:
true
isClear
:
true
},
},
{
//
{
label
:
'审批状态'
,
//
label: '审批状态',
name
:
'approveStatus'
,
//
name: 'approveStatus',
type
:
'select'
,
//
type: 'select',
optionList
:
[],
//
optionList: [],
optionId
:
'confId'
,
//
optionId: 'confId',
optionLabel
:
'confName'
,
//
optionLabel: 'confName',
optionsName
:
'approvalStatusList'
//
optionsName: 'approvalStatusList'
},
//
},
{
{
label
:
'创建时间'
,
label
:
'创建时间'
,
name
:
'createDate'
,
name
:
'createDate'
,
...
@@ -239,12 +239,12 @@ export default {
...
@@ -239,12 +239,12 @@ export default {
return
cellValue
.
giveReason
||
'-'
return
cellValue
.
giveReason
||
'-'
}
}
},
},
{
//
{
label
:
'审批状态'
,
//
label: '审批状态',
width
:
150
,
//
width: 150,
prop
:
'approveStatus'
,
//
prop: 'approveStatus',
addHtml
:
'approveStatus'
//
addHtml: 'approveStatus'
},
//
},
{
{
label
:
'创建时间'
,
label
:
'创建时间'
,
prop
:
'createdDate'
,
prop
:
'createdDate'
,
...
...
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