瀏覽代碼

修改判断

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