diff --git a/index.html b/index.html index 9df6971e..7a3a3231 100644 --- a/index.html +++ b/index.html @@ -5,7 +5,7 @@ - 悟空CRM + 金财云联CRM diff --git a/src/api/crm/EnterpriseProfile.js b/src/api/crm/EnterpriseProfile.js new file mode 100644 index 00000000..12947694 --- /dev/null +++ b/src/api/crm/EnterpriseProfile.js @@ -0,0 +1,100 @@ +import request from '@/utils/request' + +// 使用登记序号查询纳税人资格认定 +export function getNsrzg(data) { + return request({ + url: 'crmNsrzg/queryByDjxh', + method: 'post', + data: { + djxh: data + }, + headers: { + 'Content-Type': 'application/json;charset=UTF-8' + } + }) +} + + +// 使用登记序号 年度 获取企业信用等级 +export function getQynsrXyDj(data) { + return request({ + url: 'crmQynsrdj/queryByDjxhAndTime', + method: 'post', + data: data, + headers: { + 'Content-Type': 'application/json;charset=UTF-8' + } + }) +} +// 使用登记序号 月度 获取企业税负率 +export function getQySfl(data) { + return request({ + url: 'crmQysfl/queryByDjxhAndTime', + method: 'post', + data: data, + headers: { + 'Content-Type': 'application/json;charset=UTF-8' + } + }) +} +// 使用登记序号 月度 获取企业参保人数 +export function getQyCbrs(data) { + return request({ + url: 'crmQycbrs/queryByDjxhAndTime', + method: 'post', + data: data, + headers: { + 'Content-Type': 'application/json;charset=UTF-8' + } + }) +} +// 使用登记序号 月度 获取企业风险明细 +export function getQyFxmx(data) { + return request({ + url: 'crmQyfxmx/queryByDjxhAndTime', + method: 'post', + data: data, + headers: { + 'Content-Type': 'application/json;charset=UTF-8' + } + }) +} +// 使用登记序号 月度 获取企业年度申报 +export function getQyFxndsb(data) { + return request({ + url: 'crmQysdsndsb/queryByDjxhAndTime', + method: 'post', + data: data, + headers: { + 'Content-Type': 'application/json;charset=UTF-8' + } + }) +} + +// 使用登记序号 月度 获取企业发票信息 +export function getQyFpxx(data) { + return request({ + url: 'crmQyjxfp/queryMergeListByShxydmAndTime', + method: 'post', + data: data, + headers: { + 'Content-Type': 'application/json;charset=UTF-8' + } + }) +} + +// 获取工商登记信息 +export function getQygsxx(data) { + return request({ + url: 'crmGsdjxx/queryByNsrmc/' + data, + method: 'post', + headers: { + 'Content-Type': 'application/json;charset=UTF-8' + } + }) + +} + + + + diff --git a/src/api/crm/qyjbxx.js b/src/api/crm/qyjbxx.js new file mode 100644 index 00000000..1ad1575c --- /dev/null +++ b/src/api/crm/qyjbxx.js @@ -0,0 +1,15 @@ +import request from '@/utils/request' + +/** + * 通过客户Id获取企业基本信息 + */ +export function getQyjbxxByCustComer(data) { + return request({ + url: 'crmQyjbxx/queryByCustomerId', + method: 'post', + data: data, + headers: { + 'Content-Type': 'application/json;charset=UTF-8' + } + }) +} diff --git a/src/api/crm/risk.js b/src/api/crm/risk.js new file mode 100644 index 00000000..e7c7b4b4 --- /dev/null +++ b/src/api/crm/risk.js @@ -0,0 +1,23 @@ +import request from '@/utils/request' + + +export function getQyRiskData(data) { + return request({ + url: 'crmGetV3Data/resp', + method: 'post', + data: data, + headers: { + 'Content-Type': 'application/json;charset=UTF-8' + } + }) +} + +export function getQyRiskMxData(id) { + return request({ + url: '/crmGetV3Data/riskJcmx/' + id, + method: 'post', + headers: { + 'Content-Type': 'application/json;charset=UTF-8' + } + }) +} diff --git a/src/assets/img/crm/corporateseas.png b/src/assets/img/crm/corporateseas.png new file mode 100644 index 00000000..78858602 Binary files /dev/null and b/src/assets/img/crm/corporateseas.png differ diff --git a/src/assets/logo_white-bak.png b/src/assets/logo_white-bak.png new file mode 100644 index 00000000..1f31a180 Binary files /dev/null and b/src/assets/logo_white-bak.png differ diff --git a/src/assets/logo_white.png b/src/assets/logo_white.png index 1f31a180..93489c2f 100644 Binary files a/src/assets/logo_white.png and b/src/assets/logo_white.png differ diff --git a/src/config.js b/src/config.js index 3863072e..d9c7f781 100644 --- a/src/config.js +++ b/src/config.js @@ -2,7 +2,7 @@ const getLocationOrigin = () => { return 'http://localhost:55665' } -const companyName = '悟空CRM' +const companyName = '金财云联CRM' const version = 'V11.3.3' const baiduKey = '百度key' diff --git a/src/styles/iconfont/iconfont.css b/src/styles/iconfont/iconfont.css index 37e3d81d..c33c2016 100644 --- a/src/styles/iconfont/iconfont.css +++ b/src/styles/iconfont/iconfont.css @@ -1114,6 +1114,9 @@ .wk-customer:before { content: "\e613"; } +.wk-corporateseas:before { + content: "\e634"; +} .wk-contacts:before { content: "\e624"; diff --git a/src/views/crm/components/CRMDetailHead.vue b/src/views/crm/components/CRMDetailHead.vue index 5b1362db..29006554 100644 --- a/src/views/crm/components/CRMDetailHead.vue +++ b/src/views/crm/components/CRMDetailHead.vue @@ -28,7 +28,7 @@ type="primary" icon="wk wk-transfer" @click.native="handleTypeClick('transfer')">转移 - + 企业画像 + + diff --git a/src/views/crm/components/CRMRisk.vue b/src/views/crm/components/CRMRisk.vue new file mode 100644 index 00000000..3965050e --- /dev/null +++ b/src/views/crm/components/CRMRisk.vue @@ -0,0 +1,279 @@ + + + + diff --git a/src/views/crm/components/EnterpriseProfile.vue b/src/views/crm/components/EnterpriseProfile.vue new file mode 100644 index 00000000..0ce8be3b --- /dev/null +++ b/src/views/crm/components/EnterpriseProfile.vue @@ -0,0 +1,694 @@ + + diff --git a/src/views/crm/components/EnterpriseProfile/qynsrzg.vue b/src/views/crm/components/EnterpriseProfile/qynsrzg.vue new file mode 100644 index 00000000..4af6101d --- /dev/null +++ b/src/views/crm/components/EnterpriseProfile/qynsrzg.vue @@ -0,0 +1,16 @@ + + + diff --git a/src/views/crm/components/Sections.vue b/src/views/crm/components/Sections.vue index 4caaa846..3c6b8800 100644 --- a/src/views/crm/components/Sections.vue +++ b/src/views/crm/components/Sections.vue @@ -6,7 +6,7 @@
-
{{ title }}
+
{{ title }}
@@ -38,6 +38,10 @@ export default { name: 'Sections', components: {}, props: { + size: { + type: String, + default: '12px' + }, title: { type: String, default: '' diff --git a/src/views/crm/corporateseas/AllIndex.vue b/src/views/crm/corporateseas/AllIndex.vue new file mode 100644 index 00000000..e69de29b diff --git a/src/views/crm/customer/AllIndex.vue b/src/views/crm/customer/AllIndex.vue index c390a9bd..a3f8e185 100644 --- a/src/views/crm/customer/AllIndex.vue +++ b/src/views/crm/customer/AllIndex.vue @@ -45,6 +45,7 @@ export default { * 左侧菜单选择 */ menuSelect(key, keyPath) { + console.log(key) this.componentName = { customer: 'CustomerIndex', seas: 'SeasIndex', diff --git a/src/views/crm/customer/Detail.vue b/src/views/crm/customer/Detail.vue index f37d49a5..1bc16484 100644 --- a/src/views/crm/customer/Detail.vue +++ b/src/views/crm/customer/Detail.vue @@ -23,6 +23,7 @@ :detail="detailData" :head-details="headDetails" :id="id" + :qyjbxx="qyjbxx" :pool-id="seasPoolId" :pool-auth="poolAuth" :crm-type="crmType" @@ -58,6 +59,7 @@ :detail="detailData" :type-list="logTyps" :id="id" + :qyjbxx = "qyjbxx" :pool-id="seasPoolId" :handle="activityHandle" :is-seas="isSeasDetail" @@ -108,6 +110,8 @@ import { crmCustomerReadAPI } from '@/api/crm/customer' import SlideView from '@/components/SlideView' +import qyJbxx from '../components/CRMQyjbxx' +import risk from '../components/CRMRisk' import CRMDetailHead from '../components/CRMDetailHead' import Activity from '../components/Activity' // 活动 import ChieflyContacts from '../components/ChieflyContacts' // 首要联系人 @@ -125,11 +129,15 @@ import RelativeInvoice from '../components/RelativeInvoice' // 发票 import CRMAllCreate from '../components/CRMAllCreate' // 新建页面 import DetailMixin from '../mixins/Detail' import { mapGetters } from 'vuex' +import { getQyjbxxByCustComer } from '../../../api/crm/qyjbxx' + export default { // 客户管理 的 客户详情 name: 'CustomerDetail', components: { + qyJbxx, + risk, SlideView, Activity, ChieflyContacts, @@ -151,6 +159,7 @@ export default { // 详情信息id id: [String, Number], poolId: [String, Number], + nsrmc: [String, String], // 监听的dom 进行隐藏详情 listenerIDs: { type: Array, @@ -174,6 +183,8 @@ export default { }, data() { return { + // 企业基本信息 + qyjbxx: {}, // 展示加载loading loading: false, crmType: 'customer', @@ -183,7 +194,7 @@ export default { { title: '负责人', value: '' }, { title: '更新时间', value: '' } ], - tabCurrentName: 'Activity', + tabCurrentName: 'CRMEditBaseInfo', // 编辑操作 createActionInfo: null, createCRMType: '', @@ -242,10 +253,11 @@ export default { */ tabNames() { var tempsTabs = [] - tempsTabs.push({ label: '活动', name: 'Activity' }) if (this.crm.customer && this.crm.customer.read) { tempsTabs.push({ label: '详细资料', name: 'CRMEditBaseInfo' }) } + tempsTabs.push({ label: 'V3风险', name: 'risk' }) + tempsTabs.push({ label: '活动', name: 'Activity' }) if (this.crm.contacts && this.crm.contacts.index) { tempsTabs.push({ label: this.getTabName('联系人', this.tabsNumber.contactCount), name: 'RelativeContacts' }) } @@ -357,8 +369,29 @@ export default { } }, watch: {}, - mounted() {}, + mounted() { + this.getBaseInfo(true) + }, methods: { + /** + * 获取基础信息 + */ + getBaseInfo(loading) { + this.loading = !!loading + const params = { + customerId: this.id, + poolId: this.poolId + } + getQyjbxxByCustComer(params).then(res => { + this.qyjbxx = res.data + console.log('获取数据') + console.log(this.id) + console.log(this.poolId) + this.loading = false + }).catch(() => { + this.loading = false + }) + }, /** * 详情 */ diff --git a/src/views/crm/workbench/components/TaxPreCheckUsage.vue b/src/views/crm/workbench/components/TaxPreCheckUsage.vue index f37e4f46..2c94b70c 100644 --- a/src/views/crm/workbench/components/TaxPreCheckUsage.vue +++ b/src/views/crm/workbench/components/TaxPreCheckUsage.vue @@ -2,7 +2,7 @@
-
税务预检使用情况
+
V3产品使用情况
diff --git a/src/views/layout/components/Navbar.vue b/src/views/layout/components/Navbar.vue index 2f21be91..33a2a60d 100644 --- a/src/views/layout/components/Navbar.vue +++ b/src/views/layout/components/Navbar.vue @@ -1,10 +1,9 @@