Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
高东东-金蝶建发
/
jf-yzj-supplier
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
fcf8a01e
authored
Jul 31, 2025
by
钟乾明
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
u: id编码
parent
8bc84814
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
7 additions
and
6 deletions
src/App.vue
src/api/index.js
src/polyfill/request.js
src/vuex/modules/inspect.js
src/App.vue
View file @
fcf8a01e
...
@@ -323,8 +323,8 @@ export default {
...
@@ -323,8 +323,8 @@ export default {
this
.
updateCurrentPageType
(
type
)
this
.
updateCurrentPageType
(
type
)
this
.
updateFlowId
(
params
.
fdId
)
this
.
updateFlowId
(
params
.
fdId
)
this
.
updateTodoId
(
params
.
todoId
)
this
.
updateTodoId
(
params
.
todoId
)
this
.
updateBillId
(
params
.
billId
)
this
.
updateBillId
(
encodeURIComponent
(
params
.
billId
)
)
this
.
updateFid
(
params
.
billId
)
this
.
updateFid
(
encodeURIComponent
(
params
.
billId
)
)
this
.
fetchExtraDataSuccess
=
true
this
.
fetchExtraDataSuccess
=
true
}
}
}
else
{
}
else
{
...
...
src/api/index.js
View file @
fcf8a01e
...
@@ -4,8 +4,7 @@ import { MAS } from '@/plugins/mas'
...
@@ -4,8 +4,7 @@ import { MAS } from '@/plugins/mas'
const
masConfig
=
process
.
env
.
PACK_ENV
===
'prod'
const
masConfig
=
process
.
env
.
PACK_ENV
===
'prod'
?
{
?
{
// baseUrl: 'https://jffcvp.cndrealty.com:4433', // 正式环境
baseUrl
:
'https://jffcvp.cndrealty.com:4433'
,
// 正式环境
baseUrl
:
'https://mxytest.cndrealty.com:4433'
,
// 测试环境
tokenKey
:
'accessToken'
,
tokenKey
:
'accessToken'
,
code
:
'cndvp-api'
code
:
'cndvp-api'
}
}
...
...
src/polyfill/request.js
View file @
fcf8a01e
...
@@ -134,6 +134,7 @@ function request (opt) {
...
@@ -134,6 +134,7 @@ function request (opt) {
data
:
opt
.
data
||
{},
data
:
opt
.
data
||
{},
dataType
:
opt
.
dataType
,
dataType
:
opt
.
dataType
,
success
:
function
(
resp
)
{
success
:
function
(
resp
)
{
console
.
log
(
'qing 请求成功>>'
,
opt
.
url
,
resp
)
var
response
=
{
var
response
=
{
data
:
resp
.
data
,
data
:
resp
.
data
,
status
:
resp
.
statusCode
,
status
:
resp
.
statusCode
,
...
@@ -158,6 +159,7 @@ function request (opt) {
...
@@ -158,6 +159,7 @@ function request (opt) {
}
}
},
},
error
:
function
(
e
)
{
error
:
function
(
e
)
{
console
.
log
(
'qing 请求失败>>'
,
opt
.
url
,
e
)
var
error
=
new
Error
(
e
)
var
error
=
new
Error
(
e
)
error
.
config
=
opt
error
.
config
=
opt
reject
(
error
)
reject
(
error
)
...
...
src/vuex/modules/inspect.js
View file @
fcf8a01e
...
@@ -175,7 +175,7 @@ export default {
...
@@ -175,7 +175,7 @@ export default {
if
(
isGradeNode
)
{
if
(
isGradeNode
)
{
let
arr
=
[]
let
arr
=
[]
response
.
data
.
rows
.
forEach
(
v
=>
{
response
.
data
.
rows
.
forEach
(
v
=>
{
arr
.
push
(
getReviewFormInfo
({
billId
:
Coder
.
replace
(
v
.
id
)}))
arr
.
push
(
getReviewFormInfo
({
billId
:
encodeURIComponent
(
Coder
.
replace
(
v
.
id
)
)}))
})
})
Promise
.
all
(
arr
)
Promise
.
all
(
arr
)
.
then
(
resultArr
=>
{
.
then
(
resultArr
=>
{
...
@@ -194,7 +194,7 @@ export default {
...
@@ -194,7 +194,7 @@ export default {
}
else
{
}
else
{
let
arr
=
[]
let
arr
=
[]
response
.
data
.
rows
.
forEach
(
v
=>
{
response
.
data
.
rows
.
forEach
(
v
=>
{
arr
.
push
(
getReviewSummaryInfo
({
billId
:
Coder
.
replace
(
v
.
id
)}))
arr
.
push
(
getReviewSummaryInfo
({
billId
:
encodeURIComponent
(
Coder
.
replace
(
v
.
id
)
)}))
})
})
Promise
.
all
(
arr
)
Promise
.
all
(
arr
)
.
then
(
resultArr
=>
{
.
then
(
resultArr
=>
{
...
...
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