9292 >
9393 <img :src =" detail?.icon" alt =" " />
9494 </el-avatar >
95- <el-avatar
96- v-else-if =" detail?.name"
97- :name =" detail?.name"
98- pinyinColor
99- shape =" square"
100- :size =" 32"
101- />
95+ <LogoIcon v-else height =" 28px" style =" width : 28px ; height : 28px ; display : block " />
10296 </div >
10397
10498 <h4 >
@@ -157,7 +151,7 @@ const isDefaultTheme = computed(() => {
157151 return user .isDefaultTheme ()
158152})
159153const {
160- params : { id }
154+ params : { id },
161155} = route as any
162156
163157let interval: any
@@ -182,7 +176,7 @@ function back() {
182176 confirmButtonText: t (' views.applicationWorkflow.setting.exitSave' ),
183177 cancelButtonText: t (' views.applicationWorkflow.setting.exit' ),
184178 type: ' warning' ,
185- distinguishCancelAndClose: true
179+ distinguishCancelAndClose: true ,
186180 })
187181 .then (() => {
188182 saveApplication (true , true )
@@ -268,7 +262,7 @@ async function publicHandle() {
268262 ?.validate ()
269263 .then (async () => {
270264 const obj = {
271- work_flow: getGraphData ()
265+ work_flow: getGraphData (),
272266 }
273267 await application .asyncPutApplication (id , obj , loading )
274268 const workflow = new WorkFlowInstance (obj .work_flow )
@@ -293,14 +287,14 @@ async function publicHandle() {
293287 MsgError (
294288 res .node .properties ?.stepName +
295289 ` ${t (' views.applicationWorkflow.node' ).toLowerCase ()} ` +
296- err_message .toLowerCase ()
290+ err_message .toLowerCase (),
297291 )
298292 } else {
299293 const keys = Object .keys (err_message )
300294 MsgError (
301295 node .properties ?.stepName +
302296 ` ${t (' views.applicationWorkflow.node' ).toLowerCase ()} ` +
303- err_message [keys [0 ]]?.[0 ]?.message .toLowerCase ()
297+ err_message [keys [0 ]]?.[0 ]?.message .toLowerCase (),
304298 )
305299 }
306300 })
@@ -318,7 +312,7 @@ const clickShowDebug = () => {
318312 ... detail .value ,
319313 type: ' WORK_FLOW' ,
320314 ... workflow .get_base_node ()?.properties .node_data ,
321- work_flow: getGraphData ()
315+ work_flow: getGraphData (),
322316 }
323317
324318 showDebug .value = true
@@ -331,14 +325,14 @@ const clickShowDebug = () => {
331325 const err_message = res .errMessage
332326 if (typeof err_message == ' string' ) {
333327 MsgError (
334- res .node .properties ?.stepName + ` ${t (' views.applicationWorkflow.node' )}, ` + err_message
328+ res .node .properties ?.stepName + ` ${t (' views.applicationWorkflow.node' )}, ` + err_message ,
335329 )
336330 } else {
337331 const keys = Object .keys (err_message )
338332 MsgError (
339333 node .properties ?.stepName +
340334 ` ${t (' views.applicationWorkflow.node' )}, ` +
341- err_message [keys [0 ]]?.[0 ]?.message
335+ err_message [keys [0 ]]?.[0 ]?.message ,
342336 )
343337 }
344338 })
@@ -376,7 +370,7 @@ function getDetail() {
376370
377371function saveApplication(bool ? : boolean , back ? : boolean ) {
378372 const obj = {
379- work_flow: getGraphData ()
373+ work_flow: getGraphData (),
380374 }
381375 loading .value = back || false
382376 application
0 commit comments