洪海涛 4 년 전
부모
커밋
882a703f43
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      src/views/monthlyReport/childrenPage/editReport/components/MrTable/index.vue

+ 1 - 1
src/views/monthlyReport/childrenPage/editReport/components/MrTable/index.vue

@@ -159,7 +159,7 @@
           {{ scope.row[item.headerKey] }}
         </div>
       </div>
-      <div v-else-if="item.displayType === 'Texterea'" :style="{cursor: item.name === '问题' && scope.row.operationTarget ? 'pointer' : 'auto'}" @click.stop="item.name === '问题' && goto(scope.row.operationTarget)">
+      <div v-else-if="item.displayType === 'Texterea'" :style="{cursor: item.name === '问题' && scope.row.operationTarget ? 'pointer' : 'auto'}" @click.stop="item.name === '问题' && pageType.search(/edit/) < 0 && goto(scope.row.operationTarget) || editLine(scope.row, index)">
         <TextInfo :text="scope.row[item.headerKey]" />
       </div>
       <div v-else>