diff --git a/.env b/.env index 41552c8f6..ed600aacc 100644 --- a/.env +++ b/.env @@ -2,7 +2,7 @@ VITE_APP_TITLE=暖界办公 # 项目本地运行端口号 -VITE_PORT=81 +VITE_PORT=80 # open 运行 npm run dev 时自动打开浏览器 VITE_OPEN=true diff --git a/.env.dev b/.env.dev index f4ae32dc9..d1087686c 100644 --- a/.env.dev +++ b/.env.dev @@ -34,4 +34,4 @@ VITE_MALL_H5_DOMAIN='http://8.130.12.151' VITE_APP_CAPTCHA_ENABLE=false # GoView域名 -VITE_GOVIEW_URL='http://127.0.0.1:3000' \ No newline at end of file +VITE_GOVIEW_URL='http://8.130.12.151:3000' \ No newline at end of file diff --git a/.env.local b/.env.local index 35765584d..0af2b7fc0 100644 --- a/.env.local +++ b/.env.local @@ -4,7 +4,7 @@ NODE_ENV=development VITE_DEV=true # 请求路径 -VITE_BASE_URL='http://localhost:48080' +VITE_BASE_URL='http://127.0.0.1:48080' # 文件上传类型:server - 后端上传, client - 前端直连上传,仅支持 S3 服务 VITE_UPLOAD_TYPE=server diff --git a/src/api/crm/contract/index.ts b/src/api/crm/contract/index.ts index a25d7c403..017567137 100644 --- a/src/api/crm/contract/index.ts +++ b/src/api/crm/contract/index.ts @@ -125,6 +125,11 @@ export const getRemindContractCount = async () => { return await request.get({ url: '/crm/contract/remind-count' }) } +// 合作主主体 +export const getOrg = async (params) => { + return await request.get({ url: '/system/organizations/page', params }) +} + // ==================== 子表(CRM 合同产品关联) ==================== // 获得CRM 合同产品关联列表 diff --git a/src/router/modules/remaining.ts b/src/router/modules/remaining.ts index a9413a9b0..a5b12161e 100644 --- a/src/router/modules/remaining.ts +++ b/src/router/modules/remaining.ts @@ -557,11 +557,12 @@ const remainingRouter: AppRouteRecordRaw[] = [ component: () => import('@/views/crm/billtemplate/BillTemplateForm.vue') }, { - path: 'business/quotationAdd', + path: 'quotation/QuotationForm', name: 'QuotationAdd', meta: { title: '方案报价新增', noCache: true, + canTo: true, hidden: true, activeMenu: '/crm/quotation' }, @@ -579,11 +580,12 @@ const remainingRouter: AppRouteRecordRaw[] = [ component: () => import('@/views/crm/quotation/QuotationForm.vue') }, { - path: 'business/quotationDetail', + path: 'quotation/quotationDetail', name: 'QuotationDetail', meta: { title: '方案报价详情', noCache: true, + canTo: true, hidden: true, activeMenu: '/crm/quotation' }, @@ -645,11 +647,12 @@ const remainingRouter: AppRouteRecordRaw[] = [ component: () => import('@/views/crm/contract/ContractChange.vue') }, { - path: 'contract/detail/:id', + path: 'contract/detail/index', name: 'CrmContractDetail', meta: { title: '合同详情', noCache: true, + canTo: true, hidden: true, activeMenu: '/crm/contract' }, diff --git a/src/utils/dict.ts b/src/utils/dict.ts index 37cbdb119..e514ff2b7 100644 --- a/src/utils/dict.ts +++ b/src/utils/dict.ts @@ -225,6 +225,7 @@ export enum DICT_TYPE { CRM_RETURN_VISIT_STSTUS = "crm_return_visit_type", //CRM 回访类型 CRM_COMPLAINT_METHOD = "crm_complaint_method", // 投诉方式 CRM_COMPLAINT_LEVEL = "crm_complaint_level", // 投诉级别 + TECH_SUPPORT = "tech_support", // 是否 // 商机账期 PAYMENT_TERM = "payment_term", // 投诉级别 diff --git a/src/views/Home/Index.vue b/src/views/Home/Index.vue index 199ed09e7..1943566af 100644 --- a/src/views/Home/Index.vue +++ b/src/views/Home/Index.vue @@ -1,339 +1,11 @@ diff --git a/src/views/bpm/processInstance/detail/index.vue b/src/views/bpm/processInstance/detail/index.vue index c3f83cf06..c5436820a 100644 --- a/src/views/bpm/processInstance/detail/index.vue +++ b/src/views/bpm/processInstance/detail/index.vue @@ -42,7 +42,7 @@
- +
- + diff --git a/src/views/bpm/task/todo/index.vue b/src/views/bpm/task/todo/index.vue index 45a2eb449..9c0df6b7d 100644 --- a/src/views/bpm/task/todo/index.vue +++ b/src/views/bpm/task/todo/index.vue @@ -148,7 +148,7 @@ prop="processInstanceId" :show-overflow-tooltip="true" /> - + diff --git a/src/views/crm/contract/components/ContracStop.vue b/src/views/crm/contract/components/ContracStop.vue new file mode 100644 index 000000000..0dff9a8e1 --- /dev/null +++ b/src/views/crm/contract/components/ContracStop.vue @@ -0,0 +1,215 @@ + + \ No newline at end of file diff --git a/src/views/crm/contract/components/ContractAuthPersonInfo.vue b/src/views/crm/contract/components/ContractAuthPersonInfo.vue new file mode 100644 index 000000000..94e8248bc --- /dev/null +++ b/src/views/crm/contract/components/ContractAuthPersonInfo.vue @@ -0,0 +1,46 @@ + + \ No newline at end of file diff --git a/src/views/crm/contract/components/ContractChangeLimit.vue b/src/views/crm/contract/components/ContractChangeLimit.vue new file mode 100644 index 000000000..dd70ff3d8 --- /dev/null +++ b/src/views/crm/contract/components/ContractChangeLimit.vue @@ -0,0 +1,420 @@ + + \ No newline at end of file diff --git a/src/views/crm/contract/components/ContractExtension.vue b/src/views/crm/contract/components/ContractExtension.vue new file mode 100644 index 000000000..74cca08cc --- /dev/null +++ b/src/views/crm/contract/components/ContractExtension.vue @@ -0,0 +1,348 @@ + + \ No newline at end of file diff --git a/src/views/crm/contract/components/ContractList.vue b/src/views/crm/contract/components/ContractList.vue index f693c9ab1..30284151d 100644 --- a/src/views/crm/contract/components/ContractList.vue +++ b/src/views/crm/contract/components/ContractList.vue @@ -54,12 +54,9 @@ /> - - \ No newline at end of file diff --git a/src/views/crm/contract/detail/index.vue b/src/views/crm/contract/detail/index.vue index 9d5e14ca4..788ba070f 100644 --- a/src/views/crm/contract/detail/index.vue +++ b/src/views/crm/contract/detail/index.vue @@ -1,54 +1,48 @@ \ No newline at end of file diff --git a/src/views/crm/quotation/index.vue b/src/views/crm/quotation/index.vue index 13c13f476..03af1f40a 100644 --- a/src/views/crm/quotation/index.vue +++ b/src/views/crm/quotation/index.vue @@ -154,6 +154,14 @@ > 编辑 + + 进度 + { const openFormDetail = (row: Object) => { - push({ name: 'QuotationDetail', query: { id: row.id, customerId: row.customerId } }) + router.push({ name: 'QuotationDetail', query: { id: row.id } }) } /** 删除按钮操作 */ @@ -262,6 +270,16 @@ const handleDelete = async (id: number) => { } catch {} } +/** 审批进度 */ +const router = useRouter() // 路由 +const handleProcessDetail = (row) => { + router.push({ + name: 'BpmProcessInstanceDetail', + query: { + id: row.processInstanceId + } + }) +} /** 导出按钮操作 */ const handleExport = async () => { try { diff --git a/src/views/crm/receivable/components/ReceivableList.vue b/src/views/crm/receivable/components/ReceivableList.vue index 67287ea7f..c455dbf99 100644 --- a/src/views/crm/receivable/components/ReceivableList.vue +++ b/src/views/crm/receivable/components/ReceivableList.vue @@ -1,6 +1,6 @@