Skip to content

Commit 3220bec

Browse files
committed
feat(scrm): customer tag ui and customer group main ui
1 parent 837dc37 commit 3220bec

File tree

7 files changed

+479
-381
lines changed

7 files changed

+479
-381
lines changed

src/router/routes/modules/scrm-wecom.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -175,7 +175,7 @@ const SCRMWecom: AppRouteRecordRaw = {
175175
},
176176
{
177177
path: '/scrm/wecom/customer-domain/tag',
178-
name: 'WeComTag',
178+
name: 'WeComCorpTag',
179179
component: () =>
180180
import('@/views/scrm/wecom/customer-domain/tag/index.vue'),
181181
meta: {

src/views/scrm/wecom/customer-domain/tag/components/add-tag.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@
3939
AddTagRequest,
4040
groupOption,
4141
TagList,
42-
} from '@/api/scrm/wecom/tag';
42+
} from '@/api/scrm/wecom/tag/corp-tag';
4343
4444
const emits = defineEmits(['submitSuccess', 'submitFailed', 'update:id']);
4545
const formRef = ref();

src/views/scrm/wecom/customer-domain/tag/components/edit-tag.vue

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@
4848
<a-form-item>
4949
<a-space size="large">
5050
<a-button type="primary" html-type="submit">提交</a-button>
51-
<a-button @click="handlereset">重置</a-button>
51+
<a-button @click="handleReset">重置</a-button>
5252
</a-space>
5353
</a-form-item>
5454
</a-form>
@@ -58,7 +58,7 @@
5858
<script lang="ts" setup>
5959
import { watch, reactive, ref, PropType } from 'vue';
6060
import { FieldRule, Message } from '@arco-design/web-vue';
61-
import { editTag, EditTagRequest } from '@/api/scrm/wecom/tag';
61+
import { editTag, EditTagRequest } from '@/api/scrm/wecom/tag/corp-tag';
6262
6363
const prop = defineProps({
6464
usersList: {
@@ -70,7 +70,7 @@
7070
editData: {
7171
type: Object as PropType<any>,
7272
default: () => {
73-
return [];
73+
return {};
7474
},
7575
},
7676
});
@@ -109,7 +109,7 @@
109109
submitLoading: false,
110110
});
111111
112-
const handlereset = () => {
112+
const handleReset = () => {
113113
formRef.value.resetFields();
114114
tagList.value = tagListCopy.value;
115115
removetagIds.value = [];
@@ -153,7 +153,7 @@
153153
...formModel.value,
154154
})
155155
.then(() => {
156-
handlereset();
156+
handleReset();
157157
Message.success('标签编辑成功');
158158
emits('submitSuccess');
159159
state.submitLoading = false;
Lines changed: 74 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,74 @@
1+
.container {
2+
display: flex;
3+
flex-direction: column;
4+
justify-content: start;
5+
align-items: center;
6+
//border: 1px solid red;
7+
background-color: #fff;
8+
padding:15px 25px;
9+
.topBox{
10+
display: flex;
11+
flex-direction: column;
12+
margin-bottom: 15px;
13+
width: 100%;
14+
//border: 1px solid yellow;
15+
.title{
16+
color: #000;
17+
font-size: 18px;
18+
}
19+
.desc{
20+
padding-top: 5px;
21+
font-size: 14px;
22+
line-height: 22px;
23+
color: #787878;
24+
}
25+
}
26+
27+
.resultBox{
28+
display: flex;
29+
flex-direction: column;
30+
justify-content: start;
31+
align-items: start;
32+
gap: 15px;
33+
}
34+
35+
#qrcode {
36+
width: 100px;
37+
height: 100px;
38+
}
39+
40+
#qrcode1 {
41+
width: 150px;
42+
height: 150px;
43+
}
44+
45+
.header {
46+
width: 30px;
47+
height: 30px;
48+
border-radius: 50%;
49+
}
50+
51+
.right {
52+
display: flex;
53+
justify-content: flex-end;
54+
margin-bottom: 12px;
55+
}
56+
57+
:deep(.arco-table-cell) {
58+
display: block;
59+
width: 100%;
60+
text-align: center;
61+
}
62+
63+
:deep(.arco-table-td-content) {
64+
display: block;
65+
width: 100%;
66+
text-align: center;
67+
}
68+
69+
.arco-table-cell .arco-table-th-title {
70+
display: inline-block;
71+
width: 100%;
72+
text-align: center;
73+
}
74+
}

0 commit comments

Comments
 (0)