|
|
@@ -17,7 +17,7 @@ export default {
|
|
|
const { icon, title } = context.props;
|
|
|
const vnodes = [];
|
|
|
|
|
|
- if (icon) {
|
|
|
+ if (icon!=="#") {
|
|
|
vnodes.push(<svg-icon icon-class={icon} />);
|
|
|
}
|
|
|
|
|
|
@@ -42,47 +42,47 @@ export default {
|
|
|
vnodes.push(
|
|
|
<span slot="title">
|
|
|
{title}
|
|
|
- {icon === "#" && title === "评估考察" && inspectNum ? (
|
|
|
+ {title === "评估考察" && inspectNum ? (
|
|
|
<span class="hint">{inspectNum}</span>
|
|
|
) : (
|
|
|
""
|
|
|
)}
|
|
|
- {icon === "#" && title === "项目立项" && projectLXNum ? (
|
|
|
+ {title === "项目立项" && projectLXNum ? (
|
|
|
<span class="hint">{projectLXNum}</span>
|
|
|
) : (
|
|
|
""
|
|
|
)}
|
|
|
- {icon === "#" && title === "尽职背调" && dueNum ? (
|
|
|
+ {title === "尽职背调" && dueNum ? (
|
|
|
<span class="hint">{dueNum}</span>
|
|
|
) : (
|
|
|
""
|
|
|
)}
|
|
|
- {icon === "#" && title === "项目投决" && projectTJNum ? (
|
|
|
+ {title === "项目投决" && projectTJNum ? (
|
|
|
<span class="hint">{projectTJNum}</span>
|
|
|
) : (
|
|
|
""
|
|
|
)}
|
|
|
- {icon === "select" && title === "项目机会" && investOppNum ? (
|
|
|
+ {title === "项目机会" && investOppNum ? (
|
|
|
<span class="hint">{investOppNum}</span>
|
|
|
) : (
|
|
|
""
|
|
|
)}
|
|
|
- {icon === "select" && title === "项目立项" && approvalNum ? (
|
|
|
+ {title === "项目立项" && approvalNum ? (
|
|
|
<span class="hint">{approvalNum}</span>
|
|
|
) : (
|
|
|
""
|
|
|
)}
|
|
|
- {icon === "select" && title === "项目背调" && investigateNum ? (
|
|
|
+ {title === "项目背调" && investigateNum ? (
|
|
|
<span class="hint">{investigateNum}</span>
|
|
|
) : (
|
|
|
""
|
|
|
)}
|
|
|
- {icon === "select" && title === "项目投决" && decisionNum ? (
|
|
|
+ {title === "项目投决" && decisionNum ? (
|
|
|
<span class="hint">{decisionNum}</span>
|
|
|
) : (
|
|
|
""
|
|
|
)}
|
|
|
- {icon === "select" && title === "项目终止" && terminationNum ? (
|
|
|
+ {title === "项目终止" && terminationNum ? (
|
|
|
<span class="hint">{terminationNum}</span>
|
|
|
) : (
|
|
|
""
|