税务预检使用情况

This commit is contained in:
ZZM 2025-06-27 16:53:36 +08:00
parent c676fd5933
commit 7685ea7f60
3 changed files with 28 additions and 10 deletions

View File

@ -11,7 +11,7 @@ module.exports = {
assetsPublicPath: '/',
proxyTable: {
'/api': {
target: 'http://localhost:60754/',
target: 'http://localhost:8443/',
changeOrigin: true,
pathRewrite: {
'^/api': ''

View File

@ -269,3 +269,14 @@ export function crmInstrumentDownloadRecordExcelAPI(data) {
responseType: 'blob'
})
}
export function crmTaxPreCheckUsageAPI(data) {
return request({
url: 'crmInstrument/getTaxPreCheckUsage',
method: 'post',
data: data,
headers: {
'Content-Type': 'application/json;charset=UTF-8'
}
})
}

View File

@ -29,6 +29,7 @@
@click="setSortShow = true" />
</flexbox>
</div>
<div class="crm-workbench__body">
<div
v-loading="loading"
@ -76,6 +77,7 @@
</div>
</div>
<!--图表展示区-->
<flexbox
class="section"
align="stretch">
@ -155,6 +157,8 @@ import SetSort from './components/SetSort'
import XrRadioMenu from '@/components/Menu/XrRadioMenu'
import MembersDepDialog from '@/components/SelectEmployee/MembersDepDialog'
import TaxPreCheckUsage from './components/TaxPreCheckUsage'
import { mapGetters } from 'vuex'
import { separator } from '@/filters/vueNumeralFilter/filters'
import FitText from '@/directives/fitText'
@ -181,7 +185,9 @@ export default {
ReportList,
XrRadioMenu,
SetSort,
MembersDepDialog
MembersDepDialog,
TaxPreCheckUsage
},
data() {
return {
@ -526,13 +532,14 @@ export default {
*/
getModelSort() {
/**
* 1 合同金额目标及完成情况
* 2 数据汇总
* 3 回款金额目标及完成情况
* 4 业绩指标完成率 (回款金额)
* 5 销售漏斗
* 6 遗忘提醒
* 7 排行榜
* 1 TaxPreCheckUsage
* 2 合同金额目标及完成情况
* 3 数据汇总
* 4 回款金额目标及完成情况
* 5 业绩指标完成率 (回款金额)
* 6 销售漏斗
* 7 遗忘提醒
* 8 排行榜
*/
crmIndexSortAPI().then(res => {
@ -540,7 +547,7 @@ export default {
const right = res.data.right || []
// 2
const components = ['SaleStatistics', 'DataStatistics', '', 'PerformanceChart', 'SalesFunnel', 'ForgetRemind', 'RankingStatistics']
const components = ['TaxPreCheckUsage', 'SaleStatistics', 'DataStatistics', '', 'PerformanceChart', 'SalesFunnel', 'ForgetRemind', 'RankingStatistics']
this.sortLeft = left.map(item => {
item.component = components[item.modelId - 1]