feat: 法大大用户列表支持直接修改手机号

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
2026-11-09 18:17:15 +08:00
co-authored by Cursor
parent 0e2c0ac190
commit eb57fdd7c5
2 changed files with 9 additions and 9 deletions
+5 -8
View File
@@ -44,6 +44,9 @@
:active-value="1" :active-value="1"
:inactive-value="0"/> :inactive-value="0"/>
</template> </template>
<template v-slot:mobile="{ row, column, index }">
<el-input v-model="row.mobile" @change="changeField(row._id, 'mobile', $event)"/>
</template>
<template v-slot:mid="{ row, column, index }"> <template v-slot:mid="{ row, column, index }">
<el-input v-model="row.mid" @change="changeField(row._id, 'mid', $event)"/> <el-input v-model="row.mid" @change="changeField(row._id, 'mid', $event)"/>
</template> </template>
@@ -192,15 +195,9 @@ export default {
action: "admin/system/user/sys/getList", action: "admin/system/user/sys/getList",
// 表格字段显示规则 // 表格字段显示规则
columns: [ columns: [
{key: "mobile", title: "手机号", type: "text", width: 120, defaultValue: ""}, {key: "mobile", title: "手机号", type: "html", width: 160, defaultValue: ""},
{ {
key: "mobile", title: "个人信息", type: "html", defaultValue: "", key: "person.personName", title: "姓名", type: "text", width: 120, defaultValue: "",
formatter: (val, row, column, index) => {
let str
str = `<view>${row.person.personName}</view>`
str += `<view>${row.mobile}</view>`
return str;
}
}, },
// { // {
// key: "authType", title: "认证类型", type: "html", defaultValue: "", // key: "authType", title: "认证类型", type: "html", defaultValue: "",
+4 -1
View File
@@ -109,6 +109,9 @@
<template v-slot:remainQuoteNum="{ row, column, index }"> <template v-slot:remainQuoteNum="{ row, column, index }">
<el-input-number v-model="row.remainQuoteNum" @change="changeQuoteNum($event, row._id)"/> <el-input-number v-model="row.remainQuoteNum" @change="changeQuoteNum($event, row._id)"/>
</template> </template>
<template v-slot:mobile="{ row, column, index }">
<el-input v-model="row.mobile" @change="changeField(row._id, 'mobile', $event)"/>
</template>
<template v-slot:mid="{ row, column, index }"> <template v-slot:mid="{ row, column, index }">
<el-input v-model="row.mid" @change="changeField(row._id, 'mid', $event)"/> <el-input v-model="row.mid" @change="changeField(row._id, 'mid', $event)"/>
</template> </template>
@@ -335,7 +338,7 @@ export default {
{key: "company.companyName", title: "企业名称", type: "text", width: 200, fixed: 'left'}, {key: "company.companyName", title: "企业名称", type: "text", width: 200, fixed: 'left'},
{key: "company.organization", title: "统一社会信用代码", type: "text", width: 200}, {key: "company.organization", title: "统一社会信用代码", type: "text", width: 200},
{key: "company.mailAddress", title: "有效通信地址", type: "text", width: 200}, {key: "company.mailAddress", title: "有效通信地址", type: "text", width: 200},
{key: "mobile", title: "手机号", type: "text", width: 150}, {key: "mobile", title: "手机号", type: "html", width: 160},
{ {
key: "", title: "授权人", type: "html", formatter: (val, row, column, index) => { key: "", title: "授权人", type: "html", formatter: (val, row, column, index) => {
let str let str