提交 1885494b 编写于 作者: dmx_mac's avatar dmx_mac

feat:供货店铺审核

上级 fa31f407
...@@ -7,7 +7,7 @@ let headers = { ...@@ -7,7 +7,7 @@ let headers = {
export const getCertifyList = (params) => { export const getCertifyList = (params) => {
return fetch({ return fetch({
headers, headers,
url: getBaseUrl(`certify/list`), url: getBaseUrl(`store/certify/list`),
method: 'post', method: 'post',
data:params, data:params,
description: '审核记录列表(批发和供应商)', description: '审核记录列表(批发和供应商)',
...@@ -28,7 +28,7 @@ export const getCertifyHistory = (params) => { ...@@ -28,7 +28,7 @@ export const getCertifyHistory = (params) => {
export const getCertifyDetail = (storeId) => { export const getCertifyDetail = (storeId) => {
return fetch({ return fetch({
headers, headers,
url: getBaseUrl(`certify/certifyDetail`), url: getBaseUrl(`store/certify/certifyDetail`),
method: 'get', method: 'get',
description: '获取认证申请的审核详情', description: '获取认证申请的审核详情',
}) })
...@@ -36,7 +36,7 @@ export const getCertifyDetail = (storeId) => { ...@@ -36,7 +36,7 @@ export const getCertifyDetail = (storeId) => {
export const getRefuseTemplate = (storeId) => { export const getRefuseTemplate = (storeId) => {
return fetch({ return fetch({
headers, headers,
url: getBaseUrl(`cert/constant/refuse/template`), url: getBaseUrl(`store/cert/constant/refuse/template`),
method: 'get', method: 'get',
description: '获取错误模板', description: '获取错误模板',
}) })
......
...@@ -3,17 +3,26 @@ ...@@ -3,17 +3,26 @@
title="提示" title="提示"
:visible.sync="hidden" :visible.sync="hidden"
width="80%" width="80%"
:before-close="handleClose"> :before-close="handleClose"
>
<el-table :data="gridData"> <el-table :data="gridData">
<el-table-column property="date" label="审核时间" ></el-table-column> <el-table-column property="date" label="审核时间"></el-table-column>
<el-table-column property="name" label="审核人" ></el-table-column> <el-table-column property="name" label="审核人"></el-table-column>
<el-table-column property="address" label="审核结果"></el-table-column> <el-table-column property="address" label="审核结果"></el-table-column>
<el-table-column property="address" label="失败原因" width="200"> <el-table-column property="address" label="失败原因" width="200">
<template class=""> <template class=""> </template>
</el-table-column>
<el-table-column property="address" label="操作">
<template>
<el-button
@click="goDetail(scope.row)"
class="c0D9078"
type="text"
size="small"
>查看详情</el-button
>
</template> </template>
</el-table-column> </el-table-column>
<el-table-column property="address" label="操作"></el-table-column>
</el-table> </el-table>
<div class="pagination"> <div class="pagination">
<el-pagination <el-pagination
...@@ -30,54 +39,61 @@ ...@@ -30,54 +39,61 @@
</el-dialog> </el-dialog>
</template> </template>
<script> <script>
import { getCertifyHistory } from "@/utils/qualification";
import { getCertifyHistory } from '@/utils/qualification'
export default { export default {
props:{ props: {
hidden:{ hidden: {
type:Boolean, type: Boolean,
default:() => { default: () => {
return false; return false;
}
}, },
id:{ },
type:Number, id: {
default:() => { type: Number,
default: () => {
return 0; return 0;
} },
} },
}, },
data () { data() {
return { return {
pageNo:0, pageNo: 0,
pageSize:10, pageSize: 10,
total:100, total: 100,
gridData:[], gridData: [],
} };
}, },
created(){}, created() {},
methods:{ methods: {
init(){ init() {
const params = { const params = {
certificateInfoId:this.id, certificateInfoId: this.id,
pageNo:this.pageNo, pageNo: this.pageNo,
pageSize:this.pageSize pageSize: this.pageSize,
} };
getCertifyHistory(params).then(res => { getCertifyHistory(params).then((res) => {
this.gridData = res.data.contentList;
}) });
}, },
handleSizeChange() {}, handleSizeChange(value) {
handleNumChange() {}, this.pageSize = value;
show() { this.init();
},
handleNumChange(value) {
this.pageNo = value;
}, },
handleClose(){ goDetail() {
this.$emit('close') },
} show() {},
} handleClose() {
} this.pageSize = 10;
this.pageNo = 1;
this.gridData = [];
this.$emit("close");
},
},
};
</script> </script>
<style lang='less' scoped> <style lang='less' scoped>
</style> </style>
<template> <template>
<div class="qualification-detail"> <div class="qualification-detail" ref="qualificationDetail">
<bread-crumb :curmbFirst="curmbFirst"></bread-crumb> <bread-crumb :curmbFirst="curmbFirst"></bread-crumb>
<div class="qualification-content screenSet" id="screenSet"> <div class="qualification-content screenSet" id="screenSet">
<div class="head"> <div class="head">
...@@ -36,7 +36,7 @@ ...@@ -36,7 +36,7 @@
</div> </div>
</div> </div>
</div> </div>
<div class="company"> <div class="company" ref="company">
<div class="tit"> <div class="tit">
<div class="mr5">公司信息</div> <div class="mr5">公司信息</div>
<div class="c0D9078 cp" @click="refuse"> <div class="c0D9078 cp" @click="refuse">
...@@ -44,7 +44,7 @@ ...@@ -44,7 +44,7 @@
拒绝原因 拒绝原因
</div> </div>
</div> </div>
<div class="refuse-info">拒绝原因:{{ 1 | reasonRejection }}</div> <div class="refuse-info">拒绝原因:{{ reasonRejection(1) }}</div>
<div class="info"> <div class="info">
<div> <div>
<div>企业类型:{{ detail.orgType }}</div> <div>企业类型:{{ detail.orgType }}</div>
...@@ -61,7 +61,7 @@ ...@@ -61,7 +61,7 @@
<div class="tit"> <div class="tit">
<div>工商信息</div> <div>工商信息</div>
</div> </div>
<div class="refuse-info">拒绝原因:{{ 2 | reasonRejection }}</div> <div class="refuse-info">拒绝原因:{{ reasonRejection(2) }}</div>
<div class=""> <div class="">
<div class="flex-c fs12"> <div class="flex-c fs12">
<div class="mr5">营业执照</div> <div class="mr5">营业执照</div>
...@@ -94,7 +94,7 @@ ...@@ -94,7 +94,7 @@
<i class="el-icon-edit-outline"></i>拒绝原因 <i class="el-icon-edit-outline"></i>拒绝原因
</div> </div>
</div> </div>
<div class="refuse-info">拒绝原因:{{ 3 | reasonRejection }}</div> <div class="refuse-info">拒绝原因:{{ reasonRejection(3) }}</div>
<div class="img"> <div class="img">
<el-image <el-image
src="https://fuss10.elemecdn.com/e/5d/4a731a90594a4af544c0c25941171jpeg.jpeg" src="https://fuss10.elemecdn.com/e/5d/4a731a90594a4af544c0c25941171jpeg.jpeg"
...@@ -113,7 +113,7 @@ ...@@ -113,7 +113,7 @@
<i class="el-icon-edit-outline"></i>拒绝原因 <i class="el-icon-edit-outline"></i>拒绝原因
</div> </div>
</div> </div>
<div class="refuse-info">拒绝原因:{{ 4 | reasonRejection }}</div> <div class="refuse-info">拒绝原因:{{ reasonRejection(4) }}</div>
<div class="img"> <div class="img">
<el-image <el-image
:src="detail.assignorCertBackUrl" :src="detail.assignorCertBackUrl"
...@@ -148,7 +148,7 @@ ...@@ -148,7 +148,7 @@
<i class="el-icon-edit-outline"></i>拒绝原因 <i class="el-icon-edit-outline"></i>拒绝原因
</div> </div>
</div> </div>
<div class="refuse-info">拒绝原因:{{ 5 | reasonRejection }}</div> <div class="refuse-info">拒绝原因:{{ reasonRejection(5) }}</div>
<div class="img"> <div class="img">
<el-image <el-image
:src="detail.assignorCertBackUrl" :src="detail.assignorCertBackUrl"
...@@ -166,7 +166,7 @@ ...@@ -166,7 +166,7 @@
<i class="el-icon-edit-outline"></i>拒绝原因 <i class="el-icon-edit-outline"></i>拒绝原因
</div> </div>
</div> </div>
<div class="refuse-info">拒绝原因:{{ 6 | reasonRejection }}</div> <div class="refuse-info">拒绝原因:{{ reasonRejection(6) }}</div>
<div class="img"> <div class="img">
<el-image <el-image
:src="detail.legalCertBackUrl" :src="detail.legalCertBackUrl"
...@@ -207,7 +207,7 @@ ...@@ -207,7 +207,7 @@
<i class="el-icon-edit-outline"></i>拒绝原因 <i class="el-icon-edit-outline"></i>拒绝原因
</div> </div>
</div> </div>
<div class="refuse-info">拒绝原因:{{ 7 | reasonRejection }}</div> <div class="refuse-info">拒绝原因:{{ reasonRejection(7) }}</div>
<div class="img"> <div class="img">
<el-image <el-image
src="https://fuss10.elemecdn.com/e/5d/4a731a90594a4af544c0c25941171jpeg.jpeg" src="https://fuss10.elemecdn.com/e/5d/4a731a90594a4af544c0c25941171jpeg.jpeg"
...@@ -252,20 +252,15 @@ export default { ...@@ -252,20 +252,15 @@ export default {
typeState() { typeState() {
const reviewType = ["tobe-reviewed", "success-reviewed", "no-reviewed"]; const reviewType = ["tobe-reviewed", "success-reviewed", "no-reviewed"];
return reviewType[this.$route.query.type]; return reviewType[this.$route.query.status];
}, },
typeStateText() { typeStateText() {
const reviewType = ["待审核", "审核成功", "审核不通过"]; const reviewType = ["待审核", "审核成功", "审核不通过"];
return reviewType[this.$route.query.type]; return reviewType[this.$route.query.status];
}, },
}, },
filters: { filters: {
reasonRejection(type) {
return this.certifyValidDtoList.filters(v => {
return v.infoType === type
})[0]
},
}, },
data() { data() {
return { return {
...@@ -277,7 +272,9 @@ export default { ...@@ -277,7 +272,9 @@ export default {
certifyReportImgList: [], //认证图片list 年度报告类 certifyReportImgList: [], //认证图片list 年度报告类
}; };
}, },
created() {}, created() {
this.init();
},
methods: { methods: {
init() { init() {
getCertifyDetail(this.id).then((res) => { getCertifyDetail(this.id).then((res) => {
...@@ -286,6 +283,7 @@ export default { ...@@ -286,6 +283,7 @@ export default {
certifyLicenseImgList = [], certifyLicenseImgList = [],
certifyReportImgList = [], certifyReportImgList = [],
} = res.data; } = res.data;
console.log(this.certifyValidDtoList);
this.certifyValidDtoList = certifyValidDtoList; this.certifyValidDtoList = certifyValidDtoList;
this.certifyLicenseImgList = certifyLicenseImgList; this.certifyLicenseImgList = certifyLicenseImgList;
this.certifyReportImgList = certifyReportImgList; this.certifyReportImgList = certifyReportImgList;
...@@ -298,6 +296,12 @@ export default { ...@@ -298,6 +296,12 @@ export default {
historyDialogClose() { historyDialogClose() {
this.historyDialogHidden = false; this.historyDialogHidden = false;
}, },
reasonRejection(type) {
const value = this.certifyValidDtoList.filter(v => {
return v.infoType === type
})[0];
return value || '' ;
},
// copy // copy
copyTxt(text) { copyTxt(text) {
var type = "text/plain"; var type = "text/plain";
...@@ -321,7 +325,11 @@ export default { ...@@ -321,7 +325,11 @@ export default {
cancelButtonText: "取消", cancelButtonText: "取消",
type: "warning", type: "warning",
}) })
.then(() => {}) .then(() => {
console.log(document.querySelector('#body-content').scrollTop);
console.log(this.$refs.company.scrollHeight,document.scrollTop);
document.querySelector('#body-content').scrollTop = this.$refs.company.scrollHeight
})
.catch(() => {}); .catch(() => {});
}, },
handleClose() { handleClose() {
......
...@@ -2,25 +2,47 @@ ...@@ -2,25 +2,47 @@
<div class="qualification-list"> <div class="qualification-list">
<bread-crumb :curmbFirst="curmbFirst"></bread-crumb> <bread-crumb :curmbFirst="curmbFirst"></bread-crumb>
<div class="qualification-content screenSet" id="screenSet"> <div class="qualification-content screenSet" id="screenSet">
<el-form ref="searchForm" :model="searchForm" label-width="100px" label-suffix=":" :inline="true"> <el-form
ref="searchForm"
:model="searchForm"
label-width="100px"
label-suffix=":"
:inline="true"
>
<template v-if="$route.query.source === 'ghs'"> <template v-if="$route.query.source === 'ghs'">
<el-form-item label="店铺名称"> <el-form-item label="店铺名称">
<el-input v-model="searchForm.storeNameStr" size="small" style="width:200px" placeholder="请输入店铺名称,用‘、’隔开"></el-input> <el-input
v-model="searchForm.storeNameStr"
size="small"
style="width: 200px"
placeholder="请输入店铺名称,用‘、’隔开"
></el-input>
</el-form-item> </el-form-item>
<el-form-item label="管理员姓名"> <el-form-item label="管理员姓名">
<el-input v-model="searchForm.adminNameStr" size="small" style="width:220px" placeholder="请输入管理员姓名,用‘、’隔开"></el-input> <el-input
v-model="searchForm.adminNameStr"
size="small"
style="width: 220px"
placeholder="请输入管理员姓名,用‘、’隔开"
></el-input>
</el-form-item> </el-form-item>
<el-form-item label="管理员手机号"> <el-form-item label="管理员手机号">
<el-input v-model="searchForm.adminMobileStr" size="small" style="width:220px" placeholder="亲输入管理员手机号,用‘、’隔开"></el-input> <el-input
v-model="searchForm.adminMobileStr"
size="small"
style="width: 220px"
placeholder="亲输入管理员手机号,用‘、’隔开"
></el-input>
</el-form-item> </el-form-item>
<el-form-item label="企业类型"> <el-form-item label="企业类型">
<el-select <el-select
v-model="searchForm.orgType" v-model="searchForm.orgType"
placeholder="请选择" placeholder="请选择"
size="small" size="small"
clearable> clearable
>
<el-option <el-option
v-for="(item,index) in orgList" v-for="(item, index) in orgList"
:key="index" :key="index"
:label="item.name" :label="item.name"
:value="item.id" :value="item.id"
...@@ -30,22 +52,38 @@ ...@@ -30,22 +52,38 @@
</template> </template>
<template v-if="$route.query.source === 'pf'"> <template v-if="$route.query.source === 'pf'">
<el-form-item label="医生ID"> <el-form-item label="医生ID">
<el-input v-model="searchForm.doctorIdStr" size="small" style="width:200px" placeholder="请输入医生ID,用‘、’隔开"></el-input> <el-input
v-model="searchForm.doctorIdStr"
size="small"
style="width: 200px"
placeholder="请输入医生ID,用‘、’隔开"
></el-input>
</el-form-item> </el-form-item>
<el-form-item label="医生姓名"> <el-form-item label="医生姓名">
<el-input v-model="searchForm.doctorNameStr" size="small" style="width:200px" placeholder="请输入医生姓名,用‘、’隔开"></el-input> <el-input
v-model="searchForm.doctorNameStr"
size="small"
style="width: 200px"
placeholder="请输入医生姓名,用‘、’隔开"
></el-input>
</el-form-item> </el-form-item>
<el-form-item label="企业名称"> <el-form-item label="企业名称">
<el-input v-model="searchForm.orgNameStr" size="small" style="width:200px" placeholder="亲输入企业名称,用‘、’隔开"></el-input> <el-input
v-model="searchForm.orgNameStr"
size="small"
style="width: 200px"
placeholder="亲输入企业名称,用‘、’隔开"
></el-input>
</el-form-item> </el-form-item>
</template> </template>
<el-form-item label="审核状态"> <el-form-item label="审核状态">
<el-select <el-select
v-model="searchForm.status" v-model="searchForm.status"
placeholder="请选择" placeholder="请选择"
size="small"> size="small"
>
<el-option <el-option
v-for="(item,index) in statusList" v-for="(item, index) in statusList"
:key="index" :key="index"
:label="item.name" :label="item.name"
:value="item.id" :value="item.id"
...@@ -60,82 +98,180 @@ ...@@ -60,82 +98,180 @@
</div> </div>
<div class="table"> <div class="table">
<div class="tab"> <div class="tab">
<span :class="{checked:item.id === tabChecked}" v-for="item in tabList" :key="item.id" @click="checkTab(item)">{{item.name}}</span> <span
:class="{ checked: item.id === tabChecked }"
v-for="item in tabList"
:key="item.id"
@click="checkTab(item)"
>{{ item.name }}</span
>
</div> </div>
<el-table :data="tableData" align="left" class="item-table" style="width: 100%;margin-top: 10px;"> <el-table
<el-table-column prop="id" label="申请ID" min-width="100" align="center"> :data="tableData"
align="left"
class="item-table"
style="width: 100%; margin-top: 10px"
>
<el-table-column
prop="id"
label="申请ID"
min-width="100"
align="center"
>
<template slot-scope="scope"> <template slot-scope="scope">
<span>{{ scope.row.id }}</span> <span>{{ scope.row.id }}</span>
</template> </template>
</el-table-column> </el-table-column>
<template v-if="$route.query.source === 'ghs'"> <template v-if="$route.query.source === 'ghs'">
<el-table-column prop="storeName" label="店铺名称" min-width="100" align="center" show-overflow-tooltip> <el-table-column
prop="storeName"
label="店铺名称"
min-width="100"
align="center"
show-overflow-tooltip
>
<template slot-scope="scope"> <template slot-scope="scope">
<span>{{ scope.row.storeName }}</span> <span>{{ scope.row.storeName }}</span>
</template> </template>
</el-table-column> </el-table-column>
<el-table-column prop="storeType" label="管理员姓名" min-width="100" align="center"> <el-table-column
prop="storeType"
label="管理员姓名"
min-width="100"
align="center"
>
<template slot-scope="scope"> <template slot-scope="scope">
<span>{{ scope.row.storeType | storeTypeFormat}}</span> <span>{{ scope.row.storeType | storeTypeFormat }}</span>
</template> </template>
</el-table-column> </el-table-column>
<el-table-column prop="storeType" label="管理员手机号" min-width="100" align="center"> <el-table-column
prop="storeType"
label="管理员手机号"
min-width="100"
align="center"
>
<template slot-scope="scope"> <template slot-scope="scope">
<span>{{ scope.row.storeType | storeTypeFormat}}</span> <span>{{ scope.row.storeType | storeTypeFormat }}</span>
</template> </template>
</el-table-column> </el-table-column>
</template> </template>
<template v-if="$route.query.source === 'pf'"> <template v-if="$route.query.source === 'pf'">
<el-table-column prop="storeName" label="医生ID" min-width="100" align="center" show-overflow-tooltip> <el-table-column
prop="storeName"
label="医生ID"
min-width="100"
align="center"
show-overflow-tooltip
>
<template slot-scope="scope"> <template slot-scope="scope">
<span>{{ scope.row.storeName }}</span> <span>{{ scope.row.storeName }}</span>
</template> </template>
</el-table-column> </el-table-column>
<el-table-column prop="storeType" label="医生姓名" min-width="100" align="center"> <el-table-column
prop="storeType"
label="医生姓名"
min-width="100"
align="center"
>
<template slot-scope="scope"> <template slot-scope="scope">
<span>{{ scope.row.storeType | storeTypeFormat}}</span> <span>{{ scope.row.storeType | storeTypeFormat }}</span>
</template> </template>
</el-table-column> </el-table-column>
</template> </template>
<el-table-column prop="storeStatus" label="企业姓名" min-width="100" align="center"> <el-table-column
prop="storeStatus"
label="企业姓名"
min-width="100"
align="center"
>
<template slot-scope="scope"> <template slot-scope="scope">
<span>{{ scope.row.storeStatus | statusFormat }}</span> <span>{{ scope.row.storeStatus | statusFormat }}</span>
</template> </template>
</el-table-column> </el-table-column>
<el-table-column prop="count" label="企业类型" min-width="120" align="center"> <el-table-column
prop="count"
label="企业类型"
min-width="120"
align="center"
>
<template slot-scope="scope"> <template slot-scope="scope">
<span>{{ scope.row.count }}</span> <span>{{ scope.row.count }}</span>
</template> </template>
</el-table-column> </el-table-column>
<el-table-column prop="createdTime" label="审核状态" min-width="120" align="center"> <el-table-column
prop="createdTime"
label="审核状态"
min-width="120"
align="center"
>
<template slot-scope="scope"> <template slot-scope="scope">
<span :class="scope.row.createdTime | typeState">{{ scope.row.createdTime | examineType }}</span> <span :class="scope.row.createdTime | typeState">{{
<el-tooltip class="item" effect="dark" content="Top Left 提示文字" placement="top-start"> scope.row.createdTime | examineType
<i class="el-icon-warning-outline no-reviewed" ></i> }}</span>
<el-tooltip
class="item"
effect="dark"
content="Top Left 提示文字"
placement="top-start"
>
<i class="el-icon-warning-outline no-reviewed"></i>
</el-tooltip> </el-tooltip>
</template> </template>
</el-table-column> </el-table-column>
<el-table-column prop="commissionType" label="申请时间" width="120" align="center"> <el-table-column
prop="commissionType"
label="申请时间"
width="120"
align="center"
>
<template slot-scope="scope"> <template slot-scope="scope">
<span>{{ scope.row.commissionType | commissionTypeFormat}}</span> <span>{{ scope.row.commissionType | commissionTypeFormat }}</span>
</template> </template>
</el-table-column> </el-table-column>
<el-table-column prop="commissionPrice" label="审核人" width="120" align="center"> <el-table-column
prop="commissionPrice"
label="审核人"
width="120"
align="center"
>
<template slot-scope="scope"> <template slot-scope="scope">
<span v-if="scope.row.commissionType == 1">{{scope.row.commissionPrice | priceNum}}%</span> <span v-if="scope.row.commissionType == 1"
<span v-if="scope.row.commissionType == 2">{{scope.row.commissionPrice | priceNum}}</span> >{{ scope.row.commissionPrice | priceNum }}%</span
>
<span v-if="scope.row.commissionType == 2"
>{{ scope.row.commissionPrice | priceNum }}</span
>
</template> </template>
</el-table-column> </el-table-column>
<el-table-column prop="commissionType" label="审核时间" width="120" align="center"> <el-table-column
prop="commissionType"
label="审核时间"
width="120"
align="center"
>
<template slot-scope="scope"> <template slot-scope="scope">
<span>{{ scope.row.proxyCommissionType | commissionTypeFormat}}</span> <span>{{
scope.row.proxyCommissionType | commissionTypeFormat
}}</span>
</template> </template>
</el-table-column> </el-table-column>
<el-table-column label="操作" min-width="230" align="center" fixed="right"> <el-table-column
label="操作"
min-width="230"
align="center"
fixed="right"
>
<template slot-scope="scope"> <template slot-scope="scope">
<div class="operation"> <div class="operation">
<el-button @click="shopManage(scope.row)" type="text" size="small">审核</el-button> <el-button @click="shopManage(scope.row)" type="text" size="small"
<el-button @click="orderManage(scope.row)" type="text" size="small">查看详情</el-button> >审核</el-button
>
<el-button
@click="orderManage(scope.row)"
type="text"
size="small"
>查看详情</el-button
>
</div> </div>
</template> </template>
</el-table-column> </el-table-column>
...@@ -156,137 +292,143 @@ ...@@ -156,137 +292,143 @@
</div> </div>
</template> </template>
<script> <script>
import { openLoading, closeLoading } from "../../utils/utils"; import { openLoading, closeLoading } from "../../utils/utils";
import BreadCrumb from "@/components/breadcrumb.vue"; import BreadCrumb from "@/components/breadcrumb.vue";
import { getCertifyList } from '@/utils/qualification' import { getCertifyList } from "@/utils/qualification";
export default { export default {
components: { components: {
BreadCrumb BreadCrumb,
}, },
filters:{ filters: {
examineType(type){ examineType(type) {
const obj = { const obj = {
0:'待审核', 0: "待审核",
1:'审核通过', 1: "审核通过",
2:'审核不通过', 2: "审核不通过",
} };
return obj[type] return obj[type];
}, },
typeState(type){ typeState(type) {
const reviewType = ['tobe-reviewed','success-reviewed','no-reviewed'] const reviewType = ["tobe-reviewed", "success-reviewed", "no-reviewed"];
return reviewType[type] return reviewType[type];
}, },
}, },
data(){ data() {
return{ return {
curmbFirst: '首营资质审核', curmbFirst: "首营资质审核",
tabList:[ tabList: [
{ {
id:1, id: 1,
name:'全部', name: "全部",
}, },
{ {
id:2, id: 2,
name:'待审核', name: "待审核",
}, },
{ {
id:3, id: 3,
name:'已审核', name: "已审核",
}, },
], ],
searchForm: { searchForm: {
adminMobileStr: '', adminMobileStr: "",
adminNameStr: '', adminNameStr: "",
doctorIdStr: 0, doctorIdStr: "",
doctorNameStr: 1, doctorNameStr: "",
orgNameStr: 10, orgNameStr: "",
orgType: null, orgType: "",
pageNo: null, pageNo: 1,
pageSize: 0, pageSize: 10,
status:0, status: "",
storeNameStr:0, storeNameStr: "",
type:1
}, },
orgList:[ orgList: [
{id:1,name:'医疗机构(非营利性)'}, { id: 1, name: "医疗机构(非营利性)" },
{id:2,name:'医疗机构(营利性)'}, { id: 2, name: "医疗机构(营利性)" },
{id:3,name:'零售-单体药店'}, { id: 3, name: "零售-单体药店" },
{id:4,name:'零售-连锁药店'}, { id: 4, name: "零售-连锁药店" },
], ],
statusList:[ statusList: [
{id:0,name:'全部'}, { id: 0, name: "全部" },
{id:1,name:'待审核'}, { id: 1, name: "待审核" },
{id:2,name:'已审核'}, { id: 2, name: "已审核" },
], ],
tableData:[{ tableData: [
id:1, {
storeName:'11', id: 1,
storeType:2, storeName: "11",
storeStatus:2, storeType: 2,
count:2, storeStatus: 2,
createdTime:2, count: 2,
commissionType:2, createdTime: 2,
}], commissionType: 2,
tabChecked:1
}
}, },
created(){ ],
this.init() tabChecked: 1,
totalRows: 0,
};
},
created() {
this.init();
}, },
methods:{ methods: {
init() { init() {
const params = { const params = {
type: Number(this.$route.query.type || 1) ,
} ...this.searchForm,
getCertifyList(params).then(res => { };
getCertifyList(params).then((res) => {
console.log(res); console.log(res);
}) const { contentList, total } = res.data;
this.tableData = contentList;
this.totalRows = total;
});
}, },
checkTab(item) { checkTab(item) {
this.tabChecked = item.id; this.tabChecked = item.id;
} },
} },
} };
</script> </script>
<style lang="scss" scope> <style lang="scss" scope>
.qualification-list{ .qualification-list {
.qualification-content{ .qualification-content {
background: #fff; background: #fff;
padding: 10px; padding: 10px;
} }
.form-btn{ .form-btn {
text-align: right; text-align: right;
} }
.table{ .table {
background-color: #fff; background-color: #fff;
margin:10px 30px; margin: 10px 30px;
padding: 20px; padding: 20px;
.tobe-reviewed{ .tobe-reviewed {
color: #FAC94D; color: #fac94d;
} }
.success-reviewed{ .success-reviewed {
color: #71D60A; color: #71d60a;
} }
.no-reviewed{ .no-reviewed {
color: #E2292A; color: #e2292a;
} }
.tab{ .tab {
span{ span {
font-weight: bold; font-weight: bold;
font-size: 18px; font-size: 18px;
margin-right: 30px; margin-right: 30px;
cursor: pointer; cursor: pointer;
&.checked{ &.checked {
color: #0D9078; color: #0d9078;
}
} }
} }
.operation{
span{
color: #0D9078;
} }
.operation {
span {
color: #0d9078;
} }
} }
} }
}
</style> </style>
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册