zhangxiaomu 2 anni fa
parent
commit
12346a31ab

+ 1 - 1
src/components/business/process/node-modal/node-modal.vue

@@ -2,7 +2,7 @@
 <template>
   <div class="main-div" ref="node-modal-div" v-if="existsFlag">
     <DkModal
-      :title="'工序 - '+nodeData.nodeKindName"
+      :title="'工序 - '+nodeKindList.find(it => it.kindCode == nodeData.nodeKind)?.kindName"
       v-model="modalDisplay"
       :mask-closable="false"
       :loading="loading"

+ 1 - 1
src/view/process/process-flow/config/ProcessConfig.js

@@ -887,7 +887,7 @@ export default class Process {
         title.className = 'custom-html-right-title'
         text.className = 'custom-html-right-text'
         title.innerHTML = cell.getData().nodeName
-        text.innerHTML = cell.getData().nodeKindName
+        text.innerHTML =  nodeKindList.find(it => it.kindCode == cell.getData().nodeKind)?.kindName
         left.appendChild(img)
         right.appendChild(title)
         right.appendChild(text)