|
@@ -28,7 +28,7 @@ export default (props) => {
|
28
|
28
|
if (!detail) return [];
|
29
|
29
|
|
30
|
30
|
// detail 有可能是申请信息
|
31
|
|
- const {value : bizStatus = 0, label : statusText} = getIssueStatus({
|
|
31
|
+ const { value: bizStatus = 0, label: statusText } = getIssueStatus({
|
32
|
32
|
...detail || {},
|
33
|
33
|
processNode: detail?.processNode || detail?.applyType,
|
34
|
34
|
processStatus: detail?.processStatus || detail?.verifyStatus || APPLY_READY,
|
|
@@ -41,12 +41,20 @@ export default (props) => {
|
41
|
41
|
statusText,
|
42
|
42
|
];
|
43
|
43
|
}, [detail, color, stText]);
|
44
|
|
-
|
|
44
|
+ console.log('issue', issue)
|
|
45
|
+ console.log('detail', detail)
|
|
46
|
+
|
45
|
47
|
return (
|
46
|
48
|
<View className={style['issue-card-wrapper']} onClick={onClick}>
|
47
|
49
|
<View className={style['issue-card-header']}>
|
48
|
|
- <View>问题清单</View>
|
49
|
|
- <View>{createDate}</View>
|
|
50
|
+ <View>
|
|
51
|
+ <View>ID:{detail?.issueId}</View>
|
|
52
|
+ <View>问题清单</View>
|
|
53
|
+ </View>
|
|
54
|
+ <View>
|
|
55
|
+ <View>{detail?.typeName}</View>
|
|
56
|
+ <View>{createDate}</View>
|
|
57
|
+ </View>
|
50
|
58
|
</View>
|
51
|
59
|
<View className={style['issue-card-body']} style={{ backgroundColor: styleColor[0] }}>
|
52
|
60
|
<ScrollView scrollY style={{ height: '100%' }}>
|
|
@@ -56,7 +64,7 @@ export default (props) => {
|
56
|
64
|
<View className={style['issue-card-footer']}>
|
57
|
65
|
<View>
|
58
|
66
|
<Image src={icon} />
|
59
|
|
- <Text style={{'verticalAlign': 'middle'}}>{detail?.issueAddr || detail?.addr || ''}</Text>
|
|
67
|
+ <Text style={{ 'verticalAlign': 'middle' }}>{detail?.issueAddr || detail?.addr || ''}</Text>
|
60
|
68
|
</View>
|
61
|
69
|
<View style={{ color: styleColor[1] }}>{statusTxt}</View>
|
62
|
70
|
</View>
|