Commit 7eba6f1a32ed152d3abf2df4ef9c48d721a0238c
1 parent
22935f31
v1.9 admin 投訴工單詳情 英文bug
Showing
1 changed file
with
10 additions
and
32 deletions
src/components/oa/ComplaintDetailType.vue
| 1 | 1 | <template> |
| 2 | 2 | <div class="complaint-detail-type"> |
| 3 | - <el-table | |
| 4 | - :data="complaintTypes" | |
| 5 | - border | |
| 6 | - style="width: 100%" | |
| 7 | - v-loading="loading" | |
| 8 | - > | |
| 9 | - <el-table-column | |
| 10 | - prop="typeName" | |
| 11 | - :label="$t('complaintDetailType.typeName')" | |
| 12 | - align="center" | |
| 13 | - /> | |
| 14 | - <el-table-column | |
| 15 | - prop="notifyWay" | |
| 16 | - :label="$t('complaintDetailType.notifyWay')" | |
| 17 | - align="center" | |
| 18 | - > | |
| 3 | + <el-table :data="complaintTypes" border style="width: 100%" v-loading="loading"> | |
| 4 | + <el-table-column prop="typeName" :label="$t('complaintDetailType.typeName')" align="center" /> | |
| 5 | + <el-table-column prop="notifyWay" :label="$t('complaintDetailType.notifyWay')" align="center"> | |
| 19 | 6 | <template slot-scope="scope"> |
| 20 | - <span>{{ scope.row.notifyWay === 'SMS' ? $t('complaintDetailType.sms') : $t('complaintDetailType.wechat') }}</span> | |
| 7 | + <span>{{ scope.row.notifyWay === 'SMS' ? $t('complaintDetailType.sms') : $t('complaintDetailType.wechat') | |
| 8 | + }}</span> | |
| 21 | 9 | </template> |
| 22 | 10 | </el-table-column> |
| 23 | - <el-table-column | |
| 24 | - prop="appraiseReply" | |
| 25 | - :label="$t('complaintDetailType.appraiseReply')" | |
| 26 | - align="center" | |
| 27 | - > | |
| 11 | + <el-table-column prop="appraiseReply" :label="$t('complaintDetailType.appraiseReply')" align="center"> | |
| 28 | 12 | <template slot-scope="scope"> |
| 29 | - <span>{{ scope.row.appraiseReply === 'Y' ? $t('complaintDetailType.autoReply') : $t('complaintDetailType.manualReply') }}</span> | |
| 13 | + <span>{{ scope.row.appraiseReply === 'Y' ? $t('complaintDetailType.autoReply') : | |
| 14 | + $t('complaintDetailType.manualReply') }}</span> | |
| 30 | 15 | </template> |
| 31 | 16 | </el-table-column> |
| 32 | - <el-table-column | |
| 33 | - :label="$t('complaintDetailType.handler')" | |
| 34 | - align="center" | |
| 35 | - > | |
| 17 | + <el-table-column :label="$t('complaintDetailType.handler')" align="center"> | |
| 36 | 18 | <template slot-scope="scope"> |
| 37 | 19 | <div v-for="(item, index) in scope.row.staffs" :key="index"> |
| 38 | 20 | {{ item.staffName }} |
| 39 | 21 | </div> |
| 40 | 22 | </template> |
| 41 | 23 | </el-table-column> |
| 42 | - <el-table-column | |
| 43 | - prop="createTime" | |
| 44 | - :label="$t('complaintDetailType.createTime')" | |
| 45 | - align="center" | |
| 46 | - /> | |
| 24 | + <el-table-column prop="createTime" :label="$t('complaintDetailType.createTime')" align="center" /> | |
| 47 | 25 | </el-table> |
| 48 | 26 | </div> |
| 49 | 27 | </template> | ... | ... |