Browse Source

兽医PC端视频培训

master
王妍洁 1 week ago
parent
commit
961f504992
  1. 2
      chenhai-ui/src/views/system/questions/index.vue
  2. 12
      chenhai-ui/src/views/vet/info/index.vue
  3. 6
      chenhai-ui/src/views/vet/training/index.vue

2
chenhai-ui/src/views/system/questions/index.vue

@ -80,7 +80,7 @@
</el-tooltip>
</template>
</el-table-column>
<el-table-column label="内容" align="center" prop="content" min-width="300">
<el-table-column label="内容" align="center" prop="content" width="300" :show-overflow-tooltip="true">
<template slot-scope="scope">
<div class="content-preview" v-html="scope.row.content"></div>
</template>

12
chenhai-ui/src/views/vet/info/index.vue

@ -240,26 +240,26 @@
/>
<el-table v-else :data="certificateList" border style="width: 100%">
<!-- <el-table-column prop="qualificationName" label="资质名称" align="center" width="180"></el-table-column>-->
<el-table-column prop="certName" label="证书名称" align="center" width="180"></el-table-column>
<el-table-column prop="certificateNo" label="证书编号" align="center" width="200"></el-table-column>
<el-table-column prop="issueDate" label="颁发日期" align="center" width="120">
<el-table-column prop="certName" label="证书名称" align="center"></el-table-column>
<el-table-column prop="certificateNo" label="证书编号" align="center"></el-table-column>
<el-table-column prop="issueDate" label="颁发日期" align="center">
<template slot-scope="scope">
<span>{{ parseTime(scope.row.issueDate, '{y}-{m}-{d}') }}</span>
</template>
</el-table-column>
<el-table-column prop="expireDate" label="到期日期" align="center" width="120">
<el-table-column prop="expireDate" label="到期日期" align="center">
<template slot-scope="scope">
<span>{{ parseTime(scope.row.expireDate, '{y}-{m}-{d}') }}</span>
</template>
</el-table-column>
<el-table-column prop="auditStatus" label="审核状态" align="center" width="100">
<el-table-column prop="auditStatus" label="审核状态" align="center">
<template slot-scope="scope">
<el-tag :type="getAuditStatusTagType(scope.row.auditStatus)">
{{ getAuditStatusText(scope.row.auditStatus) }}
</el-tag>
</template>
</el-table-column>
<el-table-column prop="certStatus" label="证书状态" align="center" width="100">
<el-table-column prop="certStatus" label="证书状态" align="center">
<template slot-scope="scope">
<el-tag :type="getCertStatusTagType(scope.row.certStatus)">
{{ getCertStatusText(scope.row.certStatus) }}

6
chenhai-ui/src/views/vet/training/index.vue

@ -364,7 +364,7 @@
<el-form-item label="审核结果" prop="auditStatus" required>
<el-radio-group v-model="auditForm.auditStatus">
<el-radio
v-for="item in auditStatusOptions.filter(item => ['1', '2'].includes(item.dictValue))"
v-for="item in auditStatusOptions.filter(item => ['2', '3'].includes(item.dictValue))"
:key="item.dictValue"
:label="item.dictValue"
>
@ -514,7 +514,7 @@ export default {
auditOpinion: [
{
validator: (rule, value, callback) => {
if (this.auditForm.auditStatus === '2' && (!value || value.trim() === '')) {
if (this.auditForm.auditStatus === '3' && (!value || value.trim() === '')) {
callback(new Error('审核拒绝时必须填写审核意见'))
} else {
callback()
@ -900,7 +900,7 @@ export default {
const valid = await this.$refs.auditFormRef.validate()
if (!valid) return
const message = this.auditForm.auditStatus === '1'
const message = this.auditForm.auditStatus === '2'
? '是否确认审核通过?'
: '是否确认审核拒绝?'

Loading…
Cancel
Save