作者 小范

3个界面异常回执报红优化

@@ -135,7 +135,13 @@ @@ -135,7 +135,13 @@
135 label="回执内容" 135 label="回执内容"
136 width="250"> 136 width="250">
137 <template slot-scope="scope"> 137 <template slot-scope="scope">
138 - <span v-if="scope.row.ext5 && scope.row.ext5.indexOf('异常')>0" style="color: #F56C6C"> 138 + <span v-if="scope.row.ext5 && scope.row.ext5.indexOf('异常') != -1" style="color: #F56C6C">
  139 + {{scope.row.ext5}}
  140 + </span>
  141 + <span v-else-if="scope.row.ext5 && scope.row.ext5.indexOf('不通过') != -1" style="color: #F56C6C">
  142 + {{scope.row.ext5}}
  143 + </span>
  144 + <span v-else-if="scope.row.ext5 && scope.row.ext5.indexOf('不接受') != -1" style="color: #F56C6C">
139 {{scope.row.ext5}} 145 {{scope.row.ext5}}
140 </span> 146 </span>
141 <span v-else-if="scope.row.status=='01' || scope.row.status=='11'" style="color: #67C23A"> 147 <span v-else-if="scope.row.status=='01' || scope.row.status=='11'" style="color: #67C23A">
@@ -162,7 +162,13 @@ @@ -162,7 +162,13 @@
162 label="回执内容" 162 label="回执内容"
163 width="260"> 163 width="260">
164 <template slot-scope="scope"> 164 <template slot-scope="scope">
165 - <span v-if="scope.row.ext5 && scope.row.ext5.indexOf('异常')>0" style="color: #F56C6C"> 165 + <span v-if="scope.row.ext5 && scope.row.ext5.indexOf('异常') != -1" style="color: #F56C6C">
  166 + {{scope.row.ext5}}
  167 + </span>
  168 + <span v-else-if="scope.row.ext5 && scope.row.ext5.indexOf('不通过') != -1" style="color: #F56C6C">
  169 + {{scope.row.ext5}}
  170 + </span>
  171 + <span v-else-if="scope.row.ext5 && scope.row.ext5.indexOf('不接受') != -1" style="color: #F56C6C">
166 {{scope.row.ext5}} 172 {{scope.row.ext5}}
167 </span> 173 </span>
168 <span v-else-if="scope.row.status=='01' || scope.row.status=='11'" style="color: #67C23A"> 174 <span v-else-if="scope.row.status=='01' || scope.row.status=='11'" style="color: #67C23A">
@@ -108,7 +108,13 @@ @@ -108,7 +108,13 @@
108 label="回执内容" 108 label="回执内容"
109 width="250"> 109 width="250">
110 <template slot-scope="scope"> 110 <template slot-scope="scope">
111 - <span v-if="scope.row.ext5 && scope.row.ext5.indexOf('异常')>0" style="color: #F56C6C"> 111 + <span v-if="scope.row.ext5 && scope.row.ext5.indexOf('异常') != -1" style="color: #F56C6C">
  112 + {{scope.row.ext5}}
  113 + </span>
  114 + <span v-else-if="scope.row.ext5 && scope.row.ext5.indexOf('不通过') != -1" style="color: #F56C6C">
  115 + {{scope.row.ext5}}
  116 + </span>
  117 + <span v-else-if="scope.row.ext5 && scope.row.ext5.indexOf('不接受') != -1" style="color: #F56C6C">
112 {{scope.row.ext5}} 118 {{scope.row.ext5}}
113 </span> 119 </span>
114 <span v-else-if="scope.row.status=='01' || scope.row.status=='11'" style="color: #67C23A"> 120 <span v-else-if="scope.row.status=='01' || scope.row.status=='11'" style="color: #67C23A">