本企业产品添加更多设置

ywj_dev
anthonywj 2 years ago
parent c6ab446df1
commit 35e1b55f54

@ -710,7 +710,6 @@ export default {
}
,
bindId(val) {
debugger
if (this.curRow.code != null || this.type == 1) {
this.$emit("selectBindRl", val);
// this.$emit("closeBindDialog", true);

@ -407,7 +407,6 @@ export default {
};
},
created() {
debugger
this.getRoIds();
this.getCompanyCertList();
this.customerlist();
@ -545,7 +544,6 @@ export default {
getRoIds(){
let params={companyId:this.inputQuery.customerId}
getRoId(params).then((res) =>{
debugger
this.inputQuery.roleId=parseInt(res.data.roleId);
})
},

@ -211,7 +211,6 @@ export default {
}
this.loading = true;
this.filterQuery.status = 3;
debugger
this.filterQuery.supId = this.customerId;
listOrder(this.filterQuery)
.then((response) => {

@ -479,7 +479,6 @@ export default {
};
},
created() {
debugger
if (this.$isNotBlank(this.idQuery.id)) {
this.query.limit = 100;
this.pId = this.idQuery.id;

@ -399,7 +399,7 @@ export default {
addType: "1", //1:2.3.
editTye: 1,
checkFlag: {
0: "草稿",
0: "未认证",
1: "已通过",
2: "已拒绝",
3: "变更未审核",

File diff suppressed because it is too large Load Diff

@ -1,36 +1,28 @@
<template>
<div>
<el-card>
<el-form :model="query" label-width="100px">
<el-form :model="query" label-width="100px" :inline="true" class="query-form" size="mini">
<el-row>
<el-col :span="6">
<el-form-item label="用户账号:">
<el-input v-model="query.userName" style="width: 90%" placeholder="请输入用户账号"></el-input>
</el-form-item>
</el-col>
<el-col :span="6">
<el-form-item label="状态:">
<el-select v-model="query.userFlag" style="width: 90%" placeholder="请选择状态">
<el-option label="全部" value=""></el-option>
<el-option label="禁用" value="0"></el-option>
<el-option label="正常" value="1"></el-option>
<el-option label="未验证" value="2"></el-option>
</el-select>
</el-form-item>
</el-col>
<el-col :span="4">
<el-form-item label="用户账号:">
<el-input v-model="query.userName" placeholder="请输入用户账号"></el-input>
</el-form-item>
<el-form-item label="状态:">
<el-select v-model="query.userFlag" placeholder="请选择状态">
<el-option label="全部" value=""></el-option>
<el-option label="禁用" value="0"></el-option>
<el-option label="正常" value="1"></el-option>
<el-option label="未验证" value="2"></el-option>
</el-select>
</el-form-item>
<el-form-item>
<el-button-group>
<el-button type="primary" icon="el-icon-refresh" @click="onReset"></el-button>
<el-button type="primary" icon="search" @click="onSubmit"></el-button>
<el-button type="primary" @click.native="handleForm(null, null)">新增</el-button>
<el-button type="primary" icon="el-icon-refresh" @click="onReset"></el-button>
<el-button type="primary" icon="el-icon-search" @click="onSubmit"></el-button>
<el-button type="primary" icon="el-icon-plus" @click.native="handleForm(null, null)">新增</el-button>
</el-button-group>
</el-form-item>
</el-col>
</el-row>
</el-form>
<el-table v-loading="loading" :data="list" border style="width: 100%">
<el-table-column label="序号" type="index" width="50" fixed></el-table-column>
<el-table-column label="用户账号" prop="userName" fixed></el-table-column>
@ -135,7 +127,7 @@ import {
authAdminDelete
} from '../../api/auth/authAdmin'
import { userInfo } from '../../api/auth/login'
import {userInfo} from '../../api/auth/login'
const formJson = {
id: '',
@ -198,10 +190,10 @@ export default {
formData: formJson,
formRules: {},
addRules: {
userName: [{ required: true, message: '请输入姓名', trigger: 'blur' }],
userName: [{required: true, message: '请输入姓名', trigger: 'blur'}],
passWord: [
{ required: true, message: '请输入密码', trigger: 'blur' },
{ validator: validatePass, trigger: 'blur' }
{required: true, message: '请输入密码', trigger: 'blur'},
{validator: validatePass, trigger: 'blur'}
],
checkPassword: [
{
@ -209,14 +201,14 @@ export default {
message: '请再次输入密码',
trigger: 'blur'
},
{ validator: validatePass2, trigger: 'blur' }
{validator: validatePass2, trigger: 'blur'}
]
// userFlag: [
// { required: true, message: "", trigger: "change" },
// ],
},
editRules: {
userName: [{ required: true, message: '请输入姓名', trigger: 'blur' }]
userName: [{required: true, message: '请输入姓名', trigger: 'blur'}]
// userFlag: [
// { required: true, message: "", trigger: "change" },
// ],
@ -381,7 +373,7 @@ export default {
type: 'warning'
})
.then(() => {
let para = { id: row.id }
let para = {id: row.id}
this.deleteLoading = true
authAdminDelete(para)
.then((response) => {
@ -426,8 +418,6 @@ export default {
},
created() {
this.getList()
debugger
}
}
</script>

Loading…
Cancel
Save