Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
A
amos-convertor-view
Project
Project
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
station
amos-convertor-view
Commits
d72f0c72
Commit
d72f0c72
authored
Dec 15, 2020
by
吴俊凯
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
查看巡检项图片修改
parent
8b039539
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
5 additions
and
4 deletions
+5
-4
urlConsts.js
src/consts/urlConsts.js
+1
-1
checkService.js
src/services/checkService.js
+2
-2
index.js
src/view/bizview/checkManage/checkDetail/index.js
+2
-1
No files found.
src/consts/urlConsts.js
View file @
d72f0c72
...
@@ -121,7 +121,7 @@ export const FscSerUrl = {
...
@@ -121,7 +121,7 @@ export const FscSerUrl = {
fetchRegionSelectUrl
:
completePrefix
(
patrolURI
,
'safe/save/curCompany/{orgCode}'
),
// 注入选择的厂区信息 GET
fetchRegionSelectUrl
:
completePrefix
(
patrolURI
,
'safe/save/curCompany/{orgCode}'
),
// 注入选择的厂区信息 GET
userInfoByDeptIdUrl
:
completePrefix
(
patrolURI
,
'api/user/queryDeptUser?deptId={deptId}'
),
//查询部门下人员信息
userInfoByDeptIdUrl
:
completePrefix
(
patrolURI
,
'api/user/queryDeptUser?deptId={deptId}'
),
//查询部门下人员信息
routePlanPointPageUrl
:
completePrefix
(
patrolURI
,
'api/spc/routePlanPoint/list'
),
routePlanPointPageUrl
:
completePrefix
(
patrolURI
,
'api/spc/routePlanPoint/list'
),
searchCheckShortUrl
:
completePrefix
(
patrolURI
,
'api/check/getCheckPic?checkId={checkId}&checkInputId={checkInputId}'
),
//根据检查项ID和检查项输入ID查询图片
searchCheckShortUrl
:
completePrefix
(
patrolURI
,
'api/check/getCheckPic?checkId={checkId}&checkInputId={checkInputId}
&classifyId={classifyId}
'
),
//根据检查项ID和检查项输入ID查询图片
};
};
export
const
FasSerUrl
=
{
export
const
FasSerUrl
=
{
...
...
src/services/checkService.js
View file @
d72f0c72
...
@@ -29,6 +29,6 @@ export const queryRiskSoureWarningAction = (riskSourceId) => {
...
@@ -29,6 +29,6 @@ export const queryRiskSoureWarningAction = (riskSourceId) => {
return
commonGet
(
formatUrl
(
FasSerUrl
.
riskSoureWarningUrl
,
{
riskSourceId
}));
return
commonGet
(
formatUrl
(
FasSerUrl
.
riskSoureWarningUrl
,
{
riskSourceId
}));
};
};
export
const
fetchShortByCheckIdAndCheckInputId
=
(
checkId
,
checkInputId
)
=>
{
export
const
fetchShortByCheckIdAndCheckInputId
=
(
checkId
,
checkInputId
,
classifyId
)
=>
{
return
commonGet
(
formatUrl
(
FscSerUrl
.
searchCheckShortUrl
,
{
checkId
,
checkInputId
}));
return
commonGet
(
formatUrl
(
FscSerUrl
.
searchCheckShortUrl
,
{
checkId
,
checkInputId
,
classifyId
}));
};
};
src/view/bizview/checkManage/checkDetail/index.js
View file @
d72f0c72
...
@@ -321,7 +321,8 @@ class CheckDetail extends Component {
...
@@ -321,7 +321,8 @@ class CheckDetail extends Component {
let
{
checkID
}
=
this
.
props
.
location
.
state
;
let
{
checkID
}
=
this
.
props
.
location
.
state
;
const
{
checkDetail
}
=
this
.
state
;
const
{
checkDetail
}
=
this
.
state
;
let
inputItemPicShow
=
record
.
inputId
?
true
:
false
;
let
inputItemPicShow
=
record
.
inputId
?
true
:
false
;
inputItemPicShow
&&
fetchShortByCheckIdAndCheckInputId
(
checkID
,
record
.
inputId
?
record
.
inputId
:
0
).
then
(
data
=>
{
let
classifyId
=
record
.
classifyId
?
record
.
classifyId
:
0
;
inputItemPicShow
&&
fetchShortByCheckIdAndCheckInputId
(
checkID
,
record
.
inputId
?
record
.
inputId
:
0
,
classifyId
).
then
(
data
=>
{
let
photosUrl
=
new
Array
();
let
photosUrl
=
new
Array
();
if
(
data
&&
data
.
length
>
0
)
{
if
(
data
&&
data
.
length
>
0
)
{
photosUrl
=
data
;
photosUrl
=
data
;
...
...
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