Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
saas
/
scrm-micro-services
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 66fcd842
authored
Aug 24, 2022
by
前端
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
UI改版
1 parent
ca369f0e
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
25 additions
and
22 deletions
src/views/expert/index.vue
src/views/ghPreSale/equityList.vue
src/views/ghPreSale/writeOff/addwriteOff.vue
src/views/ghPreSale/writeOff/writeOffList.vue
src/views/expert/index.vue
View file @
66fcd84
...
@@ -43,7 +43,7 @@
...
@@ -43,7 +43,7 @@
<!-- <GLButton v-if="userType != 2" fn="编辑" type="text" @click="addConfig(scope.scope.businessTypeName, scope.scope.id)">编辑</GLButton>
<!-- <GLButton v-if="userType != 2" fn="编辑" type="text" @click="addConfig(scope.scope.businessTypeName, scope.scope.id)">编辑</GLButton>
<GLButton v-if="userType != 2" fn="删除" type="text" @click="handleDel(scope.scope)">删除</GLButton>
<GLButton v-if="userType != 2" fn="删除" type="text" @click="handleDel(scope.scope)">删除</GLButton>
<GLButton v-if="userType != 2" fn="下载活码" type="text" @click="handleDel(scope.scope)">下载活码</GLButton> -->
<GLButton v-if="userType != 2" fn="下载活码" type="text" @click="handleDel(scope.scope)">下载活码</GLButton> -->
<GLTableButton
:buttonList=
"buttonList"
:buttonItem=
"scope"
:buttonNum=
"3"
></GLTableButton>
<GLTableButton
:buttonList=
"buttonList"
:buttonItem=
"scope"
:buttonNum=
"3"
></GLTableButton>
</div>
</div>
</GLTable>
</GLTable>
<div
v-if=
"!hasData"
class=
"default-box"
>
<div
v-if=
"!hasData"
class=
"default-box"
>
...
@@ -63,7 +63,6 @@
...
@@ -63,7 +63,6 @@
<
script
>
<
script
>
const
imagBaseURL
=
'https://img01.glsx.com.cn/weapp/resource/saas/scrm/'
const
imagBaseURL
=
'https://img01.glsx.com.cn/weapp/resource/saas/scrm/'
// import imagBaseURL from '@/assets/notExpert.png'
// import imagBaseURL from '@/assets/notExpert.png'
import
glsxCombiForm
from
'@/components/glsx-combi-form'
import
util
from
'@/util/util'
import
util
from
'@/util/util'
import
url
from
'@/assets/empty.png'
import
url
from
'@/assets/empty.png'
import
{
downloadIamge
}
from
'@/common/constant'
import
{
downloadIamge
}
from
'@/common/constant'
...
@@ -178,13 +177,13 @@ export default {
...
@@ -178,13 +177,13 @@ export default {
label
:
'渠道活码'
,
label
:
'渠道活码'
,
prop
:
''
,
prop
:
''
,
addHtml
:
'qrCode'
,
addHtml
:
'qrCode'
,
width
:
200
,
width
:
200
},
},
{
{
label
:
'员工'
,
label
:
'员工'
,
prop
:
''
,
prop
:
''
,
addHtml
:
'staffName'
,
addHtml
:
'staffName'
,
width
:
200
,
width
:
200
},
},
{
{
label
:
'专家类型'
,
label
:
'专家类型'
,
...
@@ -218,9 +217,6 @@ export default {
...
@@ -218,9 +217,6 @@ export default {
}
}
}
}
},
},
components
:
{
glsxCombiForm
},
computed
:
{},
computed
:
{},
created
()
{
created
()
{
this
.
getDepartmentList
()
this
.
getDepartmentList
()
...
...
src/views/ghPreSale/equityList.vue
View file @
66fcd84
...
@@ -19,16 +19,19 @@
...
@@ -19,16 +19,19 @@
</div>
</div>
<!-- 表格区域 开始 -->
<!-- 表格区域 开始 -->
<el-button
:size=
"size"
style=
"float:right;margin-bottom:10px;"
@
click=
"handleExport"
>
导出
</el-button>
<el-button
:size=
"size"
plain
style=
"float:right;margin-bottom:10px;"
@
click=
"handleExport"
>
导出
</el-button>
<GLTable
ref=
"equityRef"
:pageSizes=
"sizeList"
:getListApi=
"getListApi"
:searchForm=
"tableSearchForm"
:tableParams=
"tableParams"
:pageConf=
"pageConf"
:beforeSearchFn=
"beforeSearchFn"
>
<GLTable
ref=
"equityRef"
:pageSizes=
"sizeList"
:getListApi=
"getListApi"
:searchForm=
"tableSearchForm"
:tableParams=
"tableParams"
:pageConf=
"pageConf"
:beforeSearchFn=
"beforeSearchFn"
>
<div
class=
"table-btns"
slot=
"table-btns"
slot-scope=
"scope"
>
<div
class=
"table-btns"
slot=
"table-btns"
slot-scope=
"scope"
>
<GLButton
v-if=
"[2, 4, 5,7,8,9,10,11,12].includes(scope.scope.orderStatus)"
fn=
"查看"
type=
"text"
@
click=
"handleEdit(5, scope.scope)"
>
查看
</GLButton>
<GLButton
v-if=
"[2, 4, 5, 7, 8, 9, 10, 11, 12].includes(scope.scope.orderStatus)"
fn=
"查看"
type=
"text"
@
click=
"handleEdit(5, scope.scope)"
>
查看
</GLButton>
<el-button
v-if=
"[2,8,10,11,12].includes(scope.scope.orderStatus)"
type=
"text"
@
click=
"handlePdf(scope.scope)"
>
打印
</el-button>
<el-button
v-if=
"[2, 8, 10, 11, 12].includes(scope.scope.orderStatus)"
type=
"text"
@
click=
"handlePdf(scope.scope)"
>
打印
</el-button>
<el-button
v-if=
"[2,7,8,9,10,11,12].includes(scope.scope.orderStatus)"
style=
"position: relative;"
type=
"text"
@
click=
"handleUpload(scope.scope)"
>
上传资料
<span
v-show=
"scope.scope.dataPerfection == 0"
class=
"circule-tips"
></span></el-button>
<el-button
v-if=
"[2, 7, 8, 9, 10, 11, 12].includes(scope.scope.orderStatus)"
style=
"position: relative;"
type=
"text"
@
click=
"handleUpload(scope.scope)"
>
上传资料
<span
v-show=
"scope.scope.dataPerfection == 0"
class=
"circule-tips"
></span>
</el-button>
<GLButton
v-if=
"[0].includes(scope.scope.orderStatus)"
fn=
"编辑"
type=
"text"
@
click=
"handleEdit(2, scope.scope)"
>
编辑
</GLButton>
<GLButton
v-if=
"[0].includes(scope.scope.orderStatus)"
fn=
"编辑"
type=
"text"
@
click=
"handleEdit(2, scope.scope)"
>
编辑
</GLButton>
<GLButton
v-if=
"[2,
8,10,11].includes(scope.scope.orderStatus)&&(!scope.scope.hasPrint
|| userInfo.admin)"
fn=
"修改"
type=
"text"
@
click=
"handleEdit(3, scope.scope)"
>
修改
</GLButton>
<GLButton
v-if=
"[2,
8, 10, 11].includes(scope.scope.orderStatus) && (!scope.scope.hasPrint
|| userInfo.admin)"
fn=
"修改"
type=
"text"
@
click=
"handleEdit(3, scope.scope)"
>
修改
</GLButton>
<el-button
v-if=
"[2,
8,10,
11].includes(scope.scope.orderStatus)"
type=
"text"
@
click=
"handleBack(scope.scope)"
>
退单
</el-button>
<el-button
v-if=
"[2,
8, 10,
11].includes(scope.scope.orderStatus)"
type=
"text"
@
click=
"handleBack(scope.scope)"
>
退单
</el-button>
<GLButton
v-if=
"[1,3, 4, 5].includes(scope.scope.orderStatus)"
fn=
"重新提单"
type=
"text"
@
click=
"handleEdit(4, scope.scope)"
>
重新提单
</GLButton>
<GLButton
v-if=
"[1,
3, 4, 5].includes(scope.scope.orderStatus)"
fn=
"重新提单"
type=
"text"
@
click=
"handleEdit(4, scope.scope)"
>
重新提单
</GLButton>
<el-button
v-if=
"userInfo.admin"
type=
"text"
@
click=
"showFailModal(scope.scope)"
>
失败
</el-button>
<el-button
v-if=
"userInfo.admin"
type=
"text"
@
click=
"showFailModal(scope.scope)"
>
失败
</el-button>
<!--
<GLTableButton
:buttonList=
"buttonList"
:buttonItem=
"scope"
:buttonNum=
"3"
></GLTableButton>
-->
<!--
<GLTableButton
:buttonList=
"buttonList"
:buttonItem=
"scope"
:buttonNum=
"3"
></GLTableButton>
-->
</div>
</div>
...
@@ -799,7 +802,7 @@ export default {
...
@@ -799,7 +802,7 @@ export default {
this
.
$confirm
(
'财务未审核,合同无法打印'
,
{
this
.
$confirm
(
'财务未审核,合同无法打印'
,
{
confirmButtonText
:
'确定'
,
confirmButtonText
:
'确定'
,
showCancelButton
:
false
,
showCancelButton
:
false
,
type
:
'error'
type
:
'error'
})
})
return
true
return
true
}
}
...
@@ -936,8 +939,7 @@ export default {
...
@@ -936,8 +939,7 @@ export default {
handleSearch
()
{
handleSearch
()
{
this
.
$refs
.
equityRef
.
refreshTable
()
this
.
$refs
.
equityRef
.
refreshTable
()
this
.
$refs
.
equityRef
.
componentKey
=
Date
.
now
()
this
.
$refs
.
equityRef
.
componentKey
=
Date
.
now
()
},
},
handleReset
()
{
handleReset
()
{
...
@@ -1220,7 +1222,7 @@ export default {
...
@@ -1220,7 +1222,7 @@ export default {
{
{
label
:
'门店编码'
,
label
:
'门店编码'
,
prop
:
'sap'
,
prop
:
'sap'
,
width
:
150
,
width
:
150
,
formatter
:
cellValue
=>
{
formatter
:
cellValue
=>
{
return
cellValue
.
sap
||
'-'
return
cellValue
.
sap
||
'-'
}
}
...
@@ -1359,7 +1361,7 @@ export default {
...
@@ -1359,7 +1361,7 @@ export default {
label
:
'实际销售价'
,
label
:
'实际销售价'
,
prop
:
'actualSalesPrice'
,
prop
:
'actualSalesPrice'
,
width
:
'160px'
,
width
:
'160px'
,
align
:
'right'
,
align
:
'right'
,
formatter
:
cellValue
=>
{
formatter
:
cellValue
=>
{
return
cellValue
.
actualSalesPrice
?
(
cellValue
.
actualSalesPrice
/
100
).
toFixed
(
2
)
:
'-'
return
cellValue
.
actualSalesPrice
?
(
cellValue
.
actualSalesPrice
/
100
).
toFixed
(
2
)
:
'-'
}
}
...
@@ -1385,7 +1387,7 @@ export default {
...
@@ -1385,7 +1387,7 @@ export default {
label
:
'门店成本'
,
label
:
'门店成本'
,
prop
:
'costPrice'
,
prop
:
'costPrice'
,
width
:
'160px'
,
width
:
'160px'
,
align
:
'right'
,
align
:
'right'
,
formatter
:
cellValue
=>
{
formatter
:
cellValue
=>
{
return
cellValue
.
costPrice
?
(
cellValue
.
costPrice
/
100
).
toFixed
(
2
)
:
'-'
return
cellValue
.
costPrice
?
(
cellValue
.
costPrice
/
100
).
toFixed
(
2
)
:
'-'
}
}
...
...
src/views/ghPreSale/writeOff/addwriteOff.vue
View file @
66fcd84
...
@@ -393,10 +393,15 @@ export default {
...
@@ -393,10 +393,15 @@ export default {
margin-right
:
20px
;
margin-right
:
20px
;
margin-left
:
0
;
margin-left
:
0
;
display
:
inline-block
;
display
:
inline-block
;
border
:
none
;
&.is-bordered.is-checked
{
border-color
:
#5850ff
;
}
.el-checkbox__label
{
.el-checkbox__label
{
font-size
:
14px
;
font-size
:
14px
;
}
}
.el-checkbox__input
{
padding-top
:
2px
;
}
}
}
}
}
.main
{
.main
{
...
...
src/views/ghPreSale/writeOff/writeOffList.vue
View file @
66fcd84
...
@@ -95,7 +95,7 @@ export default {
...
@@ -95,7 +95,7 @@ export default {
{
{
label
:
'操作'
,
label
:
'操作'
,
prop
:
''
,
prop
:
''
,
width
:
'
10
0px'
,
width
:
'
7
0px'
,
fixed
:
'right'
,
fixed
:
'right'
,
addHtml
:
'table-btns'
addHtml
:
'table-btns'
}
}
...
...
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