Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
H
hnyc-data
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
zhaochengxiang
hnyc-data
Commits
c7795c53
Commit
c7795c53
authored
Sep 16, 2020
by
fanyongjun
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
9.16
parent
3c0987e2
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
43 additions
and
41 deletions
+43
-41
AssetList.js
src/view/Manage/Assets/components/AssetList.js
+1
-1
AssetListHelper.js
src/view/Manage/Assets/components/AssetListHelper.js
+41
-39
ListBox.jsx
src/view/User/Apply/components/ListBox.jsx
+1
-1
No files found.
src/view/Manage/Assets/components/AssetList.js
View file @
c7795c53
...
...
@@ -200,7 +200,7 @@ class AssetListCOM extends Component {
<
span
dangerouslySetInnerHTML
=
{{
__html
:
item
.
remarks
}}
/
>
<
/Col
>
<
Col
md
=
{
6
}
>
{
item
.
expireDate
&&
<
Text
>
失效
时间:
<
/Text>
}
{
item
.
expireDate
&&
<
Text
>
数据验收确认
时间:
<
/Text>
}
{
item
.
expireDate
}
<
/Col
>
<
/Row
>
...
...
src/view/Manage/Assets/components/AssetListHelper.js
View file @
c7795c53
...
...
@@ -103,45 +103,47 @@ export class DataDetail extends Component {
const
{
tableModel
,
showApplyButton
,
isAppling
,
onApply
}
=
this
.
props
;
return
(
<
Descriptions
size
=
"small"
column
=
{
3
}
>
<
Descriptions
.
Item
label
=
"资产名称"
>
<
span
dangerouslySetInnerHTML
=
{{
__html
:
`
${
tableModel
.
name
}
`
}}
/
>
<
/Descriptions.Item
>
<
Descriptions
.
Item
label
=
"所属目录"
>
{
tableModel
.
catalog
}
<
/Descriptions.Item
>
<
Descriptions
.
Item
label
=
"所属系统"
>
{
tableModel
.
system
}
<
/Descriptions.Item
>
<
Descriptions
.
Item
label
=
"发布时间"
>
{
tableModel
.
createTime_str
}
<
/Descriptions.Item
>
{
/* <Descriptions.Item label="资产密级">{tableModel.assetStrictLevel_}</Descriptions.Item> */
}
<
Descriptions
.
Item
label
=
"更新周期"
>
{
tableModel
.
updateCycle
}
<
/Descriptions.Item
>
{
/* <Descriptions.Item label="表内容及业务含义">{metaData.business}</Descriptions.Item> */
}
<
Descriptions
.
Item
label
=
"数据周期"
>
{
tableModel
.
dataCycle
}
<
/Descriptions.Item
>
{
/* <Descriptions.Item label="数据更新特点">{metaData.updateFeature}</Descriptions.Item>
<Descriptions.Item label="主题域">{metaData.domain}</Descriptions.Item>
{metaData.hasOwnProperty('leaderInfo') && (
<Descriptions.Item label="负责人">{metaData.leaderInfo}</Descriptions.Item>
)} */
}
<
Descriptions
.
Item
label
=
"描述"
>
<
span
dangerouslySetInnerHTML
=
{{
__html
:
tableModel
.
remarks
?
tableModel
.
remarks
:
'无'
,
}}
/
>
<
/Descriptions.Item
>
{
showApplyButton
&&<
Descriptions
.
Item
>
<
div
>
<
Descriptions
size
=
"small"
column
=
{
3
}
>
<
Descriptions
.
Item
label
=
"资产名称"
>
<
span
dangerouslySetInnerHTML
=
{{
__html
:
`
${
tableModel
.
name
}
`
}}
/
>
<
/Descriptions.Item
>
<
Descriptions
.
Item
label
=
"所属目录"
>
{
tableModel
.
catalog
}
<
/Descriptions.Item
>
<
Descriptions
.
Item
label
=
"所属系统"
>
{
tableModel
.
system
}
<
/Descriptions.Item
>
<
Descriptions
.
Item
label
=
"发布时间"
>
{
tableModel
.
createTime_str
}
<
/Descriptions.Item
>
{
/* <Descriptions.Item label="资产密级">{tableModel.assetStrictLevel_}</Descriptions.Item> */
}
<
Descriptions
.
Item
label
=
"更新周期"
>
{
tableModel
.
updateCycle
}
<
/Descriptions.Item
>
{
/* <Descriptions.Item label="表内容及业务含义">{metaData.business}</Descriptions.Item> */
}
<
Descriptions
.
Item
label
=
"数据周期"
>
{
tableModel
.
dataCycle
}
<
/Descriptions.Item
>
{
/* <Descriptions.Item label="数据更新特点">{metaData.updateFeature}</Descriptions.Item>
<Descriptions.Item label="主题域">{metaData.domain}</Descriptions.Item>
{metaData.hasOwnProperty('leaderInfo') && (
<Descriptions.Item label="负责人">{metaData.leaderInfo}</Descriptions.Item>
)} */
}
<
Descriptions
.
Item
label
=
"描述"
>
<
span
className
=
{
classnames
(
'pointer'
,
isAppling
?
'text-warning'
:
'text-primary'
)
}
onClick
=
{
e
=>
{
e
.
preventDefault
();
if
(
onApply
)
{
onApply
();
}
dangerouslySetInnerHTML
=
{{
__html
:
tableModel
.
remarks
?
tableModel
.
remarks
:
'无'
,
}}
>
申请
<
/span
>
/
>
<
/Descriptions.Item
>
}
<
/Descriptions
>
<
/Descriptions
>
{
showApplyButton
&&<
Button
type
=
{
isAppling
?
''
:
'primary'
}
style
=
{{
height
:
30
,
marginBottom
:
8
,}}
onClick
=
{
e
=>
{
e
.
preventDefault
();
if
(
onApply
)
{
onApply
();
}
}}
>
申请授权
<
/Button
>
}
<
/div
>
);
}
}
...
...
@@ -181,7 +183,7 @@ const ApplyDescFunc = ({ dataDesc, form, apply }) => {
let
options
=
[];
options
=
dataSource
.
map
((
o
,
i
)
=>
{
return
{
label
:
o
.
n
ame
,
label
:
o
.
displayN
ame
,
value
:
o
.
ordinalPosition
,
};
});
...
...
@@ -224,8 +226,8 @@ const ApplyDescFunc = ({ dataDesc, form, apply }) => {
return
(
<
Fragment
>
<
Row
>
<
Col
md
=
{
4
}
><
h3
>
字段概览
<
/h3></
Col
>
<
Col
md
=
{
20
}
className
=
'text-right pt-4'
>
<
Col
md
=
{
4
}
style
=
{{
lineHeight
:
'32px'
}}
><
h3
>
字段概览
<
/h3></
Col
>
<
Col
md
=
{
20
}
>
<
Search
placeholder
=
"请输入字段过滤"
style
=
{{
width
:
200
}}
...
...
src/view/User/Apply/components/ListBox.jsx
View file @
c7795c53
...
...
@@ -145,7 +145,7 @@ export default class ListBox extends Component {
<
Row
>
<
Col
md=
{
18
}
>
<
Text
>
资产备注:
</
Text
>
<
span
dangerouslySetInnerHTML=
{
{
__html
:
item
.
remarks
}
}
/>
</
Col
>
<
Col
md=
{
6
}
>
{
item
.
expireDate
&&
<
Text
>
失效
时间:
</
Text
>
}
{
item
.
expireDate
&&
<
Text
>
数据验收确认
时间:
</
Text
>
}
{
item
.
expireDate
}
</
Col
>
</
Row
>
...
...
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