Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
phsl
/
admin
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Members
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
dc5cf9f2
authored
Oct 29, 2023
by
YunaiV
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
code review:客户表的实现
parent
690b208a
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
4 deletions
+7
-4
src/views/crm/customer/CustomerForm.vue
+3
-2
src/views/crm/customer/index.vue
+4
-2
No files found.
src/views/crm/customer/CustomerForm.vue
View file @
dc5cf9f2
<
template
>
<Dialog
:title=
"dialogTitle"
v-model=
"dialogVisible"
>
<!-- TODO @wanwan:表单按照 docs 提供的再改下 -->
<el-form
ref=
"formRef"
:model=
"formData"
...
...
@@ -9,6 +8,7 @@
v-loading=
"formLoading"
>
<el-row>
<!-- TODO @wanwan:name 参数校验,必填 -->
<el-form-item
label=
"客户名称"
prop=
"name"
>
<el-input
v-model=
"formData.name"
placeholder=
"请输入客户名称"
/>
</el-form-item>
...
...
@@ -70,6 +70,7 @@
</el-form-item>
</el-row>
<el-row>
<!-- TODO @wanwan:地区的多级选择,可以参考 UserForm.vue 的 所在地 areaId -->
<el-form-item
label=
"地区编号"
prop=
"areaId"
>
<el-input
v-model=
"formData.areaId"
placeholder=
"请输入地区编号"
/>
</el-form-item>
...
...
@@ -77,7 +78,7 @@
<el-input
v-model=
"formData.detailAddress"
placeholder=
"请输入详细地址"
/>
</el-form-item>
</el-row>
<!-- TODO @
Wanwan 少一个负责人字段,默认先选中自己
-->
<!-- TODO @
wanwan: 少一个负责人字段,默认先选中自己;可以先参考 TaskAssignRuleForm.vue 的 formData.userIds;注意,新增的时候,可以选择;修改的时候,只展示
-->
<el-row>
<el-form-item
label=
"下次联系时间"
prop=
"contactNextTime"
>
<el-date-picker
...
...
src/views/crm/customer/index.vue
View file @
dc5cf9f2
<
template
>
<ContentWrap>
<!-- 搜索工作栏 -->
<!-- TODO @wanwan:
筛选条件,按照 docs 的再改下
-->
<!-- TODO @wanwan:
看看怎么表单可以对齐一点;
-->
<el-form
class=
"-mb-15px"
:model=
"queryParams"
...
...
@@ -27,6 +27,7 @@
class=
"!w-240px"
/>
</el-form-item>
<!-- TODO @wanwan:筛选字段,加所属行业、客户等级、客户来源 -->
<el-form-item>
<el-button
@
click=
"handleQuery"
><Icon
icon=
"ep:search"
class=
"mr-5px"
/>
搜索
</el-button>
<el-button
@
click=
"resetQuery"
><Icon
icon=
"ep:refresh"
class=
"mr-5px"
/>
重置
</el-button>
...
...
@@ -102,7 +103,8 @@
<dict-tag
:type=
"DICT_TYPE.INFRA_BOOLEAN_STRING"
:value=
"scope.row.lockStatus"
/>
</
template
>
</el-table-column>
<!-- TODO @Wanwan 距进入公海天数 -->
<!-- TODO @wanwan 距进入公海天数 -->
<!-- TODO @wanwan:操作要 fixed 再右侧哈; -->
<el-table-column
label=
"操作"
align=
"center"
width=
"160"
>
<
template
#
default=
"scope"
>
<el-button
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment