16 changed files with 778 additions and 2359 deletions
-
18chenhai-ui/src/api/vet/qualification.js
-
43chenhai-ui/src/layout/components/Navbar.vue
-
12chenhai-ui/src/permission.js
-
31chenhai-ui/src/router/index.js
-
10chenhai-ui/src/store/modules/user.js
-
18chenhai-ui/src/views/gld.vue
-
1475chenhai-ui/src/views/index.vue
-
1107chenhai-ui/src/views/indexGld.vue
-
7chenhai-ui/src/views/login.vue
-
20chenhai-ui/src/views/loginGld.vue
-
206chenhai-ui/src/views/syd.vue
-
156chenhai-ui/src/views/vet/article/index.vue
-
2chenhai-ui/src/views/vet/certificate/index.vue
-
2chenhai-ui/src/views/vet/info/index.vue
-
2chenhai-ui/src/views/vet/notification/index.vue
-
2chenhai-ui/src/views/vet/review/index.vue
@ -0,0 +1,18 @@ |
|||
<template> |
|||
<h1 class="admin-title">管理端</h1> |
|||
</template> |
|||
|
|||
<script> |
|||
export default { |
|||
name: "Gld", |
|||
props: { |
|||
}, |
|||
} |
|||
</script> |
|||
<style scoped> |
|||
.admin-title { |
|||
text-align: center; |
|||
color: #42B983; |
|||
} |
|||
</style> |
|||
|
|||
1475
chenhai-ui/src/views/index.vue
File diff suppressed because it is too large
View File
File diff suppressed because it is too large
View File
1107
chenhai-ui/src/views/indexGld.vue
File diff suppressed because it is too large
View File
File diff suppressed because it is too large
View File
@ -0,0 +1,206 @@ |
|||
<template> |
|||
<h1 class="vetnotshenhe-title">兽医端</h1> |
|||
<!-- <div class="app-container">--> |
|||
<!-- <el-dialog :title="title" :visible.sync="flag" width="800px" append-to-body>--> |
|||
<!-- <!– 步骤指示器 –>--> |
|||
<!-- <el-steps :active="activeStep" finish-status="success" simple style="margin-bottom: 20px;">--> |
|||
<!-- <el-step title="选择经营范围"></el-step>--> |
|||
<!-- <el-step title="上传资质"></el-step>--> |
|||
<!-- <el-step title="提交审核"></el-step>--> |
|||
<!-- </el-steps>--> |
|||
|
|||
<!-- <!– 步骤1:选择经营范围 –>--> |
|||
<!-- <div v-if="activeStep === 0">--> |
|||
<!-- <el-form ref="scopeForm" :model="form" label-width="100px">--> |
|||
<!-- <el-form-item label="真实姓名" prop="realName" :rules="[{ required: true, message: '请输入真实姓名', trigger: 'blur' }]">--> |
|||
<!-- <el-input v-model="form.realName" placeholder="请输入您的真实姓名" />--> |
|||
<!-- </el-form-item>--> |
|||
|
|||
<!-- <el-form-item label="身份证号" prop="idCard" :rules="[{ required: true, message: '请输入身份证号', trigger: 'blur' }]">--> |
|||
<!-- <el-input v-model="form.idCard" placeholder="请输入身份证号" />--> |
|||
<!-- </el-form-item>--> |
|||
|
|||
<!-- <el-form-item label="资质类型" prop="qualificationType" :rules="[{ required: true, message: '请选择资质类型', trigger: 'change' }]">--> |
|||
<!-- <el-select v-model="form.qualificationType" placeholder="请选择资质类型" style="width: 100%;">--> |
|||
<!-- <el-option label="执业兽医" value="执业兽医" />--> |
|||
<!-- <el-option label="官方兽医" value="官方兽医" />--> |
|||
<!-- <el-option label="乡村兽医" value="乡村兽医" />--> |
|||
<!-- <el-option label="畜牧师" value="畜牧师" />--> |
|||
<!-- <el-option label="其他" value="其他" />--> |
|||
<!-- </el-select>--> |
|||
<!-- </el-form-item>--> |
|||
|
|||
<!-- <el-form-item label="证书编号" prop="certificateNo" :rules="[{ required: true, message: '请输入证书编号', trigger: 'blur' }]">--> |
|||
<!-- <el-input v-model="form.certificateNo" placeholder="请输入证书编号" />--> |
|||
<!-- </el-form-item>--> |
|||
|
|||
<!-- <el-form-item label="经营范围" prop="scopeIds" :rules="[{ required: true, message: '请选择至少一个经营范围', trigger: 'change' }]">--> |
|||
<!-- <el-select--> |
|||
<!-- v-model="selectedScopes"--> |
|||
<!-- multiple--> |
|||
<!-- placeholder="请选择经营范围"--> |
|||
<!-- style="width: 100%;"--> |
|||
<!-- @change="handleScopeChange"--> |
|||
<!-- >--> |
|||
<!-- <el-option--> |
|||
<!-- v-for="scope in scopeOptions"--> |
|||
<!-- :key="scope.value"--> |
|||
<!-- :label="scope.label"--> |
|||
<!-- :value="scope.value"--> |
|||
<!-- />--> |
|||
<!-- </el-select>--> |
|||
<!-- <div style="color: #909399; font-size: 12px; margin-top: 5px;">--> |
|||
<!-- 已选择:{{ selectedScopes.length }} 项--> |
|||
<!-- <span v-if="selectedScopes.length > 0" style="color: #f56c6c; margin-left: 10px;">--> |
|||
<!-- 请根据经营范围准备相应资质文件--> |
|||
<!-- </span>--> |
|||
<!-- </div>--> |
|||
<!-- </el-form-item>--> |
|||
<!-- </el-form>--> |
|||
<!-- </div>--> |
|||
|
|||
<!-- <!– 步骤2:上传资质 –>--> |
|||
<!-- <div v-if="activeStep === 1">--> |
|||
<!-- <div style="margin-bottom: 15px; color: #606266;">--> |
|||
<!-- <div>已选择经营范围:</div>--> |
|||
<!-- <el-tag--> |
|||
<!-- v-for="scope in selectedScopes"--> |
|||
<!-- :key="scope"--> |
|||
<!-- type="info"--> |
|||
<!-- style="margin-right: 5px; margin-top: 5px;"--> |
|||
<!-- >--> |
|||
<!-- {{ getScopeName(scope) }}--> |
|||
<!-- </el-tag>--> |
|||
<!-- </div>--> |
|||
|
|||
<!-- <div style="margin-bottom: 15px; color: #f56c6c; font-size: 14px;">--> |
|||
<!-- <i class="el-icon-warning"></i>--> |
|||
<!-- 根据您选择的经营范围,需要上传以下资质文件:--> |
|||
<!-- </div>--> |
|||
|
|||
<!-- <div style="margin-bottom: 20px;">--> |
|||
<!-- <div v-for="scope in selectedScopes" :key="scope" style="margin-bottom: 10px;">--> |
|||
<!-- <div style="font-weight: bold; margin-bottom: 5px;">{{ getScopeName(scope) }}:</div>--> |
|||
<!-- <div style="color: #606266; font-size: 13px; padding-left: 10px;">--> |
|||
<!-- {{ getRequiredQualifications(scope) }}--> |
|||
<!-- </div>--> |
|||
<!-- </div>--> |
|||
<!-- </div>--> |
|||
|
|||
<!-- <el-form>--> |
|||
<!-- <el-form-item label="资质文件" required>--> |
|||
<!-- <el-upload--> |
|||
<!-- ref="upload"--> |
|||
<!-- action="#"--> |
|||
<!-- :multiple="true"--> |
|||
<!-- :file-list="fileList"--> |
|||
<!-- :auto-upload="false"--> |
|||
<!-- :on-change="handleFileChange"--> |
|||
<!-- :on-remove="handleRemove"--> |
|||
<!-- >--> |
|||
<!-- <el-button type="primary">选择文件</el-button>--> |
|||
<!-- <div slot="tip" class="el-upload__tip">--> |
|||
<!-- 请上传清晰的资质文件照片或扫描件(支持JPG、PNG、PDF格式)--> |
|||
<!-- </div>--> |
|||
<!-- </el-upload>--> |
|||
<!-- </el-form-item>--> |
|||
<!-- </el-form>--> |
|||
<!-- </div>--> |
|||
|
|||
<!-- <!– 步骤3:确认提交 –>--> |
|||
<!-- <div v-if="activeStep === 2">--> |
|||
<!-- <div style="text-align: center; margin-bottom: 30px;">--> |
|||
<!-- <i class="el-icon-circle-check" style="font-size: 60px; color: #67C23A;"></i>--> |
|||
<!-- <div style="margin-top: 15px; font-size: 16px; color: #303133;">--> |
|||
<!-- 请确认信息无误后提交审核--> |
|||
<!-- </div>--> |
|||
<!-- </div>--> |
|||
|
|||
<!-- <div style="background: #f8f9fa; padding: 15px; border-radius: 4px; margin-bottom: 20px;">--> |
|||
<!-- <div style="margin-bottom: 8px;"><strong>基本信息</strong></div>--> |
|||
<!-- <div style="margin-bottom: 5px;">真实姓名:{{ form.realName }}</div>--> |
|||
<!-- <div style="margin-bottom: 5px;">身份证号:{{ form.idCard }}</div>--> |
|||
<!-- <div style="margin-bottom: 5px;">资质类型:{{ form.qualificationType }}</div>--> |
|||
<!-- <div>证书编号:{{ form.certificateNo }}</div>--> |
|||
<!-- </div>--> |
|||
|
|||
<!-- <div style="background: #f8f9fa; padding: 15px; border-radius: 4px; margin-bottom: 20px;">--> |
|||
<!-- <div style="margin-bottom: 8px;"><strong>经营范围</strong></div>--> |
|||
<!-- <div>--> |
|||
<!-- <el-tag--> |
|||
<!-- v-for="scope in selectedScopes"--> |
|||
<!-- :key="scope"--> |
|||
<!-- type="info"--> |
|||
<!-- style="margin-right: 5px; margin-bottom: 5px;"--> |
|||
<!-- >--> |
|||
<!-- {{ getScopeName(scope) }}--> |
|||
<!-- </el-tag>--> |
|||
<!-- </div>--> |
|||
<!-- </div>--> |
|||
|
|||
<!-- <div style="background: #f8f9fa; padding: 15px; border-radius: 4px; margin-bottom: 20px;">--> |
|||
<!-- <div style="margin-bottom: 8px;"><strong>上传文件</strong></div>--> |
|||
<!-- <div v-if="fileList.length > 0">--> |
|||
<!-- <div v-for="(file, index) in fileList" :key="index" style="margin-bottom: 5px;">--> |
|||
<!-- {{ file.name }}--> |
|||
<!-- </div>--> |
|||
<!-- </div>--> |
|||
<!-- <div v-else style="color: #909399;">暂无文件</div>--> |
|||
<!-- </div>--> |
|||
<!-- </div>--> |
|||
|
|||
<!-- <!– 操作按钮 –>--> |
|||
<!-- <div slot="footer" class="dialog-footer">--> |
|||
<!-- <div v-if="activeStep > 0" style="float: left;">--> |
|||
<!-- <el-button @click="prevStep">上一步</el-button>--> |
|||
<!-- </div>--> |
|||
|
|||
<!-- <div v-if="activeStep < 2">--> |
|||
<!-- <el-button @click="closeDialog">稍后填写</el-button>--> |
|||
<!-- <el-button type="primary" @click="nextStep">--> |
|||
<!-- {{ activeStep === 1 ? '下一步' : '下一步' }}--> |
|||
<!-- </el-button>--> |
|||
<!-- </div>--> |
|||
|
|||
<!-- <div v-if="activeStep === 2">--> |
|||
<!-- <el-button @click="prevStep">上一步</el-button>--> |
|||
<!-- <el-button type="primary" @click="submitQualification" :loading="loading">--> |
|||
<!-- 提交审核--> |
|||
<!-- </el-button>--> |
|||
<!-- </div>--> |
|||
<!-- </div>--> |
|||
<!-- </el-dialog>--> |
|||
<!-- </div>--> |
|||
</template> |
|||
|
|||
<script> |
|||
export default { |
|||
name: "Syd", |
|||
data() { |
|||
return { |
|||
title: "兽医资质审核", |
|||
flag: true, |
|||
dialogVisible: false, |
|||
activeStep: 0, |
|||
form: { |
|||
realName: "", |
|||
idCard: "", |
|||
qualificationType: "", |
|||
certificateNo: "" |
|||
}, |
|||
selectedScopes: [], |
|||
scopeOptions: [] |
|||
} |
|||
|
|||
} |
|||
} |
|||
</script> |
|||
|
|||
|
|||
|
|||
<style scoped lang="scss"> |
|||
.vetnotshenhe-title { |
|||
text-align: center; |
|||
color: #42B983; |
|||
} |
|||
</style> |
|||
Write
Preview
Loading…
Cancel
Save
Reference in new issue