bug修改

master
wangwei 2 years ago
parent 77ba02817d
commit a341852c8a

@ -2,8 +2,8 @@ import request from "@/utils/request";
export function filterList(param) {
return request({
url: "/sup/company/person/filterList",
method: "get",
params :param
method: "post",
data :param
});
}

@ -148,7 +148,7 @@
></el-option>
<el-option label="流通企业" value="2"></el-option>
<el-option label="医疗机构" value="3"></el-option>
<el-option label="监管机构" value="4"></el-option>
<!--<el-option label="监管机构" value="4"></el-option>-->
</el-select>
</el-form-item>
</el-col>
@ -443,7 +443,7 @@
></el-table-column>
<el-table-column label="证书名称" prop="name"></el-table-column>
<el-table-column label="证书编号" prop="code"></el-table-column>
<el-table-column label="生效期" prop="vailDate"></el-table-column>
<el-table-column label="生效期" prop="validDate"></el-table-column>
<el-table-column label="失效期" prop="expireDate"></el-table-column>
<el-table-column label="确认状态" prop="checkStatus" width="120">
<template slot-scope="scope">

@ -34,14 +34,14 @@
<el-row>
<el-col :span="3">
<div class="ao-text">
<span>起始日</span>
<span>生效</span>
</div>
</el-col>
<el-col :span="8">
<el-form-item prop="vailDate">
<el-form-item prop="validDate">
<el-date-picker
v-model="formData.vailDate"
v-model="formData.validDate"
type="date"
:disabled="formData.auditStatus == 1"
value-format="yyyy-MM-dd"
@ -53,7 +53,7 @@
<el-col :span="3">
<div class="ao-text">
<span>效期</span>
<span>效期</span>
</div>
</el-col>
<el-col :span="8">
@ -165,7 +165,7 @@ export default {
code: "",
isCleck:false,
formData: {
vailDate: null,
validDate: null,
expireDate: null,
remark: null,
checkComment:null,
@ -249,7 +249,6 @@ export default {
},
submitUpload(){
debugger
if(this.editTye == 1){
this.onConfirmSubmit();
}else{
@ -273,9 +272,10 @@ export default {
updateCert(){
updateCert(this.formData).then((res)=>{
if(res.code == 20000){
debugger
this.$message.success("修改成功!")
this.closeDialog();
}else{
this.$message.error(res.message);
}
})
},

@ -33,7 +33,7 @@
type="primary"
icon="el-icon-refresh"
@click="onReset"
></el-button>
>重置</el-button>
<el-button type="primary" icon="search" @click="onSubmit"
>查询</el-button
>
@ -277,14 +277,20 @@ export default {
},
{ validator: validatePass2, trigger: "blur" },
],
userFlag: [
{ required: true, message: "请选择状态", trigger: "change" },
],
},
editRules: {
userName: [{ required: true, message: "请输入姓名", trigger: "blur" }],
userFlag: [
{ required: true, message: "请选择状态", trigger: "change" },
password: [
{ required: true, message: "请输入密码", trigger: "blur" },
{ validator: validatePass, trigger: "blur" },
],
checkPassword: [
{
required: true,
message: "请再次输入密码",
trigger: "blur",
},
{ validator: validatePass2, trigger: "blur" },
],
},
deleteLoading: false,
@ -315,23 +321,24 @@ export default {
});
this.query = {
userName: "",
userFlag: "",
name: "",
page: 1,
limit: 20,
roleId: "",
customerId: this.currentCustomer,
tel: "",
qq: "",
weChat: "",
email: "",
createTime: "",
companyId: this.currentCustomer,
};
this.getList();
},
onSubmit() {
this.$router.push({
path: "",
query: this.query,
});
this.query.page = 1;
this.getList();
},
handleCurrentChange(val) {
this.query.page = val;
this.query.page = val.page;
this.getList();
},
getList() {

@ -65,8 +65,8 @@
></el-table-column>
<el-table-column
label="法人身份证"
prop="legalPerson"
label="法人身份证"
prop="legalIdCard"
width="230"
></el-table-column>

Loading…
Cancel
Save