Merge pull request 'fix : 前置流程回显' (#358) from dj into master

Reviewed-on: http://git.feashow.cn/clay/mosr-web/pulls/358
This commit is contained in:
2024-06-18 16:03:27 +00:00

View File

@@ -29,7 +29,8 @@
</div> </div>
</div> </div>
<div class="process"> <div class="process">
<operation-render v-if="processViewer && data.operationList && data.operationList.length > 0&&!changeDiagram" :operation-list="data.operationList" <operation-render v-if="processViewer && data.operationList && data.operationList.length > 0&&!changeDiagram"
:operation-list="data.operationList"
:state="data.state"/> :state="data.state"/>
<process-diagram-viewer v-if="processViewer&&changeDiagram" :id-name="idName?idName:type"/> <process-diagram-viewer v-if="processViewer&&changeDiagram" :id-name="idName?idName:type"/>
</div> </div>
@@ -97,9 +98,10 @@ const schema = computed(() => {
component: () => ( component: () => (
<div> <div>
{ {
props.formData.preProcess? props.formData.preProcess ? props.formData.preProcess.map(item => {
<span><a target="_blank" style={{color: '#409EFF', cursor: 'pointer'}} href={props.formData.preProcessBaseUrl + props.formData.preProcess.requestId}>{props.formData.preProcess.requestName}</a> </span> : return <span><a target="_blank" style={{color: '#409EFF', cursor: 'pointer'}}
<span>{'--'}</span> href={props.formData.preProcessBaseUrl + item.requestId}>{item.requestName}</a> </span>
}) : <span>{'--'}</span>
} }
</div> </div>
) )
@@ -138,9 +140,10 @@ const schema = computed(() => {
component: () => ( component: () => (
<div> <div>
{ {
props.formData.preProcess? props.formData.preProcess ? props.formData.preProcess.map(item => {
<span><a target="_blank" style={{color: '#409EFF', cursor: 'pointer'}} href={props.formData.preProcessBaseUrl + props.formData.preProcess.requestId}>{props.formData.preProcess.requestName}</a> </span> : return <span><a target="_blank" style={{color: '#409EFF', cursor: 'pointer'}}
<span>{'--'}</span> href={props.formData.preProcessBaseUrl + item.requestId}>{item.requestName}</a> </span>
}) : <span>{'--'}</span>
} }
</div> </div>
) )