diff --git a/src/api/summary/index.ts b/src/api/summary/index.ts
index 3ad80a9..ac7a88f 100644
--- a/src/api/summary/index.ts
+++ b/src/api/summary/index.ts
@@ -20,3 +20,7 @@ export function templateDetail(params: any) {
export function templateDelete(params: any) {
return request.post({ url: '/template/del', params })
}
+// 总结列表
+export function summaryRecordLists(params: any) {
+ return request.get({ url: '/summary/template/list', params })
+}
diff --git a/src/components/daterange-picker/index.vue b/src/components/daterange-picker/index.vue
index 094cd49..aba6dbd 100644
--- a/src/components/daterange-picker/index.vue
+++ b/src/components/daterange-picker/index.vue
@@ -1,7 +1,17 @@
-
+
\ No newline at end of file
+
diff --git a/src/enums/index.ts b/src/enums/index.ts
index 2cfdcb2..afcbb46 100644
--- a/src/enums/index.ts
+++ b/src/enums/index.ts
@@ -92,6 +92,10 @@ export const clueStepMap: Record = {
[clueStepEnum.CLUE_COMPLETED]: '转化完成',
[clueStepEnum.UPDATE_CLUSE_PROGRESS]: '修改跟进'
}
+export enum groupLeaderEnum {
+ YES = 1,
+ NO = 0
+}
const keys: Record = {
conversionMap: conversionMap,
diff --git a/src/hooks/useCommon.ts b/src/hooks/useCommon.ts
index 630eaa8..7b93126 100644
--- a/src/hooks/useCommon.ts
+++ b/src/hooks/useCommon.ts
@@ -28,6 +28,7 @@ export interface GroupProp {
id: number
groupName: string
}
+
export function useCommon() {
const categoryLists = ref([])
const groupLists = ref([])
@@ -133,7 +134,7 @@ export function useAuthStaffOperation(component: Component, isGoBack = false, ev
const filedKey = msg === '意见反馈' ? 'reply' : msg === '提现' ? 'failReason' : 'refuseReason'
const identity = msg == '提现' ? '分销商' : '师傅'
const { id } = row
- let data = { id, status: OperationEnumMap[type] }
+ const data = { id, status: OperationEnumMap[type] }
type === OperationTextEnum.SUCCESS
? feedback
.confirm(`您确定通过【${row[field]}】${identity}的${msg}申请吗?`)
@@ -204,7 +205,7 @@ export function useUploadMoreAction() {
return new Promise((resolve, reject) => {
const text = type === 'pdf' ? '文件' : '图片'
if (!isImage(file, type)) {
- let msg = type === 'pdf' ? 'pdf' : 'jpg,png,jpeg'
+ const msg = type === 'pdf' ? 'pdf' : 'jpg,png,jpeg'
toast(`请上传${msg}格式的${text}`, 'error')
fileList.splice(-1, 1)
uploadRef.value?.abort(file)
@@ -242,7 +243,7 @@ export function useUploadMoreAction() {
type: 'warning'
})
.then(() => {
- let index = fileList.indexOf(file)
+ const index = fileList.indexOf(file)
fileList.splice(index, 1)
fileUploadList.value[type] = fileList
})
@@ -256,7 +257,7 @@ export function useUploadMoreAction() {
const handlePreview = (file: UploadFile, type: string) => {
if (!unref(fileUploadList)[type].length) return
imgViewerVisible.value = true
- let index = unref(fileUploadList)[type].indexOf(file)
+ const index = unref(fileUploadList)[type].indexOf(file)
viewerIndex.value = index
previewSrcList.value = unref(fileUploadList)[type].map(file => file.url!)
}
diff --git a/src/views/account_center/sub_account/components/account-list/account-dialog.vue b/src/views/account_center/sub_account/components/account-list/account-dialog.vue
index 9b3b457..f5a47d6 100644
--- a/src/views/account_center/sub_account/components/account-list/account-dialog.vue
+++ b/src/views/account_center/sub_account/components/account-list/account-dialog.vue
@@ -47,9 +47,8 @@
{{ option.label }}
-
-
-
+
+
@@ -66,7 +65,7 @@