소스 검색

修改判断

lex-xin 4 년 전
부모
커밋
df89597f45
2개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  1. 1 1
      src/views/teamBuild/components/forecast-list.vue
  2. 1 1
      src/views/teamBuild/forecastName.vue

+ 1 - 1
src/views/teamBuild/components/forecast-list.vue

@@ -92,7 +92,7 @@
                             {{ scope.row.subjectFirstName ? scope.row.subjectFirstName : null }}
                             {{ !scope.row.subjectFirstName && scope.row.subjectFirst == 999 ? '听从老师安排' : null }},
                             {{ scope.row.subjectSecondName ? scope.row.subjectSecondName : null }}
-                            {{ !scope.row.subjectSecondName && scope.row.subjectFirst == 999 ? '听从老师安排' : null }}
+                            {{ !scope.row.subjectSecondName && scope.row.subjectSecond == 999 ? '听从老师安排' : null }}
                             <!-- {{ scope.row.subjectFirstName }},{{ scope.row.subjectSecondName }} -->
                         </template>
                     </el-table-column>

+ 1 - 1
src/views/teamBuild/forecastName.vue

@@ -125,7 +125,7 @@
                     >
                         <template slot-scope="scope">
                             {{ scope.row.subjectSecondName ? scope.row.subjectSecondName : null }}
-                            {{ !scope.row.subjectSecondName && scope.row.subjectFirst == 999 ? '听从老师安排' : null }}
+                            {{ !scope.row.subjectSecondName && scope.row.subjectSecond == 999 ? '听从老师安排' : null }}
                         </template>
                     </el-table-column>
                     <el-table-column