diff --git a/.env.local b/.env.local
index 1f18c7f2b..5520251de 100644
--- a/.env.local
+++ b/.env.local
@@ -6,9 +6,10 @@ VITE_DEV=true
# 请求路径
# VITE_BASE_URL='http://8.130.12.151:48080'
# VITE_BASE_URL='http://lhy.free.idcfengye.com'
-# VITE_BASE_URL='http://m94844f6.natappfree.cc'
-VITE_BASE_URL='http://172.22.3.49:48080'
-# VITE_BASE_URL='http://172.22.3.203:48080'
+# VITE_BASE_URL='http://u82ba6cf.natappfree.cc'
+# VITE_BASE_URL='http://172.22.3.49:48080'
+VITE_BASE_URL='http://172.22.3.203:48080'
+# VITE_BASE_URL='http://172.22.3.168:48080'
# 文件上传类型:server - 后端上传, client - 前端直连上传,仅支持 S3 服务
VITE_UPLOAD_TYPE=server
diff --git a/src/api/crm/industry/index.ts b/src/api/crm/industry/index.ts
new file mode 100644
index 000000000..467e5d684
--- /dev/null
+++ b/src/api/crm/industry/index.ts
@@ -0,0 +1,44 @@
+import request from '@/config/axios'
+
+// 行业 VO
+export interface IndustryVO {
+ id: number // 主键
+ industryId: string // 门类ID
+ name: string // 门类名称
+ parentId: string // 父门类ID
+ levelType: number // 门类级别
+ description: string // 描述
+}
+
+// 行业 API
+export const IndustryApi = {
+ // 查询行业树
+ getIndustryPage: async (params: any) => {
+ return await request.get({ url: `/crm/industry/getTree`, params })
+ },
+
+ // 查询选中的树
+ getIndustry: async () => {
+ return await request.get({ url: `/crm/industry/getChooseTree` })
+ },
+
+ // 新增行业
+ createIndustry: async (data: IndustryVO) => {
+ return await request.post({ url: `/crm/industry/create`, data })
+ },
+
+ // 修改行业
+ updateIndustry: async (data: IndustryVO) => {
+ return await request.put({ url: `/crm/industry/update`, data })
+ },
+
+ // 删除行业
+ deleteIndustry: async (id: number) => {
+ return await request.delete({ url: `/crm/industry/delete?id=` + id })
+ },
+
+ // 导出行业 Excel
+ exportIndustry: async (params) => {
+ return await request.download({ url: `/crm/industry/export-excel`, params })
+ }
+}
\ No newline at end of file
diff --git a/src/views/bpm/processInstance/detail/ProcessInstanceOperationButton.vue b/src/views/bpm/processInstance/detail/ProcessInstanceOperationButton.vue
index e3d6efc88..5099097a4 100644
--- a/src/views/bpm/processInstance/detail/ProcessInstanceOperationButton.vue
+++ b/src/views/bpm/processInstance/detail/ProcessInstanceOperationButton.vue
@@ -687,7 +687,6 @@ watch(
/** 弹出气泡卡 */
const openPopover = async (type: string) => {
if (type === 'approve') {
- emit('updataData')
// 校验流程表单
const valid = await validateNormalForm()
if (!valid) {
diff --git a/src/views/crm/contract/ContractForm.vue b/src/views/crm/contract/ContractForm.vue
index a5d016002..a3b5d5bf2 100644
--- a/src/views/crm/contract/ContractForm.vue
+++ b/src/views/crm/contract/ContractForm.vue
@@ -483,8 +483,8 @@
-
-
+
+
{
// formLoading.value = true
try {
let data = await ContractApi.getContract(type)
- data.legalPersonName = data.customerDO.legalPersonName
- data.creditNo = data.customerDO.creditNo
- data.registeredAddress = data.customerDO.registeredAddress
- data.actualCapital = data.customerDO.actualCapital
- data.socialEmployeeNum = data.customerDO.socialEmployeeNum
+ // data.legalPersonName = data.customerDO.legalPersonName
+ // data.creditNo = data.customerDO.creditNo
+ // data.registeredAddress = data.customerDO.registeredAddress
+ // data.actualCapital = data.customerDO.actualCapital
+ // data.socialEmployeeNum = data.customerDO.socialEmployeeNum
handleQuotationChange(formData.value.quotationId)
formData.value = data
} finally {
@@ -870,7 +870,7 @@ const resetForm = () => {
ownerUserId: undefined,
clueDeveloper: undefined,
contractor: undefined,
- afterSaleUserId: undefined,
+ maintainer: undefined,
collUserId: undefined,
totalPrice: undefined,
contractBody: undefined,
@@ -966,7 +966,7 @@ const onCustomerChange = async (customerId: string) => {
formData.value.financingInfo = customerRes.financingInfo;
formData.value.socialEmployeeNum = customerRes.socialEmployeeNum;
formData.value.registeredAddress = customerRes.registeredAddress;
- formData.value.afterSaleUserId = customerRes.maintainer;
+ formData.value.maintainer = customerRes.maintainer;
formData.value.clueDeveloper = customerRes.clueDeveloper;
await handleQuotationChange(customerRes.quotationId);
diff --git a/src/views/crm/contract/components/ContractAAuthorizedCompanyForm.vue b/src/views/crm/contract/components/ContractAAuthorizedCompanyForm.vue
index ca624c210..ff311e6ba 100644
--- a/src/views/crm/contract/components/ContractAAuthorizedCompanyForm.vue
+++ b/src/views/crm/contract/components/ContractAAuthorizedCompanyForm.vue
@@ -80,6 +80,7 @@ const getList = async (val) => {
companyBank: v.companyBank,
companyAccount: v.companyAccount,
companyAddress: v.companyAddress,
+ id: v.id
})
})
formData.value = newList
diff --git a/src/views/crm/contract/components/ContractAuthPersonInfo.vue b/src/views/crm/contract/components/ContractAuthPersonInfo.vue
index 5e5435284..3b8d48fc4 100644
--- a/src/views/crm/contract/components/ContractAuthPersonInfo.vue
+++ b/src/views/crm/contract/components/ContractAuthPersonInfo.vue
@@ -1,5 +1,4 @@
-
diff --git a/src/views/crm/contract/components/ContractChangeLimit.vue b/src/views/crm/contract/components/ContractChangeLimit.vue
index 0aabdcc65..1426d6b20 100644
--- a/src/views/crm/contract/components/ContractChangeLimit.vue
+++ b/src/views/crm/contract/components/ContractChangeLimit.vue
@@ -131,6 +131,26 @@
+
+
+
+
+ 是
+ 否
+
+
+
+
+
+
+
+
+ 是
+ 否
+
+
+
+
diff --git a/src/views/crm/contract/components/ContractExtension.vue b/src/views/crm/contract/components/ContractExtension.vue
index 3353e88df..20042ea57 100644
--- a/src/views/crm/contract/components/ContractExtension.vue
+++ b/src/views/crm/contract/components/ContractExtension.vue
@@ -132,6 +132,26 @@
+
+
+
+
+ 是
+ 否
+
+
+
+
+
+
+
+
+ 是
+ 否
+
+
+
+
diff --git a/src/views/crm/contract/detail/ContractChangeDetail.vue b/src/views/crm/contract/detail/ContractChangeDetail.vue
index 2abc3947d..2c826fe49 100644
--- a/src/views/crm/contract/detail/ContractChangeDetail.vue
+++ b/src/views/crm/contract/detail/ContractChangeDetail.vue
@@ -163,6 +163,8 @@ const formFields = ref({
dishonestyRecord: 1,
financeRecord: 1,
judgmentRecord: 1,
+ seriousIllegal: 1,
+ liquidation: 1,
creditAmount: 1,
creditLimit: 1,
partnerCompanyId: 1,
@@ -184,6 +186,7 @@ const formFields = ref({
afterAmount: 1,
changeAmountDeadline: 1,
contractAAuthorizedCompanysother: 1,
+ contractAAuthorizedCompanyscustomerName: 1,
contractAAuthorizedCompanysunifiedCreditCode: 1,
contractAAuthorizedCompanysinvoicingAddress: 1,
contractAAuthorizedCompanysinvoicingTelephone: 1,
@@ -309,7 +312,8 @@ const open = async (type: string) => {
formData.value.extensionDate = data.extensionDate
formData.value.note = data.note
formData.value.id = data.id
- // formData.value.creditAmount = data.creditAmount
+ formData.value.contractAAuthorizedCompanys = data.contractAAuthorizedCompanys
+ formData.value.creditAmount = data.creditAmount
formData.value.creditLimit = data.beforeAmount
} finally {
formLoading.value = false
@@ -408,6 +412,7 @@ if(contractFormRef.value) {
dataFormList.map(item => {
ids.push(item.id)
})
+ console.log('%csrc/views/crm/contract/detail/ContractChangeDetail.vue:415 ids', 'color: #007acc;', ids);
data.afterAuthorizerId = ids.join(',')
} else if(formData.value.changeItem == 3) {
data.agreementDeadline = dataFormList.agreementDeadline
@@ -427,10 +432,11 @@ if(contractFormRef.value) {
} else if(formData.value.changeItem == 6) {
data.newContract = data
}
+ dialogVisible.value = false
+ return
await ContractApi.changeContractUpdate(data)
message.success(t('common.updateSuccess'))
- dialogVisible.value = false
// 发送操作成功的事件
} finally {
formLoading.value = false
diff --git a/src/views/crm/contract/detail/ContractDetail.vue b/src/views/crm/contract/detail/ContractDetail.vue
index e9dca3e5a..8fa08632a 100644
--- a/src/views/crm/contract/detail/ContractDetail.vue
+++ b/src/views/crm/contract/detail/ContractDetail.vue
@@ -220,10 +220,10 @@
-
+
-
-
+
+
@@ -576,10 +576,10 @@
-
+
-
-
+
+
-
+
-
+
{
offlinePrice: undefined,
onlinePrice: undefined,
ownerUserId: undefined,
- expanderUserId: undefined,
+ clueDeveloper: undefined,
contractor: undefined,
- afterSaleUserId: undefined,
+ maintainer: undefined,
collUserId: undefined,
totalPrice: undefined,
contractBody: undefined,
@@ -1033,10 +1034,10 @@ const handleQuotationChange = async (quotationId: number) => {
formData.value.invoiceTemplateId = quotation.invoiceTemplateId;
formData.value.ownerUserId = quotation.ownerUserId;
+ // formData.value.clueDeveloper = quotation.clueDeveloper;
formData.value.ownerUserMobile = quotation.ownerUserMobile;
formData.value.ownerUserWechat = quotation.ownerUserWechat;
formData.value.ownerUserEmail = quotation.ownerUserEmail;
- formData.value.expanderUserId = quotation.expanderUserId;
formData.value.signUserId = quotation.signUserId;
formData.value.signPhoneNumber = quotation.signPhoneNumber;
formData.value.signEmail = quotation.signEmail;
@@ -1070,22 +1071,24 @@ const onCustomerChange = async (customerId: string) => {
try {
formLoading.value = true;
const customerRes = await CustomerApi.getCustomer(customerId);
- formData.value.cooperationType = customerRes.cooperationType;
- formData.value.companyType = customerRes.companyType;
- formData.value.listingStatus = customerRes.listingStatus;
- formData.value.financingInfo = customerRes.financingInfo;
- formData.value.paidInCapital = customerRes.paidInCapital;
- formData.value.insuredCount = customerRes.insuredCount;
- formData.value.establishmentDate = customerRes.establishmentDate;
- formData.value.enterpriseType = customerRes.enterpriseType;
- formData.value.actualCapital = customerRes.actualCapital;
+ // formData.value.cooperationType = customerRes.cooperationType;
+ // formData.value.companyType = customerRes.companyType;
+ // formData.value.listingStatus = customerRes.listingStatus;
+ // formData.value.financingInfo = customerRes.financingInfo;
+ // formData.value.paidInCapital = customerRes.paidInCapital;
+ // formData.value.insuredCount = customerRes.insuredCount;
+ // formData.value.establishmentDate = customerRes.establishmentDate;
+ // formData.value.enterpriseType = customerRes.enterpriseType;
- formData.value.partAddress = customerRes.partAddress;
- formData.value.listingStatus = customerRes.listingStatus;
+ // formData.value.partAddress = customerRes.partAddress;
+ // formData.value.listingStatus = customerRes.listingStatus;
+
+
formData.value.legalPersonName = customerRes.legalPersonName;
formData.value.creditCode = customerRes.creditCode;
formData.value.regType = customerRes.regType;
- formData.value.financingInfo = customerRes.financingInfo;
+ // formData.value.financingInfo = customerRes.financingInfo;//融资薪资
+ formData.value.actualCapital = customerRes.actualCapital;
formData.value.socialEmployeeNum = customerRes.socialEmployeeNum;
formData.value.registeredAddress = customerRes.registeredAddress;
} catch (err) {
@@ -1102,6 +1105,7 @@ const onPartnerChange = async (id: string) => {
const res = await ContractApi.getOrgInfo(id);
formData.value.bankName = res.bankName;
formData.value.bankAccount = res.bankAccount;
+ formData.value.creditCode = res.creditCode;
formData.value.legalRepresentative = res.legalRepresentative;
formData.value.businessLicenseNumber = res.businessLicenseNumber;
formData.value.businessLicense = res.businessLicense;
diff --git a/src/views/crm/customer/CustomerForm.vue b/src/views/crm/customer/CustomerForm.vue
index 4919784bc..2926a1931 100644
--- a/src/views/crm/customer/CustomerForm.vue
+++ b/src/views/crm/customer/CustomerForm.vue
@@ -44,9 +44,9 @@
-
+
+
+
+
+
+
+
@@ -73,19 +85,19 @@
-
-
-
-
-
+
+
-
-
-
-
-
-
-
+
- {{ customer.dealStatus ? '已成交' : '未成交' }}
+
@@ -47,7 +47,8 @@
-
+
+ {{customer.industry}}
diff --git a/src/views/crm/customer/detail/index.vue b/src/views/crm/customer/detail/index.vue
index 2acc4437d..f7ed54802 100644
--- a/src/views/crm/customer/detail/index.vue
+++ b/src/views/crm/customer/detail/index.vue
@@ -31,7 +31,7 @@
分配
放入公海
diff --git a/src/views/crm/customer/index.vue b/src/views/crm/customer/index.vue
index 691f71f5c..b2ae712ba 100644
--- a/src/views/crm/customer/index.vue
+++ b/src/views/crm/customer/index.vue
@@ -29,7 +29,7 @@
@keyup.enter="handleQuery"
/>
-->
-
+
-
-
+
+
+
+
+
+
+
+ 保存
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/src/views/crm/quotation/QuotationDetail.vue b/src/views/crm/quotation/QuotationDetail.vue
index 78db805f4..a35620f55 100644
--- a/src/views/crm/quotation/QuotationDetail.vue
+++ b/src/views/crm/quotation/QuotationDetail.vue
@@ -198,6 +198,26 @@
+
+
+
+
+ 是
+ 否
+
+
+
+
+
+
+
+
+ 是
+ 否
+
+
+
+
@@ -666,6 +686,8 @@ const formFields = ref({ //字段显示隐藏权限控制,字段顺序就是显
dishonestyRecord: 1,
financeRecord: 1,
judgmentRecord: 1,
+ seriousIllegal: 1,
+ liquidation: 1,
other1: 1,
partnerCompanyId: 1,
creditCode: 1,
diff --git a/src/views/crm/quotation/QuotationForm.vue b/src/views/crm/quotation/QuotationForm.vue
index f8cc32a67..a8a1058cf 100644
--- a/src/views/crm/quotation/QuotationForm.vue
+++ b/src/views/crm/quotation/QuotationForm.vue
@@ -113,6 +113,7 @@
+