Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
H
hg-front
Overview
Overview
Details
Activity
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
platform
hg-front
Commits
4eea2003
Commit
4eea2003
authored
Oct 15, 2024
by
zhangzhen
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
功能优化完善
parent
32b9aac4
Show whitespace changes
Inline
Side-by-side
Showing
51 changed files
with
181 additions
and
135 deletions
+181
-135
after-sale.js
api/after-sale.js
+4
-0
care.js
api/care.js
+4
-0
complaint.js
api/complaint.js
+6
-0
index.js
api/index.js
+19
-0
suggest.js
api/suggest.js
+5
-0
pages.json
pages.json
+1
-1
create.vue
pages/after-sale/create.vue
+5
-4
index.vue
pages/after-sale/index.vue
+3
-3
view.vue
pages/after-sale/view.vue
+2
-4
create.vue
pages/car-insurance/create.vue
+1
-1
view.vue
pages/car-insurance/view.vue
+1
-1
create.vue
pages/car-maintenance/create.vue
+4
-3
index.vue
pages/car-maintenance/index.vue
+1
-1
view.vue
pages/car-maintenance/view.vue
+2
-2
view.vue
pages/car-subscribe/view.vue
+1
-1
create.vue
pages/care/create.vue
+4
-5
index.vue
pages/care/index.vue
+2
-2
view.vue
pages/care/view.vue
+3
-3
create.vue
pages/complaint/create.vue
+26
-17
index.vue
pages/complaint/index.vue
+2
-2
view.vue
pages/complaint/view.vue
+3
-3
view.vue
pages/market-promotion/view.vue
+4
-4
view.vue
pages/marketing-resources/view.vue
+3
-3
create.vue
pages/meeting-room-manager/create.vue
+2
-2
index.vue
pages/meeting-room-manager/index.vue
+2
-2
view.vue
pages/meeting-room-manager/view.vue
+3
-3
create.vue
pages/notice-manager/create.vue
+1
-1
index.vue
pages/notice-manager/index.vue
+1
-1
view.vue
pages/notice-manager/view.vue
+2
-2
create.vue
pages/office-supplies-stocktaking/create.vue
+1
-1
index.vue
pages/office-supplies-stocktaking/index.vue
+1
-1
view.vue
pages/office-supplies-stocktaking/view.vue
+4
-4
create.vue
pages/office-supplies-use/create.vue
+1
-1
view.vue
pages/office-supplies-use/view.vue
+4
-4
create.vue
pages/office-supplies-warehousing/create.vue
+1
-1
index.vue
pages/office-supplies-warehousing/index.vue
+1
-1
view.vue
pages/office-supplies-warehousing/view.vue
+4
-4
create.vue
pages/office-supplies/create.vue
+4
-2
index.vue
pages/office-supplies/index.vue
+1
-1
view.vue
pages/office-supplies/view.vue
+4
-4
create.vue
pages/price-inquiry/create.vue
+5
-5
index.vue
pages/price-inquiry/index.vue
+1
-1
view.vue
pages/price-inquiry/view.vue
+5
-5
create.vue
pages/sales-performance/create.vue
+2
-2
view.vue
pages/sales-performance/view.vue
+3
-3
create.vue
pages/suggest/create.vue
+5
-5
index.vue
pages/suggest/index.vue
+2
-2
view.vue
pages/suggest/view.vue
+3
-3
create.vue
pages/visit-return/create.vue
+10
-12
index.vue
pages/visit-return/index.vue
+1
-1
view.vue
pages/visit-return/view.vue
+1
-1
No files found.
api/after-sale.js
View file @
4eea2003
...
...
@@ -108,6 +108,10 @@ const setResultData = (data) => {
return
paramsData
}
export
const
getParamsList
=
()
=>
{
let
url
=
`/service/S_FW_SH_00`
return
http
.
post
(
url
)
}
export
const
getList
=
(
params
,
pageData
)
=>
{
let
url
=
`/service/S_FW_SH_01`
...
...
api/care.js
View file @
4eea2003
...
...
@@ -108,6 +108,10 @@ const setResultData = (data) => {
return
paramsData
}
export
const
getParamsList
=
()
=>
{
let
url
=
`/service/S_FW_GH_00`
return
http
.
post
(
url
)
}
export
const
getList
=
(
params
,
pageData
)
=>
{
let
url
=
`/service/S_FW_GH_01`
...
...
api/complaint.js
View file @
4eea2003
...
...
@@ -109,6 +109,12 @@ const setResultData = (data) => {
}
export
const
getParamsList
=
()
=>
{
let
url
=
`/service/S_FW_TS_00`
let
d
=
setParamsData
()
return
http
.
post
(
url
,
d
)
}
export
const
getList
=
(
params
,
pageData
)
=>
{
let
url
=
`/service/S_FW_TS_01`
let
d
=
setParamsData
(
params
,
pageData
)
...
...
api/index.js
View file @
4eea2003
...
...
@@ -190,6 +190,25 @@ export const getImgInfoListSB = (data) => {
return
http
.
post
(
url
,
d
)
}
export
const
queryCustCode
=
(
data
)
=>
{
let
url
=
`/service/S_HGXS_003`
return
http
.
post
(
url
,
data
)
}
//文件与数据绑定-设备表
export
const
fileBindByRecord
=
(
data
)
=>
{
let
url
=
`/service/S_FL_BD_01`
let
d
=
setResultData
(
data
)
return
http
.
post
(
url
,
d
)
}
//查询文件
export
const
fileQueryByRecord
=
(
data
)
=>
{
let
url
=
`/service/S_FL_BD_02`
let
d
=
setParamsData
(
data
)
return
http
.
post
(
url
,
d
)
}
//文件与数据绑定-设备表
export
const
fileBindByRecord2
=
(
data
)
=>
{
let
url
=
`/service/S_BD_IMG_SB`
...
...
api/suggest.js
View file @
4eea2003
...
...
@@ -108,6 +108,11 @@ const setResultData = (data) => {
return
paramsData
}
export
const
getParamsList
=
()
=>
{
let
url
=
`/service/S_FW_JY_00`
let
d
=
setParamsData
()
return
http
.
post
(
url
,
d
)
}
export
const
getList
=
(
params
,
pageData
)
=>
{
let
url
=
`/service/S_FW_JY_01`
...
...
pages.json
View file @
4eea2003
...
...
@@ -1173,7 +1173,7 @@
"path"
:
"pages/suggest/index"
,
"style"
:
{
"navigationBarTitleText"
:
"客户
投诉
"
,
"navigationBarTitleText"
:
"客户
建议
"
,
"navigationBarBackgroundColor"
:
"#0072fc"
,
"navigationBarTextStyle"
:
"white"
,
"navigationStyle"
:
"custom"
,
...
...
pages/after-sale/create.vue
View file @
4eea2003
...
...
@@ -99,7 +99,7 @@
}
from
'@/utils/index.js'
import
{
uploadFile2
}
from
"@/api/index.js"
;
import
{
getDict
,
queryCustCode
,
fileBindByRecord
}
from
"@/api/index.js"
import
{
orderSave
}
from
"@/api/after-sale.js"
;
import
{
getParamsList
,
orderSave
}
from
"@/api/after-sale.js"
;
export
default
{
data
(){
...
...
@@ -144,7 +144,8 @@
},
methods
:{
onLoading
(){
queryCustCode
().
then
(
res
=>
{
getParamsList
().
then
(
res
=>
{
console
.
log
(
res
,
99999
)
if
(
res
.
data
.
__sys__
.
status
===
0
){
let
list
=
toJsonData
(
res
.
data
.
__blocks__
.
customer_record_block_id
.
rows
,
res
.
data
.
__blocks__
.
customer_record_block_id
.
meta
.
columns
).
map
(
item
=>
{
return
{
...
...
@@ -156,13 +157,13 @@
}
})
getDict
({
codeset
:
'app.
hp
fw.afterSaleType'
codeset
:
'app.fw.afterSaleType'
}).
then
(
res
=>
{
this
.
columns1
=
res
.
data
.
list
})
getDict
({
codeset
:
'app.
hp
fw.afterSaleUrgency'
codeset
:
'app.fw.afterSaleUrgency'
}).
then
(
res
=>
{
this
.
columns2
=
res
.
data
.
list
})
...
...
pages/after-sale/index.vue
View file @
4eea2003
...
...
@@ -259,16 +259,16 @@
methods
:{
onLoading
(){
getDict
({
codeset
:
'app.
hp
fw.afterSaleType'
codeset
:
'app.fw.afterSaleType'
}).
then
(
res
=>
{
this
.
columns1
=
res
.
data
.
list
.
map
(
item
=>
{
this
.
columns1
=
res
.
data
.
list
.
map
(
item
=>
{
this
.
columns1Enum
[
item
.
value
]
=
item
.
label
;
return
item
})
})
getDict
({
codeset
:
'app.
hp
fw.afterSaleUrgency'
codeset
:
'app.fw.afterSaleUrgency'
}).
then
(
res
=>
{
this
.
columns2
=
res
.
data
.
list
.
map
(
item
=>
{
this
.
columns2Enum
[
item
.
value
]
=
item
.
label
;
...
...
pages/after-sale/view.vue
View file @
4eea2003
...
...
@@ -131,7 +131,7 @@
title
:
'加载中...'
})
getDict
({
codeset
:
'app.
hp
fw.afterSaleType'
codeset
:
'app.fw.afterSaleType'
}).
then
(
res
=>
{
res
.
data
.
list
.
map
(
item
=>
{
this
.
columns1Enum
[
item
.
value
]
=
item
.
label
;
...
...
@@ -161,12 +161,10 @@
}).
then
(
res
=>
{
let
list
=
toJsonData
(
res
.
data
.
__blocks__
.
result
.
rows
,
res
.
data
.
__blocks__
.
result
.
meta
.
columns
)
if
(
list
&&
list
.
length
){
list
.
forEach
(
item
=>
{
if
([
'image'
,
'png'
,
'jpg'
,
'jpeg'
,
'webp'
].
includes
(
item
.
docType
)){
this
.
fileList
.
push
({
img
:
this
.
assetsPath
+
"/h
pjx
/file/download/"
+
item
.
docId
img
:
this
.
assetsPath
+
"/h
ggp
/file/download/"
+
item
.
docId
})
}
})
...
...
pages/car-insurance/create.vue
View file @
4eea2003
...
...
@@ -148,7 +148,7 @@
</view>
</view>
</view>
<u-calendar
:show=
"show2"
mode=
"single"
:defaultDate=
"defaultDate"
:minDate=
"minDate"
:monthNum=
'
4
'
<u-calendar
:show=
"show2"
mode=
"single"
:defaultDate=
"defaultDate"
:minDate=
"minDate"
:monthNum=
'
13
'
@
confirm=
"onConfirm"
@
close=
"onCancel"
></u-calendar>
</view>
</
template
>
...
...
pages/car-insurance/view.vue
View file @
4eea2003
...
...
@@ -214,7 +214,7 @@
let
docTypeArr
=
item
.
docName
.
split
(
'.'
);
if
([
'image'
,
'png'
,
'jpg'
,
'jpeg'
,
'webp'
].
includes
(
docTypeArr
[
docTypeArr
.
length
-
1
])){
this
.
fileList
.
push
({
img
:
this
.
assetsPath
+
"/h
pjx
/file/download/"
+
item
.
docId
img
:
this
.
assetsPath
+
"/h
ggp
/file/download/"
+
item
.
docId
})
}
})
...
...
pages/car-maintenance/create.vue
View file @
4eea2003
...
...
@@ -162,7 +162,7 @@
methods
:
{
onLoading
()
{
getDict
({
codeset
:
'h
pjx.hp
xt.maintenanceType'
codeset
:
'h
ggp.hg
xt.maintenanceType'
}).
then
(
res
=>
{
this
.
columns1
=
res
.
data
.
list
})
...
...
@@ -203,8 +203,9 @@
})
orderSave
(
this
.
formData
).
then
(
res
=>
{
if
(
res
.
data
.
__sys__
.
status
===
0
)
{
if
(
res
.
data
.
detail
&&
this
.
fileList
.
length
)
{
this
.
dataInfo
=
res
.
data
.
detail
;
let
list
=
toJsonData
(
res
.
data
.
__blocks__
.
result
.
rows
,
res
.
data
.
__blocks__
.
result
.
meta
.
columns
);
if
(
list
&&
list
.
length
&&
this
.
fileList
.
length
)
{
this
.
dataInfo
=
list
[
0
];
this
.
onFileBindByRecord
(
0
)
}
else
{
this
.
onSaveSuccess
()
...
...
pages/car-maintenance/index.vue
View file @
4eea2003
...
...
@@ -234,7 +234,7 @@
methods
:{
onLoading
(){
getDict
({
codeset
:
'h
pjx.hp
xt.maintenanceType'
codeset
:
'h
ggp.hg
xt.maintenanceType'
}).
then
(
res
=>
{
this
.
columns1
=
res
.
data
.
list
.
map
(
item
=>
{
this
.
columns1Enum
[
item
.
value
]
=
item
.
label
;
...
...
pages/car-maintenance/view.vue
View file @
4eea2003
...
...
@@ -134,7 +134,7 @@
title
:
'加载中...'
})
getDict
({
codeset
:
'h
pjx.hp
xt.maintenanceType'
codeset
:
'h
ggp.hg
xt.maintenanceType'
}).
then
(
res
=>
{
res
.
data
.
list
.
map
(
item
=>
{
this
.
columns1Enum
[
item
.
value
]
=
item
.
label
;
...
...
@@ -169,7 +169,7 @@
let
docTypeArr
=
item
.
docName
.
split
(
'.'
);
if
([
'image'
,
'png'
,
'jpg'
,
'jpeg'
,
'webp'
].
includes
(
docTypeArr
[
docTypeArr
.
length
-
1
])){
this
.
fileList
.
push
({
img
:
this
.
assetsPath
+
"/h
pjx
/file/download/"
+
item
.
docId
img
:
this
.
assetsPath
+
"/h
ggp
/file/download/"
+
item
.
docId
})
}
})
...
...
pages/car-subscribe/view.vue
View file @
4eea2003
...
...
@@ -192,7 +192,7 @@
let
docTypeArr
=
item
.
docName
.
split
(
'.'
);
if
([
'image'
,
'png'
,
'jpg'
,
'jpeg'
,
'webp'
].
includes
(
docTypeArr
[
docTypeArr
.
length
-
1
])){
this
.
fileList
.
push
({
img
:
this
.
assetsPath
+
"/h
pjx
/file/download/"
+
item
.
docId
img
:
this
.
assetsPath
+
"/h
ggp
/file/download/"
+
item
.
docId
})
}
})
...
...
pages/care/create.vue
View file @
4eea2003
...
...
@@ -100,7 +100,7 @@
}
from
'@/utils/index.js'
import
{
uploadFile2
}
from
"@/api/index.js"
;
import
{
getDict
,
queryCustCode
,
fileBindByRecord
}
from
"@/api/index.js"
import
{
orderSave
}
from
"@/api/care.js"
;
import
{
orderSave
,
getParamsList
}
from
"@/api/care.js"
;
export
default
{
data
(){
...
...
@@ -142,8 +142,7 @@
},
methods
:{
onLoading
(){
queryCustCode
().
then
(
res
=>
{
getParamsList
().
then
(
res
=>
{
if
(
res
.
data
.
__sys__
.
status
===
0
){
let
list
=
toJsonData
(
res
.
data
.
__blocks__
.
customer_record_block_id
.
rows
,
res
.
data
.
__blocks__
.
customer_record_block_id
.
meta
.
columns
).
map
(
item
=>
{
return
{
...
...
@@ -155,13 +154,13 @@
}
})
getDict
({
codeset
:
'app.
hp
fw.careWay'
codeset
:
'app.fw.careWay'
}).
then
(
res
=>
{
this
.
columns1
=
res
.
data
.
list
})
getDict
({
codeset
:
'app.
hp
fw.careType'
codeset
:
'app.fw.careType'
}).
then
(
res
=>
{
this
.
columns2
=
res
.
data
.
list
})
...
...
pages/care/index.vue
View file @
4eea2003
...
...
@@ -264,7 +264,7 @@
methods
:{
onLoading
(){
getDict
({
codeset
:
'app.
hp
fw.careWay'
codeset
:
'app.fw.careWay'
}).
then
(
res
=>
{
this
.
columns1
=
res
.
data
.
list
.
map
(
item
=>
{
this
.
columns1Enum
[
item
.
value
]
=
item
.
label
;
...
...
@@ -273,7 +273,7 @@
})
getDict
({
codeset
:
'app.
hp
fw.careType'
codeset
:
'app.fw.careType'
}).
then
(
res
=>
{
this
.
columns2
=
res
.
data
.
list
.
map
(
item
=>
{
this
.
columns2Enum
[
item
.
value
]
=
item
.
label
;
...
...
pages/care/view.vue
View file @
4eea2003
...
...
@@ -139,7 +139,7 @@
title
:
'加载中...'
})
getDict
({
codeset
:
'app.
hp
fw.careWay'
codeset
:
'app.fw.careWay'
}).
then
(
res
=>
{
res
.
data
.
list
.
map
(
item
=>
{
this
.
columns1Enum
[
item
.
value
]
=
item
.
label
;
...
...
@@ -148,7 +148,7 @@
})
getDict
({
codeset
:
'app.
hp
fw.careType'
codeset
:
'app.fw.careType'
}).
then
(
res
=>
{
res
.
data
.
list
.
map
(
item
=>
{
this
.
columns2Enum
[
item
.
value
]
=
item
.
label
;
...
...
@@ -181,7 +181,7 @@
list
.
forEach
(
item
=>
{
if
([
'image'
,
'png'
,
'jpg'
,
'jpeg'
,
'webp'
].
includes
(
item
.
docType
)){
this
.
fileList
.
push
({
img
:
this
.
assetsPath
+
"/h
pjx
/file/download/"
+
item
.
docId
img
:
this
.
assetsPath
+
"/h
ggp
/file/download/"
+
item
.
docId
})
}
})
...
...
pages/complaint/create.vue
View file @
4eea2003
...
...
@@ -143,7 +143,7 @@
}
from
'@/utils/index.js'
import
{
uploadFile2
}
from
"@/api/index.js"
;
import
{
getDict
,
queryComboBox
,
queryCustCode
,
fileBindByRecord
}
from
"@/api/index.js"
import
{
orderSave
}
from
"@/api/complaint.js"
;
import
{
orderSave
,
getParamsList
}
from
"@/api/complaint.js"
;
export
default
{
data
(){
...
...
@@ -199,37 +199,46 @@
methods
:{
onLoading
(){
queryCustCode
().
then
(
res
=>
{
if
(
res
.
data
.
__sys__
.
status
===
0
){
let
list
=
toJsonData
(
res
.
data
.
__blocks__
.
customer_record_block_id
.
rows
,
res
.
data
.
__blocks__
.
customer_record_block_id
.
meta
.
columns
).
map
(
item
=>
{
return
{
value
:
item
.
valueField
,
label
:
item
.
textField
}
})
this
.
pickerList1
.
push
(...
list
);
}
})
//
queryCustCode().then(res => {
//
if(res.data.__sys__.status === 0){
//
let list = toJsonData(res.data.__blocks__.customer_record_block_id.rows, res.data.__blocks__.customer_record_block_id.meta.columns).map(item =>{
//
return {
//
value: item.valueField,
//
label: item.textField
//
}
//
})
//
this.pickerList1.push(...list);
//
}
//
})
getDict
({
codeset
:
'app.
hp
fw.complaintWay'
codeset
:
'app.fw.complaintWay'
}).
then
(
res
=>
{
this
.
columns1
=
res
.
data
.
list
})
getDict
({
codeset
:
'app.
hp
fw.complaintType'
codeset
:
'app.fw.complaintType'
}).
then
(
res
=>
{
this
.
columns2
=
res
.
data
.
list
})
queryComboBox
().
then
(
res
=>
{
getParamsList
().
then
(
res
=>
{
if
(
res
.
data
.
__sys__
.
status
===
0
){
let
list
=
toJsonData
(
res
.
data
.
__blocks__
.
user_block_id
.
rows
,
res
.
data
.
__blocks__
.
user_block_id
.
meta
.
columns
).
map
(
item
=>
{
let
list
=
toJsonData
(
res
.
data
.
__blocks__
.
customer_record_block_id
.
rows
,
res
.
data
.
__blocks__
.
customer_record_block_id
.
meta
.
columns
).
map
(
item
=>
{
return
{
value
:
item
.
valueField
,
label
:
item
.
textField
}
})
this
.
pickerList1
.
push
(...
list
);
let
list2
=
toJsonData
(
res
.
data
.
__blocks__
.
user_block_id
.
rows
,
res
.
data
.
__blocks__
.
user_block_id
.
meta
.
columns
).
map
(
item
=>
{
return
{
value
:
item
.
valueField
,
label
:
item
.
textField
}
})
this
.
pickerList2
.
push
(...
list
);
this
.
pickerList2
.
push
(...
list
2
);
}
})
},
...
...
pages/complaint/index.vue
View file @
4eea2003
...
...
@@ -289,7 +289,7 @@
methods
:{
onLoading
(){
getDict
({
codeset
:
'app.
hp
fw.complaintWay'
codeset
:
'app.fw.complaintWay'
}).
then
(
res
=>
{
this
.
columns1
=
res
.
data
.
list
.
map
(
item
=>
{
this
.
columns1Enum
[
item
.
value
]
=
item
.
label
;
...
...
@@ -298,7 +298,7 @@
})
getDict
({
codeset
:
'app.
hp
fw.complaintType'
codeset
:
'app.fw.complaintType'
}).
then
(
res
=>
{
this
.
columns2
=
res
.
data
.
list
.
map
(
item
=>
{
this
.
columns2Enum
[
item
.
value
]
=
item
.
label
;
...
...
pages/complaint/view.vue
View file @
4eea2003
...
...
@@ -157,7 +157,7 @@
title
:
'加载中...'
})
getDict
({
codeset
:
'app.
hp
fw.complaintWay'
codeset
:
'app.fw.complaintWay'
}).
then
(
res
=>
{
res
.
data
.
list
.
map
(
item
=>
{
this
.
columns1Enum
[
item
.
value
]
=
item
.
label
;
...
...
@@ -166,7 +166,7 @@
})
getDict
({
codeset
:
'app.
hp
fw.complaintType'
codeset
:
'app.fw.complaintType'
}).
then
(
res
=>
{
res
.
data
.
list
.
map
(
item
=>
{
this
.
columns2Enum
[
item
.
value
]
=
item
.
label
;
...
...
@@ -201,7 +201,7 @@
list
.
forEach
(
item
=>
{
if
([
'image'
,
'png'
,
'jpg'
,
'jpeg'
,
'webp'
].
includes
(
item
.
docType
)){
this
.
fileList
.
push
({
img
:
this
.
assetsPath
+
"/h
pjx
/file/download/"
+
item
.
docId
img
:
this
.
assetsPath
+
"/h
ggp
/file/download/"
+
item
.
docId
})
}
})
...
...
pages/market-promotion/view.vue
View file @
4eea2003
...
...
@@ -145,7 +145,7 @@
}
from
"@/api/market-promotion.js"
;
import
{
getDict
,
getImgInfoList
getImgInfoList
SB
}
from
"@/api/index.js"
import
{
toJsonData
...
...
@@ -209,9 +209,9 @@
})
if
(
list
&&
list
.
length
&&
list
.
length
===
1
)
{
this
.
dataInfo
=
list
[
0
];
getImgInfoList
({
getImgInfoList
SB
({
matId
:
this
.
dataInfo
.
id
,
bizType
:
"
HP
YX010"
bizType
:
"YX010"
}).
then
(
res
=>
{
let
list
=
toJsonData
(
res
.
data
.
__blocks__
.
result
.
rows
,
res
.
data
.
__blocks__
.
result
.
meta
.
columns
)
...
...
@@ -221,7 +221,7 @@
if
([
'image'
,
'png'
,
'jpg'
,
'jpeg'
,
'webp'
].
includes
(
docTypeArr
[
docTypeArr
.
length
-
1
]))
{
this
.
fileList
.
push
({
img
:
this
.
assetsPath
+
"/h
pjx
/file/download/"
+
img
:
this
.
assetsPath
+
"/h
ggp
/file/download/"
+
item
.
docId
})
}
...
...
pages/marketing-resources/view.vue
View file @
4eea2003
...
...
@@ -257,7 +257,7 @@
<
script
>
import
config
from
"@/config/index.config"
;
import
moment
from
"@/common/moment.js"
;
import
{
getDict
,
getImgInfoList
}
from
"@/api/index.js"
import
{
getDict
,
getImgInfoList
SB
}
from
"@/api/index.js"
import
{
toJsonData
}
from
"@/utils/tools.js"
;
import
{
getInitLoadData
,
getList1
,
getList2
,
getList3
,
getList4
}
from
"@/api/marketing-resources.js"
;
export
default
{
...
...
@@ -375,7 +375,7 @@
})
if
(
list
&&
list
.
length
&&
list
.
length
===
1
){
this
.
dataInfo
=
list
[
0
];
getImgInfoList
({
getImgInfoList
SB
({
matId
:
this
.
dataInfo
.
id
,
bizType
:
this
.
tabList
[
this
.
tabId
].
bizType
,
}).
then
(
res
=>
{
...
...
@@ -385,7 +385,7 @@
let
docTypeArr
=
item
.
docName
.
split
(
'.'
);
if
([
'image'
,
'png'
,
'jpg'
,
'jpeg'
,
'webp'
].
includes
(
docTypeArr
[
docTypeArr
.
length
-
1
])){
this
.
fileList
.
push
({
img
:
this
.
assetsPath
+
"/h
pjx
/file/download/"
+
item
.
docId
img
:
this
.
assetsPath
+
"/h
ggp
/file/download/"
+
item
.
docId
})
}
})
...
...
pages/meeting-room-manager/create.vue
View file @
4eea2003
...
...
@@ -196,13 +196,13 @@
methods
:
{
onLoading
()
{
getDict
({
codeset
:
'h
pjx.hp
xt.meetingNature'
codeset
:
'h
ggp.hg
xt.meetingNature'
}).
then
(
res
=>
{
this
.
columns1
=
res
.
data
.
list
})
getDict
({
codeset
:
'h
pjx.hp
xt.importanceLevel'
codeset
:
'h
ggp.hg
xt.importanceLevel'
}).
then
(
res
=>
{
this
.
columns2
=
res
.
data
.
list
})
...
...
pages/meeting-room-manager/index.vue
View file @
4eea2003
...
...
@@ -272,7 +272,7 @@
methods
:{
onLoading
(){
getDict
({
codeset
:
'h
pjx.hp
xt.meetingNature'
codeset
:
'h
ggp.hg
xt.meetingNature'
}).
then
(
res
=>
{
this
.
columns1
=
res
.
data
.
list
.
map
(
item
=>
{
this
.
columns1Enum
[
item
.
value
]
=
item
.
label
;
...
...
@@ -281,7 +281,7 @@
})
getDict
({
codeset
:
'h
pjx.hp
xt.importanceLevel'
codeset
:
'h
ggp.hg
xt.importanceLevel'
}).
then
(
res
=>
{
this
.
columns2
=
res
.
data
.
list
.
map
(
item
=>
{
this
.
columns2Enum
[
item
.
value
]
=
item
.
label
;
...
...
pages/meeting-room-manager/view.vue
View file @
4eea2003
...
...
@@ -188,7 +188,7 @@
})
getDict
({
codeset
:
'h
pjx.hp
xt.meetingNature'
codeset
:
'h
ggp.hg
xt.meetingNature'
}).
then
(
res
=>
{
res
.
data
.
list
.
map
(
item
=>
{
this
.
columns1Enum
[
item
.
value
]
=
item
.
label
;
...
...
@@ -197,7 +197,7 @@
})
getDict
({
codeset
:
'h
pjx.hp
xt.importanceLevel'
codeset
:
'h
ggp.hg
xt.importanceLevel'
}).
then
(
res
=>
{
res
.
data
.
list
.
map
(
item
=>
{
this
.
columns2Enum
[
item
.
value
]
=
item
.
label
;
...
...
@@ -246,7 +246,7 @@
let
docTypeArr
=
item
.
docName
.
split
(
'.'
);
if
([
'image'
,
'png'
,
'jpg'
,
'jpeg'
,
'webp'
].
includes
(
docTypeArr
[
docTypeArr
.
length
-
1
])){
this
.
fileList
.
push
({
img
:
this
.
assetsPath
+
"/h
pjx
/file/download/"
+
item
.
docId
img
:
this
.
assetsPath
+
"/h
ggp
/file/download/"
+
item
.
docId
})
}
})
...
...
pages/notice-manager/create.vue
View file @
4eea2003
...
...
@@ -155,7 +155,7 @@
methods
:
{
onLoading
()
{
getDict
({
codeset
:
'app.
hp
fw.noticeType'
codeset
:
'app.fw.noticeType'
}).
then
(
res
=>
{
this
.
columns1
=
res
.
data
.
list
;
})
...
...
pages/notice-manager/index.vue
View file @
4eea2003
...
...
@@ -237,7 +237,7 @@
methods
:{
onLoading
(){
getDict
({
codeset
:
'app.
hp
fw.noticeType'
codeset
:
'app.fw.noticeType'
}).
then
(
res
=>
{
this
.
columns1
=
res
.
data
.
list
.
map
(
item
=>
{
this
.
columns1Enum
[
item
.
value
]
=
item
.
label
;
...
...
pages/notice-manager/view.vue
View file @
4eea2003
...
...
@@ -136,7 +136,7 @@
title
:
'加载中...'
})
getDict
({
codeset
:
'app.
hp
fw.noticeType'
codeset
:
'app.fw.noticeType'
}).
then
(
res
=>
{
res
.
data
.
list
.
forEach
(
item
=>
{
this
.
columns1Enum
[
item
.
value
]
=
item
.
label
;
...
...
@@ -170,7 +170,7 @@
let
docTypeArr
=
item
.
docName
.
split
(
'.'
);
if
([
'image'
,
'png'
,
'jpg'
,
'jpeg'
,
'webp'
].
includes
(
docTypeArr
[
docTypeArr
.
length
-
1
])){
this
.
fileList
.
push
({
img
:
this
.
assetsPath
+
"/h
pjx
/file/download/"
+
item
.
docId
img
:
this
.
assetsPath
+
"/h
ggp
/file/download/"
+
item
.
docId
})
}
})
...
...
pages/office-supplies-stocktaking/create.vue
View file @
4eea2003
...
...
@@ -233,7 +233,7 @@
methods
:
{
onLoading
()
{
getDict
({
codeset
:
'h
pjx.hp
bg.itemType'
codeset
:
'h
ggp.hg
bg.itemType'
}).
then
(
res
=>
{
res
.
data
.
list
.
forEach
(
item
=>
{
this
.
columns2Enum
[
item
.
value
]
=
item
.
label
;
...
...
pages/office-supplies-stocktaking/index.vue
View file @
4eea2003
...
...
@@ -301,7 +301,7 @@
methods
:{
onLoading
(){
getDict
({
codeset
:
'h
pjx.hp
bg.itemType'
codeset
:
'h
ggp.hg
bg.itemType'
}).
then
(
res
=>
{
this
.
columns1
=
res
.
data
.
list
.
map
(
item
=>
{
this
.
columns1Enum
[
item
.
value
]
=
item
.
label
;
...
...
pages/office-supplies-stocktaking/view.vue
View file @
4eea2003
...
...
@@ -140,7 +140,7 @@
<
script
>
import
config
from
"@/config/index.config"
;
import
{
getDict
,
getImgInfoList
}
from
"@/api/index.js"
;
import
{
getDict
,
getImgInfoList
SB
}
from
"@/api/index.js"
;
import
moment
from
"@/common/moment.js"
;
import
{
getList
,
getParamsList
}
from
"@/api/office-supplies-stocktaking.js"
;
import
{
toJsonData
}
from
"@/utils/tools.js"
;
...
...
@@ -186,7 +186,7 @@
title
:
'加载中...'
})
getDict
({
codeset
:
'h
pjx.hp
bg.itemType'
codeset
:
'h
ggp.hg
bg.itemType'
}).
then
(
res
=>
{
res
.
data
.
list
.
map
(
item
=>
{
this
.
columns1Enum
[
item
.
value
]
=
item
.
label
;
...
...
@@ -217,7 +217,7 @@
})
if
(
list
&&
list
.
length
&&
list
.
length
===
1
){
this
.
dataInfo
=
list
[
0
];
getImgInfoList
({
getImgInfoList
SB
({
matId
:
this
.
dataInfo
.
id
,
bizType
:
"BG004"
}).
then
(
res
=>
{
...
...
@@ -227,7 +227,7 @@
let
docTypeArr
=
item
.
docName
.
split
(
'.'
);
if
([
'image'
,
'png'
,
'jpg'
,
'jpeg'
,
'webp'
].
includes
(
docTypeArr
[
docTypeArr
.
length
-
1
])){
this
.
fileList
.
push
({
img
:
this
.
assetsPath
+
"/h
pjx
/file/download/"
+
item
.
docId
img
:
this
.
assetsPath
+
"/h
ggp
/file/download/"
+
item
.
docId
})
}
})
...
...
pages/office-supplies-use/create.vue
View file @
4eea2003
...
...
@@ -214,7 +214,7 @@
methods
:
{
onLoading
()
{
getDict
({
codeset
:
'h
pjx.hp
bg.itemType'
codeset
:
'h
ggp.hg
bg.itemType'
}).
then
(
res
=>
{
this
.
columns2
=
res
.
data
.
list
.
map
(
item
=>
{
this
.
columns2Enum
[
item
.
value
]
=
item
.
label
;
...
...
pages/office-supplies-use/view.vue
View file @
4eea2003
...
...
@@ -126,7 +126,7 @@
<
script
>
import
config
from
"@/config/index.config"
;
import
{
getDict
,
getImgInfoList
}
from
"@/api/index.js"
;
import
{
getDict
,
getImgInfoList
SB
}
from
"@/api/index.js"
;
import
moment
from
"@/common/moment.js"
;
import
{
getList
,
getParamsList
,
getSubList
}
from
"@/api/office-supplies-use.js"
;
import
{
toJsonData
}
from
"@/utils/tools.js"
;
...
...
@@ -172,7 +172,7 @@
title
:
'加载中...'
})
getDict
({
codeset
:
'h
pjx.hp
bg.itemType'
codeset
:
'h
ggp.hg
bg.itemType'
}).
then
(
res
=>
{
res
.
data
.
list
.
map
(
item
=>
{
this
.
columns1Enum
[
item
.
value
]
=
item
.
label
;
...
...
@@ -204,7 +204,7 @@
if
(
list
&&
list
.
length
&&
list
.
length
===
1
){
this
.
dataInfo
=
list
[
0
];
this
.
onGetSubList
();
getImgInfoList
({
getImgInfoList
SB
({
matId
:
this
.
dataInfo
.
id
,
bizType
:
"BG003"
}).
then
(
res
=>
{
...
...
@@ -214,7 +214,7 @@
let
docTypeArr
=
item
.
docName
.
split
(
'.'
);
if
([
'image'
,
'png'
,
'jpg'
,
'jpeg'
,
'webp'
].
includes
(
docTypeArr
[
docTypeArr
.
length
-
1
])){
this
.
fileList
.
push
({
img
:
this
.
assetsPath
+
"/h
pjx
/file/download/"
+
item
.
docId
img
:
this
.
assetsPath
+
"/h
ggp
/file/download/"
+
item
.
docId
})
}
})
...
...
pages/office-supplies-warehousing/create.vue
View file @
4eea2003
...
...
@@ -214,7 +214,7 @@
methods
:
{
onLoading
()
{
getDict
({
codeset
:
'h
pjx.hp
bg.itemType'
codeset
:
'h
ggp.hg
bg.itemType'
}).
then
(
res
=>
{
this
.
columns2
=
res
.
data
.
list
.
map
(
item
=>
{
this
.
columns2Enum
[
item
.
value
]
=
item
.
label
;
...
...
pages/office-supplies-warehousing/index.vue
View file @
4eea2003
...
...
@@ -210,7 +210,7 @@
methods
:{
onLoading
(){
getDict
({
codeset
:
'h
pjx.hp
bg.itemType'
codeset
:
'h
ggp.hg
bg.itemType'
}).
then
(
res
=>
{
this
.
columns1
=
res
.
data
.
list
.
map
(
item
=>
{
this
.
columns1Enum
[
item
.
value
]
=
item
.
label
;
...
...
pages/office-supplies-warehousing/view.vue
View file @
4eea2003
...
...
@@ -116,7 +116,7 @@
<
script
>
import
config
from
"@/config/index.config"
;
import
{
getDict
,
getImgInfoList
}
from
"@/api/index.js"
;
import
{
getDict
,
getImgInfoList
SB
}
from
"@/api/index.js"
;
import
moment
from
"@/common/moment.js"
;
import
{
getList
,
getParamsList
,
getSubList
}
from
"@/api/office-supplies-warehousing.js"
;
import
{
toJsonData
}
from
"@/utils/tools.js"
;
...
...
@@ -162,7 +162,7 @@
title
:
'加载中...'
})
getDict
({
codeset
:
'h
pjx.hp
bg.itemType'
codeset
:
'h
ggp.hg
bg.itemType'
}).
then
(
res
=>
{
res
.
data
.
list
.
map
(
item
=>
{
this
.
columns1Enum
[
item
.
value
]
=
item
.
label
;
...
...
@@ -193,7 +193,7 @@
if
(
list
&&
list
.
length
&&
list
.
length
===
1
){
this
.
dataInfo
=
list
[
0
];
this
.
onGetSubList
();
getImgInfoList
({
getImgInfoList
SB
({
matId
:
this
.
dataInfo
.
id
,
bizType
:
"BG002"
}).
then
(
res
=>
{
...
...
@@ -203,7 +203,7 @@
let
docTypeArr
=
item
.
docName
.
split
(
'.'
);
if
([
'image'
,
'png'
,
'jpg'
,
'jpeg'
,
'webp'
].
includes
(
docTypeArr
[
docTypeArr
.
length
-
1
])){
this
.
fileList
.
push
({
img
:
this
.
assetsPath
+
"/h
pjx
/file/download/"
+
item
.
docId
img
:
this
.
assetsPath
+
"/h
ggp
/file/download/"
+
item
.
docId
})
}
})
...
...
pages/office-supplies/create.vue
View file @
4eea2003
...
...
@@ -165,7 +165,7 @@
methods
:
{
onLoading
()
{
getDict
({
codeset
:
'h
pjx.hp
bg.itemType'
codeset
:
'h
ggp.hg
bg.itemType'
}).
then
(
res
=>
{
this
.
columns1
=
res
.
data
.
list
})
...
...
@@ -257,7 +257,9 @@
bizType
:
'BG001'
,
docId
:
this
.
fileList
[
i
].
id
,
docName
:
this
.
fileList
[
i
].
name
,
docSize
:
this
.
fileList
[
i
].
size
docSize
:
this
.
fileList
[
i
].
size
,
realPath
:
' '
,
docTag
:
' '
};
fileBindByRecord2
(
fileData
).
then
(
res
=>
{
let
k
=
i
+
1
;
...
...
pages/office-supplies/index.vue
View file @
4eea2003
...
...
@@ -235,7 +235,7 @@
methods
:{
onLoading
(){
getDict
({
codeset
:
'h
pjx.hp
bg.itemType'
codeset
:
'h
ggp.hg
bg.itemType'
}).
then
(
res
=>
{
this
.
columns1
=
res
.
data
.
list
.
map
(
item
=>
{
this
.
columns1Enum
[
item
.
value
]
=
item
.
label
;
...
...
pages/office-supplies/view.vue
View file @
4eea2003
...
...
@@ -98,7 +98,7 @@
<
script
>
import
config
from
"@/config/index.config"
;
import
{
getDict
,
getImgInfoList
}
from
"@/api/index.js"
;
import
{
getDict
,
getImgInfoList
SB
}
from
"@/api/index.js"
;
import
moment
from
"@/common/moment.js"
;
import
{
getList
}
from
"@/api/office-supplies.js"
;
import
{
toJsonData
}
from
"@/utils/tools.js"
;
...
...
@@ -141,7 +141,7 @@
title
:
'加载中...'
})
getDict
({
codeset
:
'h
pjx.hp
bg.itemType'
codeset
:
'h
ggp.hg
bg.itemType'
}).
then
(
res
=>
{
res
.
data
.
list
.
map
(
item
=>
{
this
.
columns1Enum
[
item
.
value
]
=
item
.
label
;
...
...
@@ -164,7 +164,7 @@
})
if
(
list
&&
list
.
length
&&
list
.
length
===
1
){
this
.
dataInfo
=
list
[
0
];
getImgInfoList
({
getImgInfoList
SB
({
matId
:
this
.
dataInfo
.
id
,
bizType
:
"BG001"
}).
then
(
res
=>
{
...
...
@@ -174,7 +174,7 @@
let
docTypeArr
=
item
.
docName
.
split
(
'.'
);
if
([
'image'
,
'png'
,
'jpg'
,
'jpeg'
,
'webp'
].
includes
(
docTypeArr
[
docTypeArr
.
length
-
1
])){
this
.
fileList
.
push
({
img
:
this
.
assetsPath
+
"/h
pjx
/file/download/"
+
item
.
docId
img
:
this
.
assetsPath
+
"/h
ggp
/file/download/"
+
item
.
docId
})
}
})
...
...
pages/price-inquiry/create.vue
View file @
4eea2003
...
...
@@ -348,14 +348,14 @@
methods
:
{
onLoading
()
{
getDict
({
codeset
:
'h
pjx.hp
cg.inquiryType'
codeset
:
'h
ggp.hg
cg.inquiryType'
}).
then
(
res
=>
{
this
.
columns1
=
res
.
data
.
list
})
getDict
({
codeset
:
'h
pjx.hp
cw.taxPoints'
codeset
:
'h
ggp.
cw.taxPoints'
}).
then
(
res
=>
{
this
.
columns2
=
res
.
data
.
list
.
map
(
item
=>
{
this
.
columns2Enum
[
item
.
value
]
=
item
.
label
;
...
...
@@ -364,7 +364,7 @@
})
getDict
({
codeset
:
'h
pjx.hp
cw.billTybe'
codeset
:
'h
ggp.
cw.billTybe'
}).
then
(
res
=>
{
this
.
columns3
=
res
.
data
.
list
.
map
(
item
=>
{
this
.
columns3Enum
[
item
.
value
]
=
item
.
label
;
...
...
@@ -466,7 +466,7 @@
},
onSubOrderSave
(){
subOrderSave
({
tHpjg004
Id
:
this
.
dataInfo
.
id
hgcg005
Id
:
this
.
dataInfo
.
id
},
this
.
detailList
).
then
(
res
=>
{
console
.
log
(
res
)
if
(
res
.
data
.
__sys__
.
status
===
0
){
...
...
@@ -503,7 +503,7 @@
}
else
{
let
fileData
=
{
matId
:
this
.
dataInfo
.
id
,
bizType
:
'H
PCG004
'
,
bizType
:
'H
GCG005
'
,
docId
:
this
.
fileList
[
i
].
id
,
docName
:
this
.
fileList
[
i
].
name
,
docSize
:
this
.
fileList
[
i
].
size
...
...
pages/price-inquiry/index.vue
View file @
4eea2003
...
...
@@ -248,7 +248,7 @@
methods
:
{
onLoading
()
{
getDict
({
codeset
:
'h
pjx.hp
cg.inquiryType'
codeset
:
'h
ggp.hg
cg.inquiryType'
}).
then
(
res
=>
{
this
.
columns3
=
res
.
data
.
list
.
map
(
item
=>
{
this
.
columns3Enum
[
item
.
value
]
=
item
.
label
;
...
...
pages/price-inquiry/view.vue
View file @
4eea2003
...
...
@@ -288,7 +288,7 @@
title
:
'加载中...'
})
getDict
({
codeset
:
'h
pjx.hp
cg.inquiryType'
codeset
:
'h
ggp.hg
cg.inquiryType'
}).
then
(
res
=>
{
res
.
data
.
list
.
map
(
item
=>
{
this
.
columns1Enum
[
item
.
value
]
=
item
.
label
;
...
...
@@ -296,7 +296,7 @@
})
})
getDict
({
codeset
:
'h
pjx.hp
cw.billTybe'
codeset
:
'h
ggp.hg
cw.billTybe'
}).
then
(
res
=>
{
res
.
data
.
list
.
map
(
item
=>
{
this
.
columns3Enum
[
item
.
value
]
=
item
.
label
;
...
...
@@ -334,7 +334,7 @@
this
.
onGetSubList
();
fileQueryByRecord
({
matId
:
this
.
dataInfo
.
id
,
bizType
:
"HPCG004"
bizType
:
'HGCG005'
}).
then
(
res
=>
{
let
list
=
toJsonData
(
res
.
data
.
__blocks__
.
result
.
rows
,
res
.
data
.
__blocks__
.
result
.
meta
.
columns
)
if
(
list
&&
list
.
length
){
...
...
@@ -342,7 +342,7 @@
let
docTypeArr
=
item
.
docName
.
split
(
'.'
);
if
([
'image'
,
'png'
,
'jpg'
,
'jpeg'
,
'webp'
].
includes
(
docTypeArr
[
docTypeArr
.
length
-
1
])){
this
.
fileList
.
push
({
img
:
this
.
assetsPath
+
"/h
pjx
/file/download/"
+
item
.
docId
img
:
this
.
assetsPath
+
"/h
ggp
/file/download/"
+
item
.
docId
})
}
})
...
...
@@ -353,7 +353,7 @@
},
onGetSubList
(){
getSubList
({
tHpjg004
Id
:
this
.
dataInfo
.
id
hgcg005
Id
:
this
.
dataInfo
.
id
}).
then
(
res
=>
{
this
.
detailList
=
toJsonData
(
res
.
data
.
__blocks__
.
result
.
rows
,
res
.
data
.
__blocks__
.
result
.
meta
.
columns
).
map
(
item
=>
{
return
{
...
...
pages/sales-performance/create.vue
View file @
4eea2003
...
...
@@ -222,7 +222,7 @@
getDict
}
from
"@/api/index.js"
;
import
{
orderSave
,
get
SubParams
orderSave
,
get
ParamsList
}
from
"@/api/sales-performance.js"
;
export
default
{
...
...
@@ -274,7 +274,7 @@
},
methods
:
{
onLoading
()
{
get
SubParams
().
then
(
res
=>
{
get
ParamsList
().
then
(
res
=>
{
let
list
=
toJsonData
(
res
.
data
.
__blocks__
.
user_block_id
.
rows
,
res
.
data
.
__blocks__
.
user_block_id
.
meta
.
columns
).
map
(
item
=>
{
return
{
label
:
item
.
textField
,
...
...
pages/sales-performance/view.vue
View file @
4eea2003
...
...
@@ -169,7 +169,7 @@
<
script
>
import
config
from
"@/config/index.config"
;
import
{
getDict
,
getImgInfoList
}
from
"@/api/index.js"
;
import
{
getDict
,
getImgInfoList
SB
}
from
"@/api/index.js"
;
import
moment
from
"@/common/moment.js"
;
import
{
getList
,
getParamsList
,
getSubList
}
from
"@/api/sales-performance.js"
;
import
{
toJsonData
}
from
"@/utils/tools.js"
;
...
...
@@ -239,7 +239,7 @@
if
(
list
&&
list
.
length
&&
list
.
length
===
1
){
this
.
dataInfo
=
list
[
0
];
this
.
onGetSubList
();
getImgInfoList
({
getImgInfoList
SB
({
matId
:
this
.
dataInfo
.
id
,
bizType
:
"YX005"
}).
then
(
res
=>
{
...
...
@@ -249,7 +249,7 @@
let
docTypeArr
=
item
.
docName
.
split
(
'.'
);
if
([
'image'
,
'png'
,
'jpg'
,
'jpeg'
,
'webp'
].
includes
(
docTypeArr
[
docTypeArr
.
length
-
1
])){
this
.
fileList
.
push
({
img
:
this
.
assetsPath
+
"/h
pjx
/file/download/"
+
item
.
docId
img
:
this
.
assetsPath
+
"/h
ggp
/file/download/"
+
item
.
docId
})
}
})
...
...
pages/suggest/create.vue
View file @
4eea2003
...
...
@@ -99,8 +99,8 @@
base64ToPath
}
from
'@/utils/index.js'
import
{
uploadFile2
}
from
"@/api/index.js"
;
import
{
getDict
,
queryCustCode
,
fileBindByRecord
}
from
"@/api/index.js"
import
{
orderSave
}
from
"@/api/suggest.js"
;
import
{
getDict
,
fileBindByRecord
}
from
"@/api/index.js"
import
{
orderSave
,
getParamsList
}
from
"@/api/suggest.js"
;
export
default
{
data
(){
...
...
@@ -143,7 +143,7 @@
methods
:{
onLoading
(){
queryCustCode
().
then
(
res
=>
{
getParamsList
().
then
(
res
=>
{
if
(
res
.
data
.
__sys__
.
status
===
0
){
let
list
=
toJsonData
(
res
.
data
.
__blocks__
.
customer_record_block_id
.
rows
,
res
.
data
.
__blocks__
.
customer_record_block_id
.
meta
.
columns
).
map
(
item
=>
{
return
{
...
...
@@ -155,13 +155,13 @@
}
})
getDict
({
codeset
:
'app.
hp
fw.suggestWay'
codeset
:
'app.fw.suggestWay'
}).
then
(
res
=>
{
this
.
columns1
=
res
.
data
.
list
})
getDict
({
codeset
:
'app.
hp
fw.suggestType'
codeset
:
'app.fw.suggestType'
}).
then
(
res
=>
{
this
.
columns2
=
res
.
data
.
list
})
...
...
pages/suggest/index.vue
View file @
4eea2003
...
...
@@ -264,7 +264,7 @@
methods
:{
onLoading
(){
getDict
({
codeset
:
'app.
hp
fw.suggestWay'
codeset
:
'app.fw.suggestWay'
}).
then
(
res
=>
{
this
.
columns1
=
res
.
data
.
list
.
map
(
item
=>
{
this
.
columns1Enum
[
item
.
value
]
=
item
.
label
;
...
...
@@ -273,7 +273,7 @@
})
getDict
({
codeset
:
'app.
hp
fw.suggestType'
codeset
:
'app.fw.suggestType'
}).
then
(
res
=>
{
this
.
columns2
=
res
.
data
.
list
.
map
(
item
=>
{
this
.
columns2Enum
[
item
.
value
]
=
item
.
label
;
...
...
pages/suggest/view.vue
View file @
4eea2003
...
...
@@ -139,7 +139,7 @@
title
:
'加载中...'
})
getDict
({
codeset
:
'app.
hp
fw.suggestWay'
codeset
:
'app.fw.suggestWay'
}).
then
(
res
=>
{
res
.
data
.
list
.
map
(
item
=>
{
this
.
columns1Enum
[
item
.
value
]
=
item
.
label
;
...
...
@@ -148,7 +148,7 @@
})
getDict
({
codeset
:
'app.
hp
fw.suggestType'
codeset
:
'app.fw.suggestType'
}).
then
(
res
=>
{
res
.
data
.
list
.
map
(
item
=>
{
this
.
columns2Enum
[
item
.
value
]
=
item
.
label
;
...
...
@@ -183,7 +183,7 @@
list
.
forEach
(
item
=>
{
if
([
'image'
,
'png'
,
'jpg'
,
'jpeg'
,
'webp'
].
includes
(
item
.
docType
)){
this
.
fileList
.
push
({
img
:
this
.
assetsPath
+
"/h
pjx
/file/download/"
+
item
.
docId
img
:
this
.
assetsPath
+
"/h
ggp
/file/download/"
+
item
.
docId
})
}
})
...
...
pages/visit-return/create.vue
View file @
4eea2003
...
...
@@ -145,8 +145,15 @@
},
methods
:{
onLoading
(){
queryCustCode
().
then
(
res
=>
{
getDict
({
codeset
:
'app.fw.folWay'
}).
then
(
res
=>
{
this
.
columns1
=
res
.
data
.
list
})
getOrderList
().
then
(
res
=>
{
if
(
res
.
data
.
__sys__
.
status
===
0
){
let
list
=
toJsonData
(
res
.
data
.
__blocks__
.
customer_record_block_id
.
rows
,
res
.
data
.
__blocks__
.
customer_record_block_id
.
meta
.
columns
).
map
(
item
=>
{
return
{
value
:
item
.
valueField
,
...
...
@@ -154,23 +161,14 @@
}
})
this
.
pickerList1
.
push
(...
list
);
}
})
getDict
({
codeset
:
'app.hpfw.folWay'
}).
then
(
res
=>
{
this
.
columns1
=
res
.
data
.
list
})
getOrderList
().
then
(
res
=>
{
if
(
res
.
data
.
__sys__
.
status
===
0
){
let
list
=
toJsonData
(
res
.
data
.
__blocks__
.
sale_no_block_id
.
rows
,
res
.
data
.
__blocks__
.
sale_no_block_id
.
meta
.
columns
).
map
(
item
=>
{
let
list2
=
toJsonData
(
res
.
data
.
__blocks__
.
sale_no_block_id
.
rows
,
res
.
data
.
__blocks__
.
sale_no_block_id
.
meta
.
columns
).
map
(
item
=>
{
return
{
value
:
item
.
valueField
,
label
:
item
.
textField
}
})
this
.
pickerList2
.
push
(...
list
);
this
.
pickerList2
.
push
(...
list
2
);
}
})
},
...
...
pages/visit-return/index.vue
View file @
4eea2003
...
...
@@ -250,7 +250,7 @@
methods
:{
onLoading
(){
getDict
({
codeset
:
'app.
hp
fw.folWay'
codeset
:
'app.fw.folWay'
}).
then
(
res
=>
{
this
.
columns1
=
res
.
data
.
list
.
map
(
item
=>
{
this
.
columns1Enum
[
item
.
value
]
=
item
.
label
;
...
...
pages/visit-return/view.vue
View file @
4eea2003
...
...
@@ -131,7 +131,7 @@
title
:
'加载中...'
})
getDict
({
codeset
:
'app.
hp
fw.folWay'
codeset
:
'app.fw.folWay'
}).
then
(
res
=>
{
res
.
data
.
list
.
map
(
item
=>
{
this
.
columns1Enum
[
item
.
value
]
=
item
.
label
;
...
...
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