Compare commits

..

No commits in common. "cf199929ae8d8f830200742877268cd27bcde34b" and "4f112bf475c3c8d6516a2f6814ef24da0634c022" have entirely different histories.

3 changed files with 13 additions and 40 deletions

View File

@ -17,12 +17,6 @@ export function getEnterprise(id) {
}) })
} }
export function enterpriseUpdateId(id) {
return request({
url: '/authentication/enterprise/enterpriseUpdateId?id=' + id,
method: 'post'
})
}
// 新增企业 // 新增企业
export function addEnterprise(data) { export function addEnterprise(data) {
return request({ return request({

View File

@ -21,7 +21,7 @@ export function getUser(userId) {
// 新增用户 // 新增用户
export function addUser(data) { export function addUser(data) {
return request({ return request({
url: '/system/user/add', url: '/system/user',
method: 'post', method: 'post',
data: data data: data
}) })

View File

@ -73,10 +73,10 @@
placeholder="请选择企业入驻平台时期"> placeholder="请选择企业入驻平台时期">
</el-date-picker> </el-date-picker>
</el-form-item> </el-form-item>
<el-form-item label="审核状态" prop="examineStatus"> <el-form-item label="企业认证id" prop="certificationId">
<el-input <el-input
v-model="queryParams.examineStatus" v-model="queryParams.certificationId"
placeholder="审核状态" placeholder="请输入企业认证id"
clearable clearable
@keyup.enter.native="handleQuery" @keyup.enter.native="handleQuery"
/> />
@ -170,14 +170,15 @@
<span>{{ parseTime(scope.row.registrationDate, '{y}-{m}-{d}') }}</span> <span>{{ parseTime(scope.row.registrationDate, '{y}-{m}-{d}') }}</span>
</template> </template>
</el-table-column> </el-table-column>
<el-table-column label="审核状态" align="center" prop="examineStatus" /> <el-table-column label="企业认证id" align="center" prop="certificationId" />
<el-table-column label="认证时间" align="center" prop="authenticationDate" width="180"> <el-table-column label="认证时间" align="center" prop="authenticationDate" width="180">
<template slot-scope="scope"> <template slot-scope="scope">
<span>{{ parseTime(scope.row.authenticationDate, '{y}-{m}-{d}') }}</span> <span>{{ parseTime(scope.row.authenticationDate, '{y}-{m}-{d}') }}</span>
</template> </template>
</el-table-column> </el-table-column>
<el-table-column label="服务级别" align="center" prop="serviceLevel" /> <el-table-column label="服务级别" align="center" prop="serviceLevel" />
<el-table-column label="开通服务级别" align="center" prop="openServerId" /> <el-table-column label="开通服务id" align="center" prop="openServerId" />
<el-table-column label="增值服务id" align="center" prop="addServerId" />
<el-table-column label="备注" align="center" prop="remark" /> <el-table-column label="备注" align="center" prop="remark" />
<el-table-column label="操作" align="center" class-name="small-padding fixed-width"> <el-table-column label="操作" align="center" class-name="small-padding fixed-width">
<template slot-scope="scope"> <template slot-scope="scope">
@ -188,12 +189,6 @@
@click="handleUpdate(scope.row)" @click="handleUpdate(scope.row)"
v-hasPermi="['authentication:enterprise:edit']" v-hasPermi="['authentication:enterprise:edit']"
>修改</el-button> >修改</el-button>
<el-button
size="mini"
type="text"
icon="el-icon-edit"
@click="EnterpriseUpdate(scope.row)"
>认证</el-button>
<el-button <el-button
size="mini" size="mini"
type="text" type="text"
@ -258,14 +253,7 @@
</template> </template>
<script> <script>
import { import { listEnterprise, getEnterprise, delEnterprise, addEnterprise, updateEnterprise } from "@/api/enterprise/enterprise";
listEnterprise,
getEnterprise,
delEnterprise,
addEnterprise,
updateEnterprise,
enterpriseUpdateId
} from "@/api/enterprise/enterprise";
export default { export default {
name: "Enterprise", name: "Enterprise",
@ -302,11 +290,12 @@ export default {
contactPhone: null, contactPhone: null,
email: null, email: null,
status: null, status: null,
examineStatus:null,
registrationDate: null, registrationDate: null,
certificationId: null,
authenticationDate: null, authenticationDate: null,
serviceLevel: null, serviceLevel: null,
openServerId: null openServerId: null,
addServerId: null,
}, },
// //
form: {}, form: {},
@ -319,17 +308,6 @@ export default {
this.getList(); this.getList();
}, },
methods: { methods: {
EnterpriseUpdate(row){
enterpriseUpdateId(row.id).then(res=>{
if (res.code === 200) {
this.$modal.msgSuccess(res.data);
this.getList();
}else {
this.$modal.msgSuccess(res.data);
this.getList();
}
})
},
/** 查询企业列表 */ /** 查询企业列表 */
getList() { getList() {
this.loading = true; this.loading = true;
@ -358,10 +336,11 @@ export default {
email: null, email: null,
status: null, status: null,
registrationDate: null, registrationDate: null,
examineStatus: null, certificationId: null,
authenticationDate: null, authenticationDate: null,
serviceLevel: null, serviceLevel: null,
openServerId: null, openServerId: null,
addServerId: null,
createBy: null, createBy: null,
createTime: null, createTime: null,
updateBy: null, updateBy: null,