Skip to content
项目
群组
代码片段
帮助
当前项目
正在载入...
登录 / 注册
切换导航面板
C
customer-admin
项目
项目
详情
活动
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
图表
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
日程
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
折叠边栏
关闭边栏
活动
图像
聊天
创建新问题
作业
提交
问题看板
Open sidebar
EzijingWeb
customer-admin
Commits
a0a05aa0
提交
a0a05aa0
authored
10月 28, 2021
作者:
pengxiaohui
浏览文件
操作
浏览文件
下载
差异文件
Merge branch 'master' of
https://gitlab.ezijing.com/webapp/customer-admin
上级
a203882a
87cba8c3
显示空白字符变更
内嵌
并排
正在显示
8 个修改的文件
包含
111 行增加
和
29 行删除
+111
-29
CreateContact.vue
src/modules/customer/components/CreateContact.vue
+19
-4
CreateCoopProject.vue
src/modules/customer/components/CreateCoopProject.vue
+18
-3
CreateFollow.vue
src/modules/customer/components/CreateFollow.vue
+13
-4
CustomerFormDialog.vue
src/modules/customer/components/CustomerFormDialog.vue
+18
-7
AddCustomer.vue
src/modules/system/customergroup/components/AddCustomer.vue
+13
-3
AddCustomerGroup.vue
...ules/system/customergroup/components/AddCustomerGroup.vue
+19
-4
AddEmployees.vue
src/modules/system/customergroup/components/AddEmployees.vue
+11
-2
List.vue
src/modules/system/customergroup/views/List.vue
+0
-2
没有找到文件。
src/modules/customer/components/CreateContact.vue
浏览文件 @
a0a05aa0
...
@@ -51,7 +51,7 @@
...
@@ -51,7 +51,7 @@
</el-row>
</el-row>
<el-form-item>
<el-form-item>
<el-row
style=
"text-align: center; margin-top: 30px"
>
<el-row
style=
"text-align: center; margin-top: 30px"
>
<el-button
type=
"primary"
@
click=
"submit"
>
提交
</el-button>
<el-button
type=
"primary"
@
click=
"submit"
:disabled=
"btnDisabled"
>
提交
</el-button>
<el-button
@
click=
"$emit('update:visible', false)"
style=
"margin-left: 20px"
>
取消
</el-button>
<el-button
@
click=
"$emit('update:visible', false)"
style=
"margin-left: 20px"
>
取消
</el-button>
</el-row>
</el-row>
</el-form-item>
</el-form-item>
...
@@ -64,6 +64,7 @@ import { createContact, UpdateContact } from '../api'
...
@@ -64,6 +64,7 @@ import { createContact, UpdateContact } from '../api'
export
default
{
export
default
{
data
()
{
data
()
{
return
{
return
{
btnDisabled
:
false
,
form
:
{
form
:
{
name
:
''
,
name
:
''
,
positoon
:
''
,
positoon
:
''
,
...
@@ -113,19 +114,33 @@ export default {
...
@@ -113,19 +114,33 @@ export default {
},
},
edit
()
{
edit
()
{
const
params
=
Object
.
assign
({
id
:
this
.
row
.
id
},
this
.
form
)
const
params
=
Object
.
assign
({
id
:
this
.
row
.
id
},
this
.
form
)
UpdateContact
(
params
).
then
(
res
=>
{
this
.
btnDisabled
=
true
this
.
$message
.
success
(
'新建联系人成功'
)
UpdateContact
(
params
)
.
then
(
res
=>
{
this
.
$message
.
success
(
'更新联系人成功'
)
this
.
$emit
(
'update:visible'
,
false
)
this
.
$emit
(
'update:visible'
,
false
)
this
.
$emit
(
'success'
,
res
.
data
)
this
.
$emit
(
'success'
,
res
.
data
)
})
})
.
finally
(()
=>
{
window
.
setTimeout
(()
=>
{
this
.
btnDisabled
=
false
},
500
)
})
},
},
create
()
{
create
()
{
const
params
=
Object
.
assign
({
customer_id
:
this
.
id
},
this
.
form
)
const
params
=
Object
.
assign
({
customer_id
:
this
.
id
},
this
.
form
)
createContact
(
params
).
then
(
res
=>
{
this
.
btnDisabled
=
true
createContact
(
params
)
.
then
(
res
=>
{
this
.
$message
.
success
(
'新建联系人成功'
)
this
.
$message
.
success
(
'新建联系人成功'
)
this
.
$emit
(
'update:visible'
,
false
)
this
.
$emit
(
'update:visible'
,
false
)
this
.
$emit
(
'success'
,
res
.
data
)
this
.
$emit
(
'success'
,
res
.
data
)
})
})
.
finally
(()
=>
{
window
.
setTimeout
(()
=>
{
this
.
btnDisabled
=
false
},
500
)
})
}
}
}
}
}
}
...
...
src/modules/customer/components/CreateCoopProject.vue
浏览文件 @
a0a05aa0
...
@@ -60,7 +60,7 @@
...
@@ -60,7 +60,7 @@
</el-form-item>
</el-form-item>
<el-form-item>
<el-form-item>
<el-row
style=
"text-align: center; margin-top: 20px"
>
<el-row
style=
"text-align: center; margin-top: 20px"
>
<el-button
type=
"primary"
@
click=
"submit"
>
提交
</el-button>
<el-button
type=
"primary"
@
click=
"submit"
:disabled=
"btnDisabled"
>
提交
</el-button>
<el-button
@
click=
"$emit('update:visible', false)"
style=
"margin-left: 20px"
>
取消
</el-button>
<el-button
@
click=
"$emit('update:visible', false)"
style=
"margin-left: 20px"
>
取消
</el-button>
</el-row>
</el-row>
</el-form-item>
</el-form-item>
...
@@ -76,6 +76,7 @@ export default {
...
@@ -76,6 +76,7 @@ export default {
components
:
{
AppUserSearch
},
components
:
{
AppUserSearch
},
data
()
{
data
()
{
return
{
return
{
btnDisabled
:
false
,
form
:
{
form
:
{
tag
:
''
,
tag
:
''
,
status
:
''
,
status
:
''
,
...
@@ -138,19 +139,33 @@ export default {
...
@@ -138,19 +139,33 @@ export default {
},
},
create
()
{
create
()
{
const
params
=
Object
.
assign
({
customer_id
:
this
.
id
},
this
.
form
)
const
params
=
Object
.
assign
({
customer_id
:
this
.
id
},
this
.
form
)
createCooProject
(
params
).
then
(
res
=>
{
this
.
btnDisabled
=
true
createCooProject
(
params
)
.
then
(
res
=>
{
this
.
$message
.
success
(
'新建合作项目成功'
)
this
.
$message
.
success
(
'新建合作项目成功'
)
this
.
$emit
(
'update:visible'
,
false
)
this
.
$emit
(
'update:visible'
,
false
)
this
.
$emit
(
'success'
,
res
.
data
)
this
.
$emit
(
'success'
,
res
.
data
)
})
})
.
finally
(()
=>
{
window
.
setTimeout
(()
=>
{
this
.
btnDisabled
=
false
},
500
)
})
},
},
edit
()
{
edit
()
{
const
params
=
Object
.
assign
({
id
:
this
.
row
.
id
},
this
.
form
)
const
params
=
Object
.
assign
({
id
:
this
.
row
.
id
},
this
.
form
)
editCooProject
(
params
).
then
(
res
=>
{
this
.
btnDisabled
=
true
editCooProject
(
params
)
.
then
(
res
=>
{
this
.
$message
.
success
(
'更新合作项目成功'
)
this
.
$message
.
success
(
'更新合作项目成功'
)
this
.
$emit
(
'update:visible'
,
false
)
this
.
$emit
(
'update:visible'
,
false
)
this
.
$emit
(
'success'
,
res
.
data
)
this
.
$emit
(
'success'
,
res
.
data
)
})
})
.
finally
(()
=>
{
window
.
setTimeout
(()
=>
{
this
.
btnDisabled
=
false
},
500
)
})
}
}
}
}
}
}
...
...
src/modules/customer/components/CreateFollow.vue
浏览文件 @
a0a05aa0
...
@@ -66,7 +66,14 @@
...
@@ -66,7 +66,14 @@
</el-select>
</el-select>
</el-form-item>
</el-form-item>
<el-form-item
label=
"跟进记录"
prop=
"desc"
>
<el-form-item
label=
"跟进记录"
prop=
"desc"
>
<el-input
v-model=
"form.desc"
type=
"textarea"
size=
"small"
rows=
"4"
placeholder=
"请输入跟进记录"
/>
<el-input
v-model=
"form.desc"
type=
"textarea"
size=
"small"
rows=
"4"
placeholder=
"请输入跟进记录"
maxlength=
"200"
/>
</el-form-item>
</el-form-item>
<el-form-item>
<el-form-item>
<el-button
type=
"primary"
style=
"margin-left: 20px"
@
click=
"submit"
:disabled=
"btnDisabled"
>
提交
</el-button>
<el-button
type=
"primary"
style=
"margin-left: 20px"
@
click=
"submit"
:disabled=
"btnDisabled"
>
提交
</el-button>
...
@@ -132,7 +139,7 @@ export default {
...
@@ -132,7 +139,7 @@ export default {
methods
:
{
methods
:
{
// 提交
// 提交
submit
()
{
submit
()
{
this
.
$refs
.
form
.
validate
().
then
(
(
valid
)
=>
{
this
.
$refs
.
form
.
validate
().
then
(
valid
=>
{
if
(
valid
)
{
if
(
valid
)
{
this
.
fetchCreateRecord
()
this
.
fetchCreateRecord
()
}
}
...
@@ -154,11 +161,13 @@ export default {
...
@@ -154,11 +161,13 @@ export default {
// }
// }
// }
// }
this
.
btnDisabled
=
true
this
.
btnDisabled
=
true
createFollowRecord
(
this
.
customerId
,
params
).
then
(
res
=>
{
createFollowRecord
(
this
.
customerId
,
params
)
.
then
(
res
=>
{
this
.
$message
.
success
(
'新建跟进记录成功'
)
this
.
$message
.
success
(
'新建跟进记录成功'
)
this
.
$emit
(
'input'
,
false
)
this
.
$emit
(
'input'
,
false
)
this
.
$emit
(
'success'
)
this
.
$emit
(
'success'
)
}).
finally
(()
=>
{
})
.
finally
(()
=>
{
window
.
setTimeout
(()
=>
{
window
.
setTimeout
(()
=>
{
this
.
btnDisabled
=
false
this
.
btnDisabled
=
false
},
500
)
},
500
)
...
...
src/modules/customer/components/CustomerFormDialog.vue
浏览文件 @
a0a05aa0
...
@@ -10,10 +10,10 @@
...
@@ -10,10 +10,10 @@
>
>
<el-form
:model=
"form"
:rules=
"rules"
ref=
"ruleForm"
label-width=
"90px"
>
<el-form
:model=
"form"
:rules=
"rules"
ref=
"ruleForm"
label-width=
"90px"
>
<el-form-item
label=
"客户名称"
prop=
"name"
>
<el-form-item
label=
"客户名称"
prop=
"name"
>
<el-input
v-model=
"form.name"
size=
"small"
placeholder=
"请输入客户名称"
/>
<el-input
v-model=
"form.name"
size=
"small"
placeholder=
"请输入客户名称"
maxlength=
"50"
/>
</el-form-item>
</el-form-item>
<el-form-item
label=
"客户简称"
>
<el-form-item
label=
"客户简称"
>
<el-input
v-model=
"form.short_name"
size=
"small"
placeholder=
"请输入客户简称"
/>
<el-input
v-model=
"form.short_name"
size=
"small"
placeholder=
"请输入客户简称"
maxlength=
"50"
/>
</el-form-item>
</el-form-item>
<el-form-item
label=
"客户来源"
prop=
"source"
class=
"form-item-select"
style=
"margin-right: 20px"
>
<el-form-item
label=
"客户来源"
prop=
"source"
class=
"form-item-select"
style=
"margin-right: 20px"
>
<el-select
v-model=
"form.source"
placeholder=
"请选择客户来源"
size=
"small"
style=
"width: 100%"
>
<el-select
v-model=
"form.source"
placeholder=
"请选择客户来源"
size=
"small"
style=
"width: 100%"
>
...
@@ -35,7 +35,14 @@
...
@@ -35,7 +35,14 @@
<el-input
v-model=
"form.address"
size=
"small"
placeholder=
"请输入详细地址"
/>
<el-input
v-model=
"form.address"
size=
"small"
placeholder=
"请输入详细地址"
/>
</el-form-item>
</el-form-item>
<el-form-item
label=
"备注"
prop=
"remark"
>
<el-form-item
label=
"备注"
prop=
"remark"
>
<el-input
v-model=
"form.remark"
type=
"textarea"
size=
"small"
rows=
"4"
placeholder=
"请输入备注"
/>
<el-input
v-model=
"form.remark"
type=
"textarea"
size=
"small"
rows=
"4"
placeholder=
"请输入备注"
maxlength=
"200"
/>
</el-form-item>
</el-form-item>
<el-form-item>
<el-form-item>
<el-button
type=
"primary"
@
click=
"handleSubmit"
size=
"mini"
:disabled=
"btnDisabled"
>
提交
</el-button>
<el-button
type=
"primary"
@
click=
"handleSubmit"
size=
"mini"
:disabled=
"btnDisabled"
>
提交
</el-button>
...
@@ -112,13 +119,15 @@ export default {
...
@@ -112,13 +119,15 @@ export default {
const
params
=
Object
.
assign
({},
this
.
form
)
const
params
=
Object
.
assign
({},
this
.
form
)
params
.
region
=
this
.
form
.
region
.
join
(
'-'
)
params
.
region
=
this
.
form
.
region
.
join
(
'-'
)
this
.
btnDisabled
=
true
this
.
btnDisabled
=
true
createCustomer
(
params
).
then
(
res
=>
{
createCustomer
(
params
)
.
then
(
res
=>
{
if
(
res
.
code
===
0
&&
res
.
data
&&
res
.
data
.
id
)
{
if
(
res
.
code
===
0
&&
res
.
data
&&
res
.
data
.
id
)
{
this
.
$message
.
success
(
'创建客户成功'
)
this
.
$message
.
success
(
'创建客户成功'
)
this
.
$emit
(
'input'
,
false
)
this
.
$emit
(
'input'
,
false
)
this
.
$emit
(
'change'
)
this
.
$emit
(
'change'
)
}
}
}).
finally
(()
=>
{
})
.
finally
(()
=>
{
window
.
setTimeout
(()
=>
{
window
.
setTimeout
(()
=>
{
this
.
btnDisabled
=
false
this
.
btnDisabled
=
false
},
500
)
},
500
)
...
@@ -128,13 +137,15 @@ export default {
...
@@ -128,13 +137,15 @@ export default {
const
params
=
Object
.
assign
({},
this
.
form
)
const
params
=
Object
.
assign
({},
this
.
form
)
params
.
region
=
this
.
form
.
region
.
join
(
'-'
)
params
.
region
=
this
.
form
.
region
.
join
(
'-'
)
this
.
btnDisabled
=
true
this
.
btnDisabled
=
true
updateCustomer
(
this
.
info
.
id
,
params
).
then
(
res
=>
{
updateCustomer
(
this
.
info
.
id
,
params
)
.
then
(
res
=>
{
if
(
res
.
code
===
0
&&
res
.
data
&&
res
.
data
.
status
)
{
if
(
res
.
code
===
0
&&
res
.
data
&&
res
.
data
.
status
)
{
this
.
$message
.
success
(
'更新客户成功'
)
this
.
$message
.
success
(
'更新客户成功'
)
this
.
$emit
(
'input'
,
false
)
this
.
$emit
(
'input'
,
false
)
this
.
$emit
(
'change'
)
this
.
$emit
(
'change'
)
}
}
}).
finally
(()
=>
{
})
.
finally
(()
=>
{
window
.
setTimeout
(()
=>
{
window
.
setTimeout
(()
=>
{
this
.
btnDisabled
=
false
this
.
btnDisabled
=
false
},
500
)
},
500
)
...
...
src/modules/system/customergroup/components/AddCustomer.vue
浏览文件 @
a0a05aa0
...
@@ -7,7 +7,9 @@
...
@@ -7,7 +7,9 @@
</
template
>
</
template
>
<
template
#
footer
>
<
template
#
footer
>
<el-button
@
click=
"$emit('update:visible', false)"
style=
"margin-left: 20px"
>
取消
</el-button>
<el-button
@
click=
"$emit('update:visible', false)"
style=
"margin-left: 20px"
>
取消
</el-button>
<el-button
type=
"primary"
@
click=
"submit"
>
提交
</el-button>
<el-button
type=
"primary"
@
click=
"submit"
:disabled=
"btnDisabled || multipleSelection.length === 0"
>
提交
</el-button
>
</
template
>
</
template
>
</app-list>
</app-list>
</app-card>
</app-card>
...
@@ -24,7 +26,8 @@ export default {
...
@@ -24,7 +26,8 @@ export default {
},
},
data
()
{
data
()
{
return
{
return
{
multipleSelection
:
[]
multipleSelection
:
[],
btnDisabled
:
false
}
}
},
},
props
:
{
props
:
{
...
@@ -79,7 +82,9 @@ export default {
...
@@ -79,7 +82,9 @@ export default {
const
param
=
this
.
multipleSelection
const
param
=
this
.
multipleSelection
const
arr
=
param
.
map
(
item
=>
item
.
id
)
const
arr
=
param
.
map
(
item
=>
item
.
id
)
const
params
=
{
group_id
:
this
.
id
,
customer_ids
:
arr
}
const
params
=
{
group_id
:
this
.
id
,
customer_ids
:
arr
}
createCustomer
(
params
).
then
(
res
=>
{
this
.
btnDisabled
=
true
createCustomer
(
params
)
.
then
(
res
=>
{
if
(
res
.
code
===
0
)
{
if
(
res
.
code
===
0
)
{
this
.
$message
.
success
(
'添加客户成功'
)
this
.
$message
.
success
(
'添加客户成功'
)
this
.
$emit
(
'update:visible'
,
false
)
this
.
$emit
(
'update:visible'
,
false
)
...
@@ -87,6 +92,11 @@ export default {
...
@@ -87,6 +92,11 @@ export default {
this
.
$refs
.
list
.
refetch
()
this
.
$refs
.
list
.
refetch
()
}
}
})
})
.
finally
(()
=>
{
window
.
setTimeout
(()
=>
{
this
.
btnDisabled
=
false
},
500
)
})
}
}
}
}
}
}
...
...
src/modules/system/customergroup/components/AddCustomerGroup.vue
浏览文件 @
a0a05aa0
...
@@ -7,7 +7,7 @@
...
@@ -7,7 +7,7 @@
<el-form-item>
<el-form-item>
<el-row
style=
"float: right"
>
<el-row
style=
"float: right"
>
<el-button
@
click=
"$emit('update:visible', false)"
>
取消
</el-button>
<el-button
@
click=
"$emit('update:visible', false)"
>
取消
</el-button>
<el-button
type=
"primary"
style=
"margin-left: 20px"
@
click=
"submit"
>
提交
</el-button>
<el-button
type=
"primary"
style=
"margin-left: 20px"
@
click=
"submit"
:disabled=
"btnDisabled"
>
提交
</el-button>
</el-row>
</el-row>
</el-form-item>
</el-form-item>
</el-form>
</el-form>
...
@@ -20,7 +20,8 @@ export default {
...
@@ -20,7 +20,8 @@ export default {
data
()
{
data
()
{
return
{
return
{
form
:
{
form
:
{
name
:
''
name
:
''
,
btnDisabled
:
false
},
},
rules
:
{
rules
:
{
name
:
[
name
:
[
...
@@ -60,21 +61,35 @@ export default {
...
@@ -60,21 +61,35 @@ export default {
// 编辑/更新客户组
// 编辑/更新客户组
edit
()
{
edit
()
{
const
params
=
Object
.
assign
({
id
:
this
.
data
.
id
},
this
.
form
)
const
params
=
Object
.
assign
({
id
:
this
.
data
.
id
},
this
.
form
)
editCustomerGroup
(
params
).
then
(
res
=>
{
this
.
btnDisabled
=
true
editCustomerGroup
(
params
)
.
then
(
res
=>
{
this
.
$message
.
success
(
'客户组更新成功'
)
this
.
$message
.
success
(
'客户组更新成功'
)
this
.
$emit
(
'update:visible'
,
false
)
this
.
$emit
(
'update:visible'
,
false
)
this
.
$emit
(
'success'
,
res
.
data
)
this
.
$emit
(
'success'
,
res
.
data
)
})
})
.
finally
(()
=>
{
window
.
setTimeout
(()
=>
{
this
.
btnDisabled
=
false
},
500
)
})
},
},
// 新建客户组
// 新建客户组
create
()
{
create
()
{
createCustomerGroup
(
this
.
form
).
then
(
res
=>
{
this
.
btnDisabled
=
true
createCustomerGroup
(
this
.
form
)
.
then
(
res
=>
{
if
(
res
.
code
===
0
)
{
if
(
res
.
code
===
0
)
{
this
.
$message
.
success
(
'客户组创建成功'
)
this
.
$message
.
success
(
'客户组创建成功'
)
this
.
$emit
(
'update:visible'
,
false
)
this
.
$emit
(
'update:visible'
,
false
)
this
.
$emit
(
'success'
,
res
.
data
)
this
.
$emit
(
'success'
,
res
.
data
)
}
}
})
})
.
finally
(()
=>
{
window
.
setTimeout
(()
=>
{
this
.
btnDisabled
=
false
},
500
)
})
}
}
}
}
}
}
...
...
src/modules/system/customergroup/components/AddEmployees.vue
浏览文件 @
a0a05aa0
...
@@ -29,7 +29,7 @@
...
@@ -29,7 +29,7 @@
<el-form-item>
<el-form-item>
<el-row
style=
"float: right"
>
<el-row
style=
"float: right"
>
<el-button
@
click=
"$emit('update:visible', false)"
>
取消
</el-button>
<el-button
@
click=
"$emit('update:visible', false)"
>
取消
</el-button>
<el-button
type=
"primary"
@
click=
"submit"
>
提交
</el-button>
<el-button
type=
"primary"
@
click=
"submit"
:disabled=
"btnDisabled"
>
提交
</el-button>
</el-row>
</el-row>
</el-form-item>
</el-form-item>
</el-form>
</el-form>
...
@@ -48,6 +48,7 @@ export default {
...
@@ -48,6 +48,7 @@ export default {
},
},
data
()
{
data
()
{
return
{
return
{
btnDisabled
:
false
,
loading
:
false
,
loading
:
false
,
form
:
{
form
:
{
id
:
''
id
:
''
...
@@ -94,8 +95,11 @@ export default {
...
@@ -94,8 +95,11 @@ export default {
})
})
},
},
submit
()
{
submit
()
{
this
.
$refs
.
form
.
validate
().
then
(()
=>
{
this
.
$refs
.
form
.
validate
()
.
then
(()
=>
{
const
params
=
Object
.
assign
({
group_id
:
this
.
id
,
staff_ids
:
this
.
form
.
id
})
const
params
=
Object
.
assign
({
group_id
:
this
.
id
,
staff_ids
:
this
.
form
.
id
})
this
.
btnDisabled
=
true
createEmployee
(
params
).
then
(
res
=>
{
createEmployee
(
params
).
then
(
res
=>
{
if
(
res
.
code
===
0
)
{
if
(
res
.
code
===
0
)
{
this
.
$message
.
success
(
'添加员工成功'
)
this
.
$message
.
success
(
'添加员工成功'
)
...
@@ -104,6 +108,11 @@ export default {
...
@@ -104,6 +108,11 @@ export default {
}
}
})
})
})
})
.
finally
(()
=>
{
window
.
setTimeout
(()
=>
{
this
.
btnDisabled
=
false
},
500
)
})
}
}
}
}
}
}
...
...
src/modules/system/customergroup/views/List.vue
浏览文件 @
a0a05aa0
...
@@ -69,11 +69,9 @@ export default {
...
@@ -69,11 +69,9 @@ export default {
{
label
:
'客户数量'
,
prop
:
'customer_count'
,
align
:
'center'
},
{
label
:
'客户数量'
,
prop
:
'customer_count'
,
align
:
'center'
},
{
label
:
'员工数量'
,
prop
:
'staff_count'
,
align
:
'center'
},
{
label
:
'员工数量'
,
prop
:
'staff_count'
,
align
:
'center'
},
{
label
:
'创建时间'
,
prop
:
'created_at'
,
align
:
'center'
},
{
label
:
'创建时间'
,
prop
:
'created_at'
,
align
:
'center'
},
// { label: '创建人', prop: 'created_by.username', align: 'center' },
{
{
prop
:
'created_by'
,
prop
:
'created_by'
,
label
:
'创建人'
,
label
:
'创建人'
,
// minWidth: '100px',
computed
({
row
})
{
computed
({
row
})
{
return
row
.
created_by
.
realname
||
row
.
created_by
.
nickname
||
row
.
created_by
.
username
return
row
.
created_by
.
realname
||
row
.
created_by
.
nickname
||
row
.
created_by
.
username
}
}
...
...
编写
预览
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论