Commit b17e2d18 by 前端

Merge branch 'SAAS+V5.7.4' into 'develop'

上线合并

See merge request !613
2 parents edc7bdc2 1bb78a76
Showing 49 changed files with 1828 additions and 837 deletions
...@@ -8,6 +8,10 @@ node_modules ...@@ -8,6 +8,10 @@ node_modules
.cursor .cursor
.trae .trae
# 本地环境文件不上传
.env.local
.env.*.local
# Log files # Log files
npm-debug.log* npm-debug.log*
yarn-debug.log* yarn-debug.log*
......
...@@ -8,7 +8,6 @@ ...@@ -8,7 +8,6 @@
"glsx" "glsx"
], ],
"workbench.tree.indent": 24, "workbench.tree.indent": 24,
"eslint.enable": true,
"explorer.compactFolders": false, "explorer.compactFolders": false,
"scm.compactFolders": false, "scm.compactFolders": false,
"problems.decorations.enabled": false, "problems.decorations.enabled": false,
...@@ -25,12 +24,9 @@ ...@@ -25,12 +24,9 @@
// "source.organizeImports": "explicit", // "source.organizeImports": "explicit",
"source.fixAll.eslint": "explicit" "source.fixAll.eslint": "explicit"
}, },
"[vue]": { "[vue]": {},
}, "[javascript]": {},
"[javascript]": { "[javascriptreact]": {},
},
"[javascriptreact]": {
},
"i18n-ally.sourceLanguage": "zh-chs", "i18n-ally.sourceLanguage": "zh-chs",
"javascript.suggest.autoImports": true "javascript.suggest.autoImports": true
} }
...@@ -4249,7 +4249,7 @@ ...@@ -4249,7 +4249,7 @@
"dependencies": { "dependencies": {
"@vue/vue-loader-v15": { "@vue/vue-loader-v15": {
"version": "npm:vue-loader@15.11.1", "version": "npm:vue-loader@15.11.1",
"resolved": "https://registry.npmmirror.com/vue-loader/-/vue-loader-15.11.1.tgz", "resolved": "https://registry.npmjs.org/vue-loader/-/vue-loader-15.11.1.tgz",
"integrity": "sha512-0iw4VchYLePqJfJu9s62ACWUXeSqM30SQqlIftbYWM3C+jpPcEHKSPUZBLjSF9au4HTHQ/naF6OGnO3Q/qGR3Q==", "integrity": "sha512-0iw4VchYLePqJfJu9s62ACWUXeSqM30SQqlIftbYWM3C+jpPcEHKSPUZBLjSF9au4HTHQ/naF6OGnO3Q/qGR3Q==",
"dev": true, "dev": true,
"requires": { "requires": {
...@@ -4262,9 +4262,15 @@ ...@@ -4262,9 +4262,15 @@
"dependencies": { "dependencies": {
"hash-sum": { "hash-sum": {
"version": "1.0.2", "version": "1.0.2",
"resolved": "https://registry.npmmirror.com/hash-sum/-/hash-sum-1.0.2.tgz", "resolved": "https://registry.npmjs.org/hash-sum/-/hash-sum-1.0.2.tgz",
"integrity": "sha512-fUs4B4L+mlt8/XAtSOGMUO1TXmAelItBPtJG7CyHJfYTdDjwisntGO2JQz7oUsatOY9o68+57eziUVNw/mRHmA==", "integrity": "sha512-fUs4B4L+mlt8/XAtSOGMUO1TXmAelItBPtJG7CyHJfYTdDjwisntGO2JQz7oUsatOY9o68+57eziUVNw/mRHmA==",
"dev": true "dev": true
},
"vue-hot-reload-api": {
"version": "2.3.4",
"resolved": "https://registry.npmjs.org/vue-hot-reload-api/-/vue-hot-reload-api-2.3.4.tgz",
"integrity": "sha512-BXq3jwIagosjgNVae6tkHzzIk6a8MHFtzAdwhnV5VlvPTFxDCvIttgSiHWjdGoTJvXtmRu5HacExfdarRcFhog==",
"dev": true
} }
} }
}, },
...@@ -4811,27 +4817,6 @@ ...@@ -4811,27 +4817,6 @@
"lodash": "^4.17.4" "lodash": "^4.17.4"
} }
}, },
"@vue/vue-loader-v15": {
"version": "npm:vue-loader@15.11.1",
"resolved": "https://registry.npmmirror.com/vue-loader/-/vue-loader-15.11.1.tgz",
"integrity": "sha512-0iw4VchYLePqJfJu9s62ACWUXeSqM30SQqlIftbYWM3C+jpPcEHKSPUZBLjSF9au4HTHQ/naF6OGnO3Q/qGR3Q==",
"dev": true,
"requires": {
"@vue/component-compiler-utils": "^3.1.0",
"hash-sum": "^1.0.2",
"loader-utils": "^1.1.0",
"vue-hot-reload-api": "^2.3.0",
"vue-style-loader": "^4.1.0"
},
"dependencies": {
"hash-sum": {
"version": "1.0.2",
"resolved": "https://registry.npmmirror.com/hash-sum/-/hash-sum-1.0.2.tgz",
"integrity": "sha512-fUs4B4L+mlt8/XAtSOGMUO1TXmAelItBPtJG7CyHJfYTdDjwisntGO2JQz7oUsatOY9o68+57eziUVNw/mRHmA==",
"dev": true
}
}
},
"@vue/vue2-jest": { "@vue/vue2-jest": {
"version": "27.0.0", "version": "27.0.0",
"resolved": "https://registry.npmmirror.com/@vue/vue2-jest/-/vue2-jest-27.0.0.tgz", "resolved": "https://registry.npmmirror.com/@vue/vue2-jest/-/vue2-jest-27.0.0.tgz",
...@@ -19502,12 +19487,6 @@ ...@@ -19502,12 +19487,6 @@
} }
} }
}, },
"vue-hot-reload-api": {
"version": "2.3.4",
"resolved": "https://registry.npmjs.org/vue-hot-reload-api/-/vue-hot-reload-api-2.3.4.tgz",
"integrity": "sha512-BXq3jwIagosjgNVae6tkHzzIk6a8MHFtzAdwhnV5VlvPTFxDCvIttgSiHWjdGoTJvXtmRu5HacExfdarRcFhog==",
"dev": true
},
"vue-lazyload": { "vue-lazyload": {
"version": "1.2.3", "version": "1.2.3",
"resolved": "https://registry.npmmirror.com/vue-lazyload/-/vue-lazyload-1.2.3.tgz", "resolved": "https://registry.npmmirror.com/vue-lazyload/-/vue-lazyload-1.2.3.tgz",
......
...@@ -14,16 +14,12 @@ ...@@ -14,16 +14,12 @@
"report": "set NODE_OPTIONS=--openssl-legacy-provider && vue-cli-service build --report" "report": "set NODE_OPTIONS=--openssl-legacy-provider && vue-cli-service build --report"
}, },
"dependencies": { "dependencies": {
"@babel/plugin-proposal-nullish-coalescing-operator": "^7.17.12",
"@babel/plugin-proposal-optional-chaining": "7.13.12",
"@sentry/browser": "^7.12.1", "@sentry/browser": "^7.12.1",
"@sentry/integrations": "^7.12.1", "@sentry/integrations": "^7.12.1",
"@sentry/tracing": "^7.3.0", "@sentry/tracing": "^7.3.0",
"@sentry/vue": "^7.3.0", "@sentry/vue": "^7.3.0",
"@sentry/webpack-plugin": "^1.18.9",
"ali-oss": "^6.22.0", "ali-oss": "^6.22.0",
"axios": "^0.18.0", "axios": "^0.18.0",
"baseline-browser-mapping": "^2.9.13",
"better-scroll": "^1.15.2", "better-scroll": "^1.15.2",
"bignumber.js": "^9.1.1", "bignumber.js": "^9.1.1",
"caniuse-lite": "^1.0.30001763", "caniuse-lite": "^1.0.30001763",
...@@ -39,26 +35,22 @@ ...@@ -39,26 +35,22 @@
"glsk-oss-jssdk": "^1.0.6", "glsk-oss-jssdk": "^1.0.6",
"glsk-toolkit": "^1.0.5", "glsk-toolkit": "^1.0.5",
"glsx-common-sdk": "^0.3.0", "glsx-common-sdk": "^0.3.0",
"hash.js": "^1.0.0",
"hotkeys-js": "^3.6.2", "hotkeys-js": "^3.6.2",
"html2canvas": "^1.4.1", "html2canvas": "^1.4.1",
"js-cookie": "^2.2.0", "js-cookie": "^2.2.0",
"js-md5": "^0.7.3", "js-md5": "^0.7.3",
"jspdf": "^2.5.1",
"lodash": "^4.17.23", "lodash": "^4.17.23",
"lodash-es": "^4.17.22", "lodash-es": "^4.17.22",
"lowdb": "^1.0.0", "lowdb": "^1.0.0",
"nanoid": "^5.1.6", "nanoid": "^5.1.6",
"nprogress": "^0.2.0", "nprogress": "^0.2.0",
"number-precision": "^1.6.0", "number-precision": "^1.6.0",
"print-js": "^1.6.0",
"qrcodejs2": "^0.0.2", "qrcodejs2": "^0.0.2",
"qs": "^6.8.0", "qs": "^6.8.0",
"rfdc": "^1.3.0", "rfdc": "^1.3.0",
"screenfull": "^4.2.0", "screenfull": "^4.2.0",
"sha1": "^1.1.1", "sha1": "^1.1.1",
"sortablejs": "^1.15.6", "sortablejs": "^1.15.6",
"speed-measure-webpack-plugin": "^1.5.0",
"svg-sprite-loader": "^6.0.11", "svg-sprite-loader": "^6.0.11",
"ua-parser-js": "^0.7.19", "ua-parser-js": "^0.7.19",
"vue": "^2.6.10", "vue": "^2.6.10",
...@@ -68,13 +60,14 @@ ...@@ -68,13 +60,14 @@
"vuex": "^3.0.1", "vuex": "^3.0.1",
"wangeditor": "4.7.15", "wangeditor": "4.7.15",
"webpack-theme-color-replacer": "^1.4.2", "webpack-theme-color-replacer": "^1.4.2",
"webpack5-svg-sprite-loader": "^5.1.1", "xlsx": "^0.16.9"
"xlsx": "^0.16.9",
"yarn": "^1.22.19"
}, },
"devDependencies": { "devDependencies": {
"@antfu/eslint-config": "^6.7.3", "@antfu/eslint-config": "^6.7.3",
"@babel/core": "^7.12.16", "@babel/core": "^7.12.16",
"@sentry/webpack-plugin": "^1.18.9",
"@babel/plugin-proposal-nullish-coalescing-operator": "^7.17.12",
"@babel/plugin-proposal-optional-chaining": "7.13.12",
"@kazupon/vue-i18n-loader": "^0.4.1", "@kazupon/vue-i18n-loader": "^0.4.1",
"@vue/babel-helper-vue-jsx-merge-props": "^1.4.0", "@vue/babel-helper-vue-jsx-merge-props": "^1.4.0",
"@vue/cli-plugin-babel": "~5.0.8", "@vue/cli-plugin-babel": "~5.0.8",
...@@ -94,6 +87,7 @@ ...@@ -94,6 +87,7 @@
"sass": "~1.62.0", "sass": "~1.62.0",
"sass-loader": "^7.3.1", "sass-loader": "^7.3.1",
"script-loader": "^0.7.2", "script-loader": "^0.7.2",
"speed-measure-webpack-plugin": "^1.5.0",
"vue-template-compiler": "^2.5.21", "vue-template-compiler": "^2.5.21",
"webpack": "^5.74.0" "webpack": "^5.74.0"
}, },
......
import request from "./request" import request from "./request";
const path = 'dj.api.smartcarlife.'
const path = "dj.api.smartcarlife.";
// 获取套餐管理 列表数据 // 获取套餐管理 列表数据
export function getPackageManageList(data) { export function getPackageManageList(data) {
data.method = `${path}merchantPackageGoodsInfo.page` data.method = `${path}merchantPackageGoodsInfo.page`;
return request(data) return request(data);
} }
// 新增编辑套餐 // 新增编辑套餐
export function addOrUpdatePackage(data) { export function addOrUpdatePackage(data) {
data.method = `${path}merchantPackageGoodsInfo.insertOrUpdate` data.method = `${path}merchantPackageGoodsInfo.insertOrUpdate`;
return request(data) return request(data, "post");
} }
// 获取套餐详情 // 获取套餐详情
export function getPackageDetailInfo(data) { export function getPackageDetailInfo(data) {
data.method = `${path}merchantPackageGoodsInfo.getById` data.method = `${path}merchantPackageGoodsInfo.getById`;
return request(data) return request(data);
} }
// 批量审核套餐 // 批量审核套餐
export function batchCheckPackage(data) { export function batchCheckPackage(data) {
data.method = `${path}merchantPackageGoodsInfo.updateBatchWaitAudit` data.method = `${path}merchantPackageGoodsInfo.updateBatchWaitAudit`;
return request(data) return request(data);
} }
// 上下架套餐 // 上下架套餐
export function upOrDownPackage(data) { export function upOrDownPackage(data) {
data.method = `${path}merchantPackageGoodsInfo.updateStatus` data.method = `${path}merchantPackageGoodsInfo.updateStatus`;
return request(data) return request(data);
} }
// 删除套餐 // 删除套餐
export function delPackageById(data) { export function delPackageById(data) {
data.method = `${path}merchantPackageGoodsInfo.deleteById` data.method = `${path}merchantPackageGoodsInfo.deleteById`;
return request(data) return request(data);
} }
// 根据套餐ID列表查询套餐下商品信息 // 根据套餐ID列表查询套餐下商品信息
export function getGoodsByPackageIdList(data) { export function getGoodsByPackageIdList(data) {
data.method = `${path}merchantPackageGoodsInfo.getGoodsByPackageIdList` data.method = `${path}merchantPackageGoodsInfo.getGoodsByPackageIdList`;
return request(data, "post") return request(data, "post");
} }
// 根据套餐ID列表查询套餐关联商户列表 // 根据套餐ID列表查询套餐关联商户列表
export function queryRelatedMerchantByPackageIdList(data) { export function queryRelatedMerchantByPackageIdList(data) {
data.method = `${path}merchantPackageGoodsInfo.queryRelatedMerchantByPackageIdList` data.method = `${path}merchantPackageGoodsInfo.queryRelatedMerchantByPackageIdList`;
return request(data, "post") return request(data, "post");
} }
// 批量修改套餐库存管控模式 // 批量修改套餐库存管控模式
export function batchEditInventoryTypeByPackageId(data) { export function batchEditInventoryTypeByPackageId(data) {
data.method = `${path}merchantPackageGoodsInfo.batchEditInventoryTypeByPackageId` data.method = `${path}merchantPackageGoodsInfo.batchEditInventoryTypeByPackageId`;
return request(data, "post") return request(data, "post");
} }
...@@ -178,6 +178,11 @@ export function operatorBatchAudit(data) { ...@@ -178,6 +178,11 @@ export function operatorBatchAudit(data) {
data.method = `dj.api.smarcarlife.operatorreview.operatorBatchAudit.json`; data.method = `dj.api.smarcarlife.operatorreview.operatorBatchAudit.json`;
return request(data); return request(data);
} }
// 批量经理审核
export function managerBatchAudit(data) {
data.method = `dj.api.smarcarlife.managerreview.managerAudit.json`;
return request(data);
}
// 运营驳回 // 运营驳回
export function operatorreviewOperatorReject(data) { export function operatorreviewOperatorReject(data) {
...@@ -215,6 +220,19 @@ export function businessreviewBusinessAudit(data) { ...@@ -215,6 +220,19 @@ export function businessreviewBusinessAudit(data) {
return request(data); return request(data);
} }
// 经理审核
export function managerreviewManagerAudit(data) {
data.method = `${path}managerreview.managerAudit`;
return request(data);
}
// 经理驳回
export function managerReviewReject(data) {
data.method = `${path}managerreview.managerReject`;
return request(data);
}
// 批量商务审核 // 批量商务审核
export function businessBatchAudit(data) { export function businessBatchAudit(data) {
data.method = `dj.api.smarcarlife.businessreview.businessBatchAudit.json`; data.method = `dj.api.smarcarlife.businessreview.businessBatchAudit.json`;
...@@ -322,3 +340,9 @@ export function downloadDeliveryPdf(data) { ...@@ -322,3 +340,9 @@ export function downloadDeliveryPdf(data) {
data.method = "dj.api.smarcarlife.warehousedeliver.detail.pdf.batch.async"; data.method = "dj.api.smarcarlife.warehousedeliver.detail.pdf.batch.async";
return request(data, "post"); return request(data, "post");
} }
// 经理审核分页查询
export function getManagerReviewPageApi(data) {
data.method = `dj.api.smarcarlife.managerreview.page`;
return request(data);
}
import request from "./request"
import RequestMethods from "./request.methods"
const path = "dj.api.smartcarlife."
// 查询分类列表
export function getClassLabelList(data) {
data.method = `dj.api.script.extract.class.label.list`
return request(data, RequestMethods.POST)
}
// 话术统计列表
export function geRecordSummaryList(data) {
data.method = `dj.api.script.extract.record.summary`
return request(data, RequestMethods.POST)
}
// 查询场景标签列表
export function getSceceLabelList(data) {
data.method = `dj.api.script.extract.scene.label.list`
return request(data, RequestMethods.POST)
}
// 话术明细列表
export function getRecordList(data) {
data.method = `dj.api.script.extract.record.list`
return request(data, RequestMethods.POST)
}
// 话术明细列表导出
export function recordExport(data) {
data.method = `dj.api.script.extract.record.list.export`
return request(data, RequestMethods.POST)
}
// 详情
export function getRecordDetail(data) {
data.method = `dj.api.script.extract.record.detail`
return request(data, RequestMethods.POST)
}
//话术操作记录
export function getOperateList(data) {
data.method = `dj.api.script.extract.record.log`
return request(data, RequestMethods.POST)
}
// 话术埋点列表
export function getRecordBrowseList(data) {
data.method = `dj.api.script.extract.record.browse.list`
return request(data, RequestMethods.POST)
}
// 话术埋点导出
export function recordBrowseExport(data) {
data.method = `dj.api.script.extract.record.browse.list.export`
return request(data, RequestMethods.POST)
}
//话术违规列表
export function findViolationReceptionByConditionPage(data) {
data.method = `dj.api.mindworkplate.violation.findViolationReceptionByConditionPage`
return request(data, RequestMethods.POST)
}
// 违规录音列表导出
export function findViolationReceptionByConditionExport(data) {
data.method = `dj.api.mindworkplate.violation.findViolationReceptionByConditionExport`
return request(data, RequestMethods.POST)
}
// 查询违规录音详情
export function findViolationByBatchId(data) {
data.method = `dj.api.mindworkplate.violation.findViolationByBatchId`
return request(data, RequestMethods.POST)
}
// 多条件查询话术详情列表
export function getConditionPage(data) {
data.method = 'dj.api.script.extract.condition.page'
return request(data, RequestMethods.POST)
}
// 话术条数
export function getTotalCount(data) {
data.method = 'dj.api.script.extract.total.count'
return request(data, RequestMethods.POST)
}
// 获取场景标签列表
export function getSingleLabelList(data) {
data.method = 'dj.api.script.extract.scene.label.single.list'
return request(data, RequestMethods.POST)
}
// 多话术查询话术详情列表导出
export function conditionExport(data) {
data.method = 'dj.api.script.extract.condition.export'
return request(data, RequestMethods.POST)
}
\ No newline at end of file \ No newline at end of file
import request from "./request"
import RequestMethods from "./request.methods"
const path = "dj.api.smartcarlife."
// 查询分类列表
export function getClassLabelList(data) {
data.method = `dj.api.script.extract.class.label.list`
return request(data, RequestMethods.POST)
}
// 话术统计列表
export function geRecordSummaryList(data) {
data.method = `dj.api.script.extract.record.summary`
return request(data, RequestMethods.POST)
}
// 查询场景标签列表
export function getSceceLabelList(data) {
data.method = `dj.api.script.extract.scene.label.list`
return request(data, RequestMethods.POST)
}
// 话术明细列表
export function getRecordList(data) {
data.method = `dj.api.script.extract.record.list`
return request(data, RequestMethods.POST)
}
// 话术明细列表导出
export function recordExport(data) {
data.method = `dj.api.script.extract.record.list.export`
return request(data, RequestMethods.POST)
}
// 详情
export function getRecordDetail(data) {
data.method = `dj.api.script.extract.record.detail`
return request(data, RequestMethods.POST)
}
//话术操作记录
export function getOperateList(data) {
data.method = `dj.api.script.extract.record.log`
return request(data, RequestMethods.POST)
}
// 话术埋点列表
export function getRecordBrowseList(data) {
data.method = `dj.api.script.extract.record.browse.list`
return request(data, RequestMethods.POST)
}
// 话术埋点导出
export function recordBrowseExport(data) {
data.method = `dj.api.script.extract.record.browse.list.export`
return request(data, RequestMethods.POST)
}
//话术违规列表
export function findViolationReceptionByConditionPage(data) {
data.method = `dj.api.mindworkplate.violation.findViolationReceptionByConditionPage`
return request(data, RequestMethods.POST)
}
// 违规录音列表导出
export function findViolationReceptionByConditionExport(data) {
data.method = `dj.api.mindworkplate.violation.findViolationReceptionByConditionExport`
return request(data, RequestMethods.POST)
}
// 查询违规录音详情
export function findViolationByBatchId(data) {
data.method = `dj.api.mindworkplate.violation.findViolationByBatchId`
return request(data, RequestMethods.POST)
}
// 多条件查询话术详情列表
export function getConditionPage(data) {
data.method = 'dj.api.script.extract.condition.page'
return request(data, RequestMethods.POST)
}
// 话术条数
export function getTotalCount(data) {
data.method = 'dj.api.script.extract.total.count'
return request(data, RequestMethods.POST)
}
// 获取场景标签列表
export function getSingleLabelList(data) {
data.method = 'dj.api.script.extract.scene.label.single.list'
return request(data, RequestMethods.POST)
}
// 多话术查询话术详情列表导出
export function conditionExport(data) {
data.method = 'dj.api.script.extract.condition.export'
return request(data, RequestMethods.POST)
}
/**
* 查询话术违规车辆品牌列表
*/
export function getCarBrandsList(data = {}) {
data.method = 'dj.api.mindworkplate.violation.carbrands'
return request(data, RequestMethods.POST)
}
...@@ -404,7 +404,10 @@ export const warehouseStatusList = [ ...@@ -404,7 +404,10 @@ export const warehouseStatusList = [
// 获取最近n个月,默认6个月 // 获取最近n个月,默认6个月
export function getCurrentSixMonth(n = 5) { export function getCurrentSixMonth(n = 5) {
return [new Date(new Date().setMonth(new Date().getMonth() - n)), new Date()]; return [
new Date(new Date().setMonth(new Date().getMonth() - n)),
new Date(),
];
} }
// 新值,旧值,整数部分位数,小数部分位数,最小值,最大值,规则 // 新值,旧值,整数部分位数,小数部分位数,最小值,最大值,规则
...@@ -423,8 +426,8 @@ export function limitPrice( ...@@ -423,8 +426,8 @@ export function limitPrice(
}; };
regRule = regRule || "priceReg"; regRule = regRule || "priceReg";
if ( if (
newValue newValue &&
&& ((minValue && newValue < minValue) || (maxValue && newValue > maxValue)) ((minValue && newValue < minValue) || (maxValue && newValue > maxValue))
) { ) {
return oldValue || ""; return oldValue || "";
} }
...@@ -433,16 +436,18 @@ export function limitPrice( ...@@ -433,16 +436,18 @@ export function limitPrice(
newValue = newValue + ""; newValue = newValue + "";
let interger = newValue.split(".")[0]; let interger = newValue.split(".")[0];
let point = newValue.split(".")[1]; let point = newValue.split(".")[1];
let intergerNum let intergerNum =
= interger.length > intergerDigit ? oldValue.split(".")[0] : interger; interger.length > intergerDigit
let pointNum ? oldValue.split(".")[0]
= point.length > pointDigit ? point.slice(0, pointDigit) : point; : interger;
let pointNum =
point.length > pointDigit ? point.slice(0, pointDigit) : point;
newValue = pointDigit newValue = pointDigit
? intergerNum + "." + pointNum ? intergerNum + "." + pointNum
: newValue.split(".")[0]; : newValue.split(".")[0];
} else { } else {
newValue newValue =
= newValue.length > intergerDigit newValue.length > intergerDigit
? oldValue.slice(0, intergerDigit) ? oldValue.slice(0, intergerDigit)
: newValue; : newValue;
} }
...@@ -475,9 +480,13 @@ export const appointDays = 35; ...@@ -475,9 +480,13 @@ export const appointDays = 35;
export const afterTodayOptions = { export const afterTodayOptions = {
disabledDate(date) { disabledDate(date) {
if ( if (
date < new Date(new Date().toLocaleDateString()) date < new Date(new Date().toLocaleDateString()) ||
|| date date >
> new Date(new Date().setDate(new Date().getDate() + (appointDays - 1))) new Date(
new Date().setDate(
new Date().getDate() + (appointDays - 1),
),
)
) { ) {
return true; return true;
} }
...@@ -728,10 +737,11 @@ export const afterSaleStatusList = [ ...@@ -728,10 +737,11 @@ export const afterSaleStatusList = [
export const invouceType = [ export const invouceType = [
{ confId: 0, confName: "待签收" }, { confId: 0, confName: "待签收" },
{ confId: 1, confName: "未入库" }, { confId: 1, confName: "已签收(未入库)" },
{ confId: 2, confName: "已入库" }, { confId: 2, confName: "已入库" },
{ confId: 3, confName: "部分入库" }, { confId: 3, confName: "部分入库" },
]; ];
// 服务商管理 采购模式 // 服务商管理 采购模式
export const procureModeList = [ export const procureModeList = [
{ confId: 1, confName: "直营" }, { confId: 1, confName: "直营" },
...@@ -912,7 +922,10 @@ export const downloadReportManage_reportType = [ ...@@ -912,7 +922,10 @@ export const downloadReportManage_reportType = [
{ confId: "sellerPerformance", confValue: "零售人员业绩提成数据表" }, { confId: "sellerPerformance", confValue: "零售人员业绩提成数据表" },
{ confId: "multiCategoryOperation", confValue: "多品类运营" }, { confId: "multiCategoryOperation", confValue: "多品类运营" },
{ confId: "multiCategoryOperationMerchant", confValue: "多品类运营-门店" }, { confId: "multiCategoryOperationMerchant", confValue: "多品类运营-门店" },
{ confId: "selleruseruserdipadanalysis", confValue: "驻店人员平板使用分析" }, {
confId: "selleruseruserdipadanalysis",
confValue: "驻店人员平板使用分析",
},
{ confId: "dailybehaviorsummary", confValue: "日行为汇总表" }, { confId: "dailybehaviorsummary", confValue: "日行为汇总表" },
{ confId: "weeklybehaviorsummary", confValue: "周行为汇总表" }, { confId: "weeklybehaviorsummary", confValue: "周行为汇总表" },
{ confId: "businessDataSummary", confValue: "业务数据汇总" }, { confId: "businessDataSummary", confValue: "业务数据汇总" },
...@@ -936,6 +949,10 @@ export const downloadReportManage_reportType = [ ...@@ -936,6 +949,10 @@ export const downloadReportManage_reportType = [
confId: "BIAnalysisReport", confId: "BIAnalysisReport",
confValue: "BI数据分析表", confValue: "BI数据分析表",
}, },
{
confId: "noDailyReportMerchantOutputReport",
confValue: "无日报门店产值表",
},
]; ];
// 下载报表 业务类型 // 下载报表 业务类型
...@@ -1089,9 +1106,9 @@ export const businessOptShowText = { ...@@ -1089,9 +1106,9 @@ export const businessOptShowText = {
}; };
// 预警管理 所属业务 显示文字 // 预警管理 所属业务 显示文字
export const orderBusinessType = { export const orderBusinessType = {
"0": "轻改", 0: "轻改",
"1": "权益", 1: "权益",
"2": "延保", 2: "延保",
"-1": "其他", "-1": "其他",
}; };
...@@ -1657,14 +1674,14 @@ export const evaluationSourceOpt = [ ...@@ -1657,14 +1674,14 @@ export const evaluationSourceOpt = [
{ confId: 4, confValue: "车况生成" }, { confId: 4, confValue: "车况生成" },
]; ];
export const evaluationStatusOptMap = { export const evaluationStatusOptMap = {
"10": "#FDB757", 10: "#FDB757",
"20": "#2CCA74", 20: "#2CCA74",
"30": "#2CCA74", 30: "#2CCA74",
"31": "#2CCA74", 31: "#2CCA74",
"32": "#2CCA74", 32: "#2CCA74",
"40": "#2CCA74", 40: "#2CCA74",
"50": "#2CCA74", 50: "#2CCA74",
"100": "#8C8C8C", 100: "#8C8C8C",
"-1": "#EB4E4E", "-1": "#EB4E4E",
}; };
// 合同类型 // 合同类型
...@@ -2036,6 +2053,16 @@ export const connectionFlagOpt = [ ...@@ -2036,6 +2053,16 @@ export const connectionFlagOpt = [
confValue: "未关联", confValue: "未关联",
}, },
]; ];
export const trialStatusOpt = [
{
confId: 1,
confValue: "试岗中",
},
{
confId: 2,
confValue: "无试岗",
},
];
export const connectionFlagOptMap = { export const connectionFlagOptMap = {
true: "#2CCA74", true: "#2CCA74",
false: "#EB4E4E", false: "#EB4E4E",
......
...@@ -147,6 +147,7 @@ ...@@ -147,6 +147,7 @@
? pickerOption[item.pickerOptions] ? pickerOption[item.pickerOptions]
: undefined : undefined
" "
:placeholder="item.placeholder"
range-separator="至" range-separator="至"
start-placeholder="开始日期" start-placeholder="开始日期"
:style="{ width: item.width || '100%' }" :style="{ width: item.width || '100%' }"
...@@ -170,6 +171,7 @@ import { ...@@ -170,6 +171,7 @@ import {
rangePickerOptions_oneYearNoFuture, rangePickerOptions_oneYearNoFuture,
rangePickertwoMonthOptions, rangePickertwoMonthOptions,
rangePickertwoMonthOptionsWithCurrentLimit, rangePickertwoMonthOptionsWithCurrentLimit,
stockQueryDatePickerOptions,
todayEndPickerOptions, todayEndPickerOptions,
yesterdayPicker, yesterdayPicker,
} from "@/common/format"; } from "@/common/format";
...@@ -219,6 +221,7 @@ export default { ...@@ -219,6 +221,7 @@ export default {
rangePickertwoMonthOptionsWithCurrentLimit, rangePickertwoMonthOptionsWithCurrentLimit,
rangePickerOptions_lastOneYear, rangePickerOptions_lastOneYear,
rangePickerOptions_oneYearNoFuture, rangePickerOptions_oneYearNoFuture,
stockQueryDatePickerOptions,
}, },
}; };
}, },
......
...@@ -3,6 +3,7 @@ ...@@ -3,6 +3,7 @@
<div class="glsk-form-dialog"> <div class="glsk-form-dialog">
<d2-dialog :append-to-body="appendToBody" <d2-dialog :append-to-body="appendToBody"
:btn-ok-label="dialogConfig.okText" :btn-ok-label="dialogConfig.okText"
:noCancel="dialogConfig.hideClose"
:is-visible="selectVisible" :is-visible="selectVisible"
:title="dialogConfig.title" :title="dialogConfig.title"
:width="dialogWidth" :width="dialogWidth"
...@@ -56,6 +57,7 @@ export default { ...@@ -56,6 +57,7 @@ export default {
return { return {
title: "提示", title: "提示",
okText: "确定", okText: "确定",
hideClose: false,
}; };
}, },
}, },
......
...@@ -38,6 +38,8 @@ process.env.NODE_ENV === "production" ...@@ -38,6 +38,8 @@ process.env.NODE_ENV === "production"
&& Sentry.init({ && Sentry.init({
Vue, Vue,
dsn: "https://39bc80d3bb0a419a8d7d9bf5a39678e3@sentry.glsx.com.cn/24", dsn: "https://39bc80d3bb0a419a8d7d9bf5a39678e3@sentry.glsx.com.cn/24",
// 与 vue.config 中 SentryWebpackPlugin.release 一致,sourcemap 才能正确解析栈
release: process.env.VUE_APP_VERSION,
// dsn: 'http://6225fb8e73fb453a8455a9371f3517da@192.168.3.115:9000/4', // dsn: 'http://6225fb8e73fb453a8455a9371f3517da@192.168.3.115:9000/4',
integrations: [ integrations: [
new BrowserTracing({ new BrowserTracing({
......
...@@ -482,7 +482,7 @@ export const routerName = { ...@@ -482,7 +482,7 @@ export const routerName = {
ruleObj: { ruleObj: {
attr: "status", attr: "status",
rule: { rule: {
2: "审核", 10: "审核",
}, },
}, },
handle: "handleCheck", handle: "handleCheck",
...@@ -501,7 +501,7 @@ export const routerName = { ...@@ -501,7 +501,7 @@ export const routerName = {
ruleObj: { ruleObj: {
attr: "status", attr: "status",
rule: { rule: {
2: "驳回", 10: "驳回",
}, },
}, },
handle: "handleReject", handle: "handleReject",
...@@ -516,6 +516,7 @@ export const routerName = { ...@@ -516,6 +516,7 @@ export const routerName = {
], ],
component: _import("purchase/directorReview"), component: _import("purchase/directorReview"),
}, },
909080301: { 909080301: {
path: "/directorReview/singleCheck", path: "/directorReview/singleCheck",
name: "singleCheck", name: "singleCheck",
...@@ -540,4 +541,86 @@ export const routerName = { ...@@ -540,4 +541,86 @@ export const routerName = {
}, },
component: _import("purchase/singleReview"), component: _import("purchase/singleReview"),
}, },
90909: {
path: "/managerReview",
name: "managerReview",
role: "service",
meta: {
title: "经理审核",
authId: "90909",
parentId: "909",
cache: false,
},
auth: [
{
authId: "9090901",
parentId: "90909",
label: "导出",
category: "Button",
type: "primary",
handle: "handleExport",
},
{
authId: "9090905",
parentId: "90909",
label: "批量审核",
category: "Button",
type: "primary",
handle: "handleBatchCheck",
addRoutePath: [
{
authId: "909090501",
name: "批量审核",
parentId: "90909",
},
],
},
{
authId: "9090902",
parentId: "90909",
label: "查看",
handle: "handleDetail",
},
{
authId: "9090903",
parentId: "90909",
label: "审核",
ruleObj: {
attr: "status",
rule: {
2: "审核",
},
},
handle: "handleCheck",
},
{
authId: "9090904",
parentId: "90909",
label: "驳回",
ruleObj: {
attr: "status",
rule: {
2: "驳回",
},
},
handle: "handleReject",
},
],
component: _import("purchase/managerReview"),
},
909090501: {
path: "/managerReview/batchReview",
name: "managerReviewBatchReview",
meta: {
title: "批量审核",
authId: "909090501",
parentId: "90909",
cache: false,
activePath: "/managerReview",
},
component: _import("purchase/managerReviewBatchReview"),
},
}; };
<template>
<div class="examine-record">
<div class="title">
审核记录
</div>
<template v-if="list && list.length">
<div v-if="list.length > 2 && useExpand"
class="up-down"
@click="handleToggleVisible">
<el-button size="mini"
type="text"
:icon="visible ? 'el-icon-arrow-up' : 'el-icon-arrow-down'" />
{{ visible ? "收起" : "展开" }}
</div>
<div style="width:100%;">
<div class="record-div">
<div v-for="(item, index) in getList"
:key="index"
class="record-div-d">
<span class="span-txt-one text-hide">
{{ item.status ? $$(statusForShow, [item.status], "text") : "" }}
</span>
<span class="span-txt-two status-wrapper">
<span :class="item.status ? examineStatusClass[item.status] : ''">
{{
item.status
? $$(statusForShow, [item.status], "status")
: ""
}}
</span>
<span v-if="item.rejectedStatus">
<span style="display: inline-block; margin: 0 8px">至</span>
<span>
{{
item.rejectedStatus
? $$(
rejectedForShow,
[item.rejectedStatus],
"rejectedStatus",
)
: ""
}}
</span>
</span>
</span>
<span class="span-txt-two reviewer item-wrapper ">
<span>审核人:</span>
<div class="value">
<el-tooltip class="item"
popper-class="remark-popper-class"
effect="dark"
:content="item.reviewedBy"
placement="bottom">
<el-button type="text" class="value-btn text-hide">
{{ item.reviewedBy }}
</el-button>
</el-tooltip>
</div>
</span>
<span class="span-txt-two ">
审核时间:{{ item.reviewedDateFormat || item.reviewedDate }}
</span>
<span v-if="item.remark" class="span-txt-two remark item-wrapper">
<span class="label">备注:</span>
<div class="value">
<el-tooltip class="item"
popper-class="remark-popper-class"
effect="dark"
:content="item.remark"
placement="bottom">
<el-button type="text" class="value-btn text-hide">
{{ item.remark }}
</el-button>
</el-tooltip>
</div>
</span>
<span v-if="[4, 6, 7, 9, 11].includes(item.status)"
class="span-txt-two reject-cause item-wrapper">
<span class="label">驳回原因:</span>
<div class="value">
<el-tooltip class="item"
popper-class="remark-popper-class"
effect="dark"
:content="item.rejectCause"
placement="bottom">
<el-button type="text" class="text-hide value-btn">
{{ item.rejectCause }}
</el-button>
</el-tooltip>
</div>
</span>
</div>
</div>
</div>
</template>
<div v-else class="emptyCom">
<img :src="emptyImg"
class="emptyImg"
alt="" />
<span class="tips">暂无数据</span>
</div>
</div>
</template>
<script>
import emptyImg from "@/assets/empty.png";
export default {
name: "",
props: {
list: {
required: true,
type: Array,
},
useExpand: {
type: Boolean,
default: true,
},
},
data() {
return {
visible: false,
emptyImg,
examineStatusClass: {
2: "greenSp",
4: "redSp",
5: "greenSp",
6: "redSp",
7: "redSp",
8: "greenSp",
9: "redSp",
10: "greenSp",
11: "redSp",
},
statusForShow: {
2: { text: "运营审核", status: "通过" },
4: { text: "运营审核", status: "驳回" },
5: { text: "商务审核", status: "通过" },
6: { text: "商务审核", status: "驳回" },
7: { text: "采购驳回", status: "驳回" },
8: { text: "总监审核", status: "通过" },
9: { text: "总监审核", status: "驳回" },
10: { text: "经理通过", status: "通过" },
11: { text: "经理驳回", status: "驳回" },
},
rejectedForShow: {
1: { rejectedStatus: "采购商户" },
2: { rejectedStatus: "运营审核" },
3: { rejectedStatus: "商务审核" },
6: { rejectedStatus: "经理审核" },
},
};
},
computed: {
getList() {
// 如果不使用展开功能, 直接返回整个list
if (!this.useExpand) {
return this.list;
}
if (this.visible) {
return this.list;
} else {
return this.list.slice(0, 2);
}
},
},
mounted() {
},
methods: {
handleToggleVisible() {
this.visible = !this.visible;
},
},
};
</script>
<style scoped lang="scss">
.examine-record {
position: relative;
width: 100%;
min-height: 60px;
border-radius: 4px;
border: 1px solid #fafafa;
background: #fafafa;
> .title {
padding: 16px 20px;
line-height: 20px;
font-weight: 600;
font-size: 16px;
color: #333333;
text-align: left;
}
.up-down {
position: absolute;
right: 20px;
top: 20px;
width: 42px;
height: 20px;
font-family: PingFangSC-Regular;
color: #2a58ad;
font-size: 12px;
cursor: pointer;
}
.record-div {
padding: 0 20px 16px;
font-size: 14px;
color: #666666;
overflow: hidden;
width: 100%;
box-sizing: border-box;
.record-div-d {
margin-top: 10px;
overflow: hidden;
width: 100%;
position: relative;
display: flex;
align-items: center;
padding: 4px 0 4px 24px;
box-sizing: border-box;
&::before {
position: absolute;
content: "";
left: 6px;
top: 50%;
transform: translateY(-50%);
width: 6px;
height: 6px;
background: #185efe;
border-radius: 6px;
}
> .span-txt-one {
max-width: 5em;
}
.span-txt-two {
margin-left: 12px;
flex-shrink: 0;
&.status-wrapper {
width: 180px;
}
&.reviewer {
width: 140px;
}
&.remark {
flex: 1;
}
&.reject-cause {
flex: 1;
}
&.item-wrapper {
overflow: hidden;
display: flex;
align-items: center;
.label {
flex-shrink: 0;
}
.value {
flex: 1;
text-align: left;
overflow: hidden;
.value-btn {
max-width: 100%;
padding: 0;
}
}
}
}
}
.greenSp {
color: #4aca74;
}
.redSp {
color: #eb4e4e;
}
}
.emptyCom {
display: flex;
flex-direction: column;
flex-wrap: wrap;
justify-content: center;
align-items: center;
.emptyImg {
width: 64px;
}
.tips {
font-size: 14px;
color: #999999;
margin: 20px 0;
}
}
}
</style>
// 订单状态 // 订单状态
export const defaultStatusOptions = [ export const defaultStatusOptions = [
{ {
id: 1, id: 1,
label: "运营审核" label: "运营审核",
}, },
{ {
id: 8, id: 8,
label: "商务审核" label: "商务审核",
}, },
{ {
id: 2, id: 2,
label: "总监审核" label: "经理审核",
}, },
{ {
id: 3, id: 10,
label: "已取消" label: "总监审核",
}, },
{ {
id: 4, id: 3,
label: "已驳回" label: "已取消",
}, },
{ {
id: 5, id: 4,
label: "已审核" label: "已驳回",
} },
// { {
// id: 6, id: 5,
// label: "已审核" label: "已审核",
// }, },
// { // {
// id: 7, // id: 6,
// label: "已驳回" // label: "已审核"
// } // },
] // {
// id: 7,
// label: "已驳回"
// }
];
export const defaultStatusOptionsForTable = [ export const defaultStatusOptionsForTable = [
{ {
id: 1, id: 1,
label: "运营审核" label: "运营审核",
}, },
{ {
id: 8, id: 8,
label: "商务审核" label: "商务审核",
}, },
{ {
id: 2, id: 2,
label: "总监审核" label: "经理审核",
}, },
{ {
id: 3, id: 10,
label: "已取消" label: "总监审核",
}, },
{ {
id: 4, id: 3,
label: "已驳回" label: "已取消",
}, },
{ {
id: 5, id: 4,
label: "已审核" label: "已驳回",
}, },
{ {
id: 6, id: 5,
label: "已驳回" label: "已审核",
}, },
{ {
id: 7, id: 6,
label: "已驳回" label: "已驳回",
}, },
{ {
id: 9, id: 7,
label: "已驳回" label: "已驳回",
} },
] {
id: 9,
label: "已驳回",
},
{
id: 11,
label: "已驳回",
},
];
// 运营审核筛选条件 // 运营审核筛选条件
export const operate_statusOptions = [ export const operate_statusOptions = [
{ {
id: 1, id: 1,
label: "待审核" label: "待审核",
}, },
{ {
id: 2, id: 2,
label: "已审核" label: "已审核",
}, },
{ {
id: 4, id: 4,
label: "已驳回" label: "已驳回",
} },
] ];
// 运营审核列表展示 // 运营审核列表展示
export const operate_statusOptions_table = [ export const operate_statusOptions_table = [
{ {
id: 1, id: 1,
label: "待审核" label: "待审核",
}, },
{ {
id: 2, id: 2,
label: "已审核" label: "已审核",
}, },
{ {
id: 4, id: 10,
label: "已驳回" label: "已审核",
}, },
{ {
id: 5, id: 4,
label: "已审核" label: "已驳回",
}, },
{ {
id: 6, id: 5,
label: "已驳回" label: "已审核",
}, },
{ {
id: 7, id: 6,
label: "已驳回" label: "已驳回",
}, },
{ {
id: 8, id: 7,
label: "已审核" label: "已驳回",
}, },
{ {
id: 9, id: 8,
label: "已驳回" label: "已审核",
} },
] {
id: 9,
label: "已驳回",
},
{
id: 11,
label: "已驳回",
},
];
// 商务审核筛选条件 // 商务审核筛选条件
export const business_statusOptions = [ export const business_statusOptions = [
{ {
id: 8, id: 8,
label: "待审核" label: "待审核",
}, },
{ {
id: 5, id: 5,
label: "已审核" label: "已审核",
}, },
{ {
id: 6, id: 6,
label: "已驳回" label: "已驳回",
} },
] ];
// 商务审核列表展示 // 商务审核列表展示
export const business_statusOptions_table = [ export const business_statusOptions_table = [
{ {
id: 8, id: 8,
label: "待审核" label: "待审核",
}, },
{ {
id: 5, id: 5,
label: "已审核" label: "已审核",
}, },
{ {
id: 6, id: 6,
label: "已驳回" label: "已驳回",
}, },
{ {
id: 7, id: 7,
label: "已驳回" label: "已驳回",
} },
] ];
// 经理审核筛选条件
export const manager_status_options = [
{
id: 2,
label: "待审核",
},
{
id: 5,
label: "已审核",
},
{
id: 6,
label: "已驳回",
},
];
// 经理审核列表展示
export const manager_status_options_table = [
{
id: 2,
label: "待审核",
},
{
id: 5,
label: "已审核",
},
{
id: 8,
label: "已审核",
},
{
id: 10,
label: "已审核",
},
{
id: 6,
label: "已驳回",
},
{
id: 7,
label: "已驳回",
},
{
id: 9,
label: "已驳回",
},
{
id: 11,
label: "已驳回",
},
];
// 总监审核筛选条件 // 总监审核筛选条件
export const director_statusOptions = [ export const director_statusOptions = [
{ {
id: 2, id: 10,
label: "待审核" label: "待审核",
}, },
{ {
id: 5, id: 5,
label: "已审核" label: "已审核",
}, },
{ {
id: 6, id: 6,
label: "已驳回" label: "已驳回",
} },
] ];
// 总监审核列表展示 // 总监审核列表展示
export const director_statusOptions_table = [ export const director_statusOptions_table = [
{ {
id: 2, id: 10,
label: "待审核" label: "待审核",
}, },
{ {
id: 5, id: 5,
label: "已审核" label: "已审核",
}, },
{ {
id: 6, id: 8,
label: "已驳回" label: "已审核",
}, },
{ {
id: 7, id: 6,
label: "已驳回" label: "已驳回",
}, },
{ {
id: 8, id: 7,
label: "已审核" label: "已驳回",
}, },
{ {
id: 9, id: 9,
label: "已驳回" label: "已驳回",
} },
] ];
// 发货状态 // 发货状态
export const defaultDeliveryStatusOptions = [ export const defaultDeliveryStatusOptions = [
{ {
id: 1, id: 1,
label: "未发货" label: "未发货",
}, },
{ {
id: 2, id: 2,
label: "全部发货" label: "全部发货",
}, },
{ {
id: 3, id: 3,
label: "部分发货" label: "部分发货",
}, },
{ {
id: 4, id: 4,
label: "结束发货" label: "结束发货",
} },
] ];
// 入库状态 // 入库状态
export const defaultPutStatusOptions = [ export const defaultPutStatusOptions = [
{ {
id: 1, id: 1,
label: "未入库" label: "未入库",
}, },
{ {
id: 2, id: 2,
label: "全部入库" label: "全部入库",
}, },
{ {
id: 3, id: 3,
label: "部分入库" label: "部分入库",
} },
] ];
// 发货模式 // 发货模式
export const purchasingPatternOptions = [ export const purchasingPatternOptions = [
{ {
id: 1, id: 1,
label: "直营" label: "直营",
}, },
{ {
id: 2, id: 2,
label: "批发" label: "批发",
}, },
{ {
id: 3, id: 3,
label: "代销" label: "代销",
} },
] ];
// export const severSelectOptionsLabel = { // export const severSelectOptionsLabel = {
// 1: "下单时间倒序排序", // 1: "下单时间倒序排序",
// 2: "按收入比例", // 2: "按收入比例",
...@@ -264,41 +336,49 @@ export const purchasingPatternOptions = [ ...@@ -264,41 +336,49 @@ export const purchasingPatternOptions = [
// 采购类型 // 采购类型
export const purchaseTypeList = [ export const purchaseTypeList = [
{ {
id: 1, id: 1,
label: "商城采购" label: "商城采购",
}, },
{ {
id: 2, id: 2,
label: "自采入库" label: "自采入库",
} },
] ];
// 分配状态 // 分配状态
export const distributionStatusOptions = [ export const distributionStatusOptions = [
{ {
id: 0, id: 0,
label: "未分配" label: "未分配",
}, },
{ {
id: 1, id: 1,
label: "已分配" label: "已分配",
} },
] ];
// 驳回节点选项 // 驳回节点选项
export const rejectNodeOptions = [ export const rejectNodeOptions = [
{ {
id: 3, id: 3,
label: "商务审核" label: "商务审核",
}, },
{ {
id: 2, id: 2,
label: "运营审核" label: "运营审核",
}, },
{ {
id: 1, id: 1,
label: "采购商户" label: "采购商户",
} },
] {
id: 6,
label: "经理审核",
},
];
export const signStatusType = [
{ confId: 0, confName: "待签收" },
{ confId: 2, confName: "已签收" },
{ confId: 1, confName: "部分签收" },
];
...@@ -193,12 +193,15 @@ export default { ...@@ -193,12 +193,15 @@ export default {
}, },
className: (cellValue) => { className: (cellValue) => {
return { return {
2: 'yellowSpot', // 待审核
10: 'yellowSpot',
// 已审核
5: 'greenSpot', 5: 'greenSpot',
8: 'greenSpot',
// 已驳回
6: 'redSpot', 6: 'redSpot',
7: 'redSpot', 7: 'redSpot',
8: 'greenSpot', 9: 'redSpot',
9: 'redSpot'
}[cellValue.status] }[cellValue.status]
} }
} }
...@@ -323,7 +326,7 @@ export default { ...@@ -323,7 +326,7 @@ export default {
...this.dowloadList, ...this.dowloadList,
{ {
// name: '采购审核', // name: '采购审核',
name: '运营审核', name: '总监审核',
exportParam: JSON.stringify(params), exportParam: JSON.stringify(params),
status: 'waiting', status: 'waiting',
timeid: new Date().getTime() timeid: new Date().getTime()
......
...@@ -126,7 +126,7 @@ export default { ...@@ -126,7 +126,7 @@ export default {
deliveryDate: "", deliveryDate: "",
orderCode: this.$route.params.orderCode || "", orderCode: this.$route.params.orderCode || "",
merchantName: "", merchantName: "",
putStatus: "", putStatusList: [],
}, },
searchFormSearch: {}, searchFormSearch: {},
showFormData: [ showFormData: [
...@@ -167,8 +167,9 @@ export default { ...@@ -167,8 +167,9 @@ export default {
}, },
{ {
label: "状态", label: "状态",
name: "putStatus", name: "putStatusList",
type: "select", type: "select",
multiple: true,
optionList: [], optionList: [],
optionId: "confId", optionId: "confId",
optionLabel: "confName", optionLabel: "confName",
...@@ -309,7 +310,8 @@ export default { ...@@ -309,7 +310,8 @@ export default {
...mapActions("d2admin/user", ["actionSetDownloadList"]), ...mapActions("d2admin/user", ["actionSetDownloadList"]),
async getBaseData() { async getBaseData() {
this.getOptionsList(); this.getOptionsList(this, "showFormData", true, "shippingWarehouseName");
this.getOptionsList(this, "showFormData", false, "putStatusList");
}, },
getShippingWarehouseList() { getShippingWarehouseList() {
getShipWarehousePage({ currentPage: 1, pageSize: 999 }) getShipWarehousePage({ currentPage: 1, pageSize: 999 })
...@@ -339,31 +341,62 @@ export default { ...@@ -339,31 +341,62 @@ export default {
if (this.searchFormSearch.shippingWarehouseName === "全部") { if (this.searchFormSearch.shippingWarehouseName === "全部") {
this.searchFormSearch.shippingWarehouseName = ""; this.searchFormSearch.shippingWarehouseName = "";
} }
if (this.searchFormSearch.putStatusList && this.searchFormSearch.putStatusList.length) {
this.searchFormSearch.putStatusStr = this.searchFormSearch.putStatusList.join(",");
}
delete this.searchFormSearch.putStatusList;
resolve(); resolve();
}); });
}, },
getOptionsList() { getOptionsList(that, formName, hasAll = true, refreshSigle) {
this.showFormData.forEach((item, index) => { if (refreshSigle) {
if (item.type === "select") { let item = that[formName].find(k => k.name == refreshSigle);
let index = that[formName].findIndex(k => k.name == refreshSigle);
console.log(item, index);
that.$set(
that[formName][index],
"optionList",
deepClone(that.baseData[item.optionsName]),
);
if (
hasAll
&& that.baseData[item.optionsName].length
&& that.baseData[item.optionsName][0][
that[formName][index].optionLabel
] !== "全部"
) {
const temp = {};
temp[that[formName][index].optionId] = "";
temp[that[formName][index].optionLabel] = "全部";
that[formName][index].optionList.unshift(temp);
}
} else {
that[formName].forEach((item, index) => {
if ( if (
this.baseData[item.optionsName].length item.type === "select"
&& this.baseData[item.optionsName][0][ && that.baseData[item.optionsName]?.length
this.showFormData[index].optionLabel
] !== "全部"
) { ) {
const temp = {}; that.$set(
temp[this.showFormData[index].optionId] = ""; that[formName][index],
temp[this.showFormData[index].optionLabel] = "全部"; "optionList",
this.baseData[item.optionsName].unshift(temp); deepClone(that.baseData[item.optionsName]),
);
if (
hasAll
&& that.baseData[item.optionsName].length
&& that.baseData[item.optionsName][0][
that[formName][index].optionLabel
] !== "全部"
) {
const temp = {};
temp[that[formName][index].optionId] = "";
temp[that[formName][index].optionLabel] = "全部";
that[formName][index].optionList.unshift(temp);
}
} }
this.$set( });
this.showFormData[index], }
"optionList",
this.baseData[item.optionsName],
);
}
});
}, },
handleSearch() { handleSearch() {
...@@ -376,7 +409,7 @@ export default { ...@@ -376,7 +409,7 @@ export default {
deliveryDate: "", deliveryDate: "",
orderCode: "", orderCode: "",
merchantName: "", merchantName: "",
putStatus: "", putStatusList: [],
shippingWarehouseName: "全部", shippingWarehouseName: "全部",
}; };
this.$refs.recordTable.refreshTable(); this.$refs.recordTable.refreshTable();
......
<template>
<d2-container v-loading="loading">
<div v-for="(item, index) in selectList"
:key="index"
class="edit-page edit-tmpl"
style="padding: 20px">
<glsx-combi-form :ref="`editFormRef${index}`"
class="edit-form-container"
label-width="150px"
default-width="414px"
:form-ref="editChildRef"
:form-obj="item"
:form-data="editFormData"
:form-rules="formRules">
</glsx-combi-form>
</div>
<div class="footer">
<el-button type="primary"
:loading="loading"
@click="handleConfirm">
确定
</el-button>
<el-button @click="handleCancel">
取消
</el-button>
</div>
</d2-container>
</template>
<script>
import { getShippingEntityInfoAll } from "@api/serviceManage";
import {
managerBatchAudit,
} from "@/api/purchaseShopping.js";
import { deepClone, Util } from "@/common/util";
export default {
name: "BatchReview",
data() {
const editItemStyle = {
width: "50%",
marginRight: "0px",
};
const lineItemStyle = {
width: "100%",
marginRight: "0px",
};
return {
loading: false,
editChildRef: "editChildRef",
formRules: {
sendOutMerchantId: [
{ required: true, message: "请选择发货主体", trigger: "change" },
],
},
selectList: [],
editFormData: [
{
label: "订单编号",
name: "orderCode",
type: "showTxt",
style: editItemStyle,
},
{
label: "下单门店",
name: "merchantName",
type: "showTxt",
style: editItemStyle,
},
{
label: "订单总价/元",
name: "totalPrice",
type: "showTxt",
style: editItemStyle,
formatter: (cellValue) => {
return "¥" + cellValue.totalPrice;
},
},
{
label: "下单时间",
name: "orderTime",
type: "showTxt",
style: editItemStyle,
formatter: (cellValue) => {
return cellValue.orderTime ? Util.dateFormate(cellValue.orderTime, "YYYY-MM-DD HH:mm:ss") : "--";
},
},
{
label: "运营审核时间",
name: "operatorReviewDate",
type: "showTxt",
isHide: true,
style: editItemStyle,
formatter: (cellValue) => {
return cellValue.operatorReviewDate ? Util.dateFormate(cellValue.operatorReviewDate, "YYYY-MM-DD HH:mm:ss") : "--";
},
},
{
label: "发货主体",
name: "sendOutMerchantId",
isHide: true,
style: lineItemStyle,
type: "select",
optionList: [],
optionId: "shippingEntityId",
optionLabel: "shippingEntity",
optionsName: "shippingEntityList",
},
{
label: "备注",
name: "remark",
type: "input",
placeholder: "请输入",
style: lineItemStyle,
inputType: "textarea",
maxlength: "200",
rows: 4,
showLimit: true,
},
],
baseData: {
shippingEntityList: [],
},
};
},
mounted() {
this.fromPage = this.$route.query.fromPage || "procurementReview";
this.selectList = deepClone(this.$route.query.list || "[]");
this.showOrHideAttr("editFormData", "发货主体", this.fromPage == "procurementBusiness");
this.showOrHideAttr("editFormData", "运营审核时间", this.fromPage == "procurementReview");
this.getShippingEntityInfoAll();
},
methods: {
showOrHideAttr(formName, label, isHide) {
const idx = this[formName].findIndex(item => item.label == label);
this[formName][idx].isHide = isHide;
},
getShippingEntityInfoAll() {
// 获取发货主体数据
getShippingEntityInfoAll({}).then((res) => {
this.baseData.shippingEntityList = res || [];
this.getOptionsList("editFormData", false);
});
},
getOptionsList(formName, hasAll = true, refreshSigle) {
if (refreshSigle) {
let item = this[formName].find(k => k.name == refreshSigle);
let index = this[formName].findIndex(k => k.name == refreshSigle);
this.$set(this[formName][index], "optionList", deepClone(this.baseData[item.optionsName]));
if (hasAll && this.baseData[item.optionsName].length && this.baseData[item.optionsName][0][this[formName][index].optionLabel] !== "全部") {
const temp = {};
temp[this[formName][index].optionId] = "";
temp[this[formName][index].optionLabel] = "全部";
this[formName][index].optionList.unshift(temp);
}
} else {
this[formName].forEach((item, index) => {
if (["select", "radio"].includes(item.type) && this.baseData[item.optionsName].length) {
this.$set(this[formName][index], "optionList", deepClone(this.baseData[item.optionsName]));
if (hasAll && this.baseData[item.optionsName].length && this.baseData[item.optionsName][0][this[formName][index].optionLabel] !== "全部") {
const temp = {};
temp[this[formName][index].optionId] = "";
temp[this[formName][index].optionLabel] = "全部";
this[formName][index].optionList.unshift(temp);
}
}
});
}
},
handleConfirm() {
if (this.loading) {
return true;
}
const _api = managerBatchAudit;
this.loading = true;
const params = {
json: JSON.stringify({ auditList: this.selectList }),
};
_api(params).then((res) => {
this.notice.okTips("批量审核成功");
this.handleCancel();
}).finally(() => {
this.loading = false;
});
},
// 取消按钮返回列表页
handleCancel() {
this.$router.push({
name: "managerReview",
});
},
},
};
</script>
<style lang="scss" scoped>
.edit-page.edit-tmpl {
margin: 0 20px 20px;
background: #ffffff;
.title {
height: 50px;
line-height: 50px;
padding: 0 20px;
border-bottom: 1px solid #e5e5e5;
font-size: 16px;
font-weight: 600;
color: #333333;
}
}
::v-deep .el-form-item--small .el-form-item__label,
::v-deep .el-form-item--small .el-form-item__content {
line-height: 20px;
}
.edit-tmpl {
.add-mer-btn {
margin-left: 12px;
}
}
.footer {
text-align: center;
}
</style>
...@@ -38,7 +38,7 @@ ...@@ -38,7 +38,7 @@
<orderDeatilDialog :visible.sync="detailVisible" v-if="detailVisible" :params-obj="paramsObj"></orderDeatilDialog> <orderDeatilDialog :visible.sync="detailVisible" v-if="detailVisible" :params-obj="paramsObj"></orderDeatilDialog>
<CheckDialog :check-visible="checkVisible" v-if="checkVisible" :params-obj="paramsObj" from-page="procurementBusiness" @dialogClose="dialogClose"> <CheckDialog :check-visible="checkVisible" v-if="checkVisible" :params-obj="paramsObj" from-page="procurementBusiness" @dialogClose="dialogClose">
</CheckDialog> </CheckDialog>
<rejectDialog :reject-visible="rejectVisible" v-if="rejectVisible" :params-obj="paramsObj" from-page="procurementBusiness" :filter-reject-list="[1,2]" @dialogClose="dialogClose"> <rejectDialog :reject-visible="rejectVisible" v-if="rejectVisible" :params-obj="paramsObj" from-page="procurementBusiness" :filter-reject-list="[1,2,6]" @dialogClose="dialogClose">
</rejectDialog> </rejectDialog>
</d2-container> </d2-container>
</template> </template>
......
...@@ -17,6 +17,7 @@ ...@@ -17,6 +17,7 @@
:trialOnboardings="detailInfo.trialOnboardings" :trialOnboardings="detailInfo.trialOnboardings"
@handleAddConfirm="handleTrialConfirm" @handleAddConfirm="handleTrialConfirm"
@handleWorking="handleWorking" @handleWorking="handleWorking"
@handleViewResult="handleViewResult"
:isBtn="isBtn" :isBtn="isBtn"
></trialOnboard> ></trialOnboard>
<!-- 入职计划 --> <!-- 入职计划 -->
...@@ -40,6 +41,18 @@ ...@@ -40,6 +41,18 @@
>取消</el-button >取消</el-button
> >
</div> </div>
<glsk-form-dialog
v-if="trialViewResultVisible"
class="trial-view-result-dialog"
dialog-width="640px"
:dialog-config="trialViewDialogConfig"
:edit-data="trialViewResultForm"
:edit-form-data="trialViewResultFormData"
:select-visible="trialViewResultVisible"
@handleClose="handleTrialViewResultClose"
@handleConfirm="handleTrialViewResultClose"
>
</glsk-form-dialog>
</div> </div>
</template> </template>
<script> <script>
...@@ -49,13 +62,73 @@ import { handleRecruitment } from "@/api/recruitment" ...@@ -49,13 +62,73 @@ import { handleRecruitment } from "@/api/recruitment"
export default { export default {
mixins: [recruitMixin], mixins: [recruitMixin],
data() { data() {
const editItemStyle = {
marginBottom: "10px",
}
const contentStyle = {
width: "406px",
display: 'inline-block',
'word-break': 'break-all',
'white-space': 'pre-wrap',
'line-height': '22px',
'margin-top': '4px'
}
return { return {
loading: false, loading: false,
btnLoding: false, btnLoding: false,
isBtn: true isBtn: true,
trialViewResultVisible: false,
trialViewDialogConfig: {
title: "查看结果",
okText: "返回",
hideClose: true
},
trialViewResultForm: {},
trialViewResultFormData: [
{
label: "处理结果",
name: "processResult",
type: "showTxt",
formatter: (row) => {
const obj = {
"1": "通过",
"0": "不通过"
}
return obj[String(row.processResult)] || "-"
},
style: editItemStyle
},
{
label: "说明",
name: "processRemark",
type: "showTxt",
formatter: (row) => row.processRemark || "-",
style: editItemStyle,
txtStyle: contentStyle,
},
{
label: "处理人",
name: "processorName",
type: "showTxt",
style: editItemStyle
},
{
label: "处理时间",
name: "frontUpdatedDate",
type: "showTxt",
formatter: (row) => {
const date = row.frontUpdatedDate || row.updatedDate
return date ? Util.dateFormate(new Date(date), "YYYY-MM-DD HH:mm") : "-"
},
style: editItemStyle
}
]
} }
}, },
methods: { methods: {
handleTrialViewResultClose() {
this.trialViewResultVisible = false
},
handleSave() { handleSave() {
this.btnLoding = true this.btnLoding = true
let params = { let params = {
...@@ -99,6 +172,11 @@ export default { ...@@ -99,6 +172,11 @@ export default {
this.$refs.entryInfo.handleEntry?.(true) this.$refs.entryInfo.handleEntry?.(true)
this.$refs.entryInfo.isEntryForm = deepClone({ ...obj, skillTagIds: [] }) this.$refs.entryInfo.isEntryForm = deepClone({ ...obj, skillTagIds: [] })
}, },
// 试岗计划 - 查看结果
handleViewResult(data) {
this.trialViewResultForm = deepClone({ ...data })
this.trialViewResultVisible = true
},
//转试岗 //转试岗
handleTrial(data) { handleTrial(data) {
let params = { let params = {
...@@ -253,4 +331,12 @@ export default { ...@@ -253,4 +331,12 @@ export default {
scrollbar-color: transparent transparent; scrollbar-color: transparent transparent;
scrollbar-width: thin; scrollbar-width: thin;
} }
::v-deep .trial-view-result-dialog .el-dialog__footer .el-button {
width: 56px !important;
padding: 8px 14px !important;
color: #666666 !important;
background: #e8e8e8 !important;
border-color: #e8e8e8 !important;
}
</style> </style>
...@@ -168,7 +168,7 @@ import { ...@@ -168,7 +168,7 @@ import {
} from "@api/recruitment"; } from "@api/recruitment";
import { mapActions, mapState } from "vuex"; import { mapActions, mapState } from "vuex";
import { changeTypeOpt, connectionFlagOpt, connectionFlagOptMap, inviteStatusOpt, inviteStatusOptMap } from "@/common/constants.js"; import { changeTypeOpt, connectionFlagOpt, connectionFlagOptMap, inviteStatusOpt, inviteStatusOptMap, trialStatusOpt } from "@/common/constants.js";
import { deepClone, Util } from "@/common/util"; import { deepClone, Util } from "@/common/util";
import reportTrackPageMixin from "@/mixins/reportTrackPageMixin"; import reportTrackPageMixin from "@/mixins/reportTrackPageMixin";
...@@ -361,6 +361,13 @@ export default { ...@@ -361,6 +361,13 @@ export default {
: cellValue.allOfOnboarding; : cellValue.allOfOnboarding;
}, },
}, },
{
label: "待招人数",
prop: "pendingCount",
formatter: (cellValue) => {
return cellValue.pendingCount === 0 ? 0 : cellValue.pendingCount || "-";
},
},
{ {
label: "状态", label: "状态",
...@@ -369,6 +376,18 @@ export default { ...@@ -369,6 +376,18 @@ export default {
addHtml: "statusHtml", addHtml: "statusHtml",
}, },
{ {
label: "试岗状态",
prop: "trialStatus",
width: 120,
formatter: (cellValue) => {
const trialStatusMap = {
1: "试岗中",
2: "无试岗",
};
return trialStatusMap[cellValue.trialStatus] || "-";
},
},
{
label: "关联状态", label: "关联状态",
prop: "connectionFlag", prop: "connectionFlag",
width: 100, width: 100,
...@@ -389,6 +408,7 @@ export default { ...@@ -389,6 +408,7 @@ export default {
recruitmentType: "", recruitmentType: "",
createdDate: [], createdDate: [],
status: "", status: "",
trialStatus: "",
recruiterName: "", recruiterName: "",
regionOperationName: "", regionOperationName: "",
createdBy: "", createdBy: "",
...@@ -504,6 +524,16 @@ export default { ...@@ -504,6 +524,16 @@ export default {
optionLabel: "confValue", optionLabel: "confValue",
optionsName: "connectionFlagOpt", optionsName: "connectionFlagOpt",
}, },
{
label: "试岗状态",
name: "trialStatus",
type: "select",
isClear: true,
optionList: [],
optionId: "confId",
optionLabel: "confValue",
optionsName: "trialStatusOpt",
},
], ],
baseData: { baseData: {
...@@ -519,6 +549,7 @@ export default { ...@@ -519,6 +549,7 @@ export default {
inviteStatusOptMap: deepClone(inviteStatusOptMap), inviteStatusOptMap: deepClone(inviteStatusOptMap),
connectionFlagOptMap: deepClone(connectionFlagOptMap), connectionFlagOptMap: deepClone(connectionFlagOptMap),
connectionFlagOpt: deepClone(connectionFlagOpt), connectionFlagOpt: deepClone(connectionFlagOpt),
trialStatusOpt: deepClone(trialStatusOpt),
changeTypeOpt: deepClone(changeTypeOpt), changeTypeOpt: deepClone(changeTypeOpt),
receiverOpt: [], receiverOpt: [],
relateMerchantOpt: [], relateMerchantOpt: [],
......
...@@ -8,6 +8,7 @@ ...@@ -8,6 +8,7 @@
<trialOnboard <trialOnboard
:trialOnboardings="detailInfo.trialOnboardings" :trialOnboardings="detailInfo.trialOnboardings"
:isBtn="isBtn" :isBtn="isBtn"
@handleViewResult="handleViewResult"
></trialOnboard> ></trialOnboard>
<entryInfo <entryInfo
:onboardingPlans="detailInfo.onboardingPlans" :onboardingPlans="detailInfo.onboardingPlans"
...@@ -23,17 +24,87 @@ ...@@ -23,17 +24,87 @@
>关闭</el-button >关闭</el-button
> >
</div> </div>
<glsk-form-dialog
v-if="trialViewResultVisible"
class="trial-view-result-dialog"
dialog-width="640px"
:dialog-config="trialViewDialogConfig"
:edit-data="trialViewResultForm"
:edit-form-data="trialViewResultFormData"
:select-visible="trialViewResultVisible"
@handleClose="handleTrialViewResultClose"
@handleConfirm="handleTrialViewResultClose"
>
</glsk-form-dialog>
</div> </div>
</template> </template>
<script> <script>
import { Util, deepClone } from "@/common/util"
import { recruitMixin } from "./components/recruitMixin" import { recruitMixin } from "./components/recruitMixin"
export default { export default {
mixins: [recruitMixin], mixins: [recruitMixin],
data() { data() {
const editItemStyle = {
marginBottom: "10px",
}
const contentStyle = {
width: "406px",
display: 'inline-block',
'word-break': 'break-all',
'white-space': 'pre-wrap',
'line-height': '22px',
'margin-top': '4px'
}
return { return {
loading: false, loading: false,
detailInfo: {}, detailInfo: {},
isBtn: false isBtn: false,
trialViewResultVisible: false,
trialViewDialogConfig: {
title: "查看结果",
okText: "返回",
hideClose: true
},
trialViewResultForm: {},
trialViewResultFormData: [
{
label: "处理结果",
name: "processResult",
type: "showTxt",
formatter: (row) => {
const obj = {
"1": "通过",
"0": "不通过"
}
return obj[String(row.processResult)] || "-"
},
style: editItemStyle
},
{
label: "说明",
name: "processRemark",
type: "showTxt",
formatter: (row) => row.processRemark || "-",
style: editItemStyle,
txtStyle: contentStyle,
},
{
label: "处理人",
name: "processorName",
type: "showTxt",
style: editItemStyle
},
{
label: "处理时间",
name: "frontUpdatedDate",
type: "showTxt",
formatter: (row) => {
const date = row.frontUpdatedDate || row.updatedDate
return date ? Util.dateFormate(new Date(date), "YYYY-MM-DD HH:mm") : "-"
},
style: editItemStyle
}
]
} }
}, },
mounted() { mounted() {
...@@ -42,7 +113,15 @@ export default { ...@@ -42,7 +113,15 @@ export default {
methods: { methods: {
handleCancel() { handleCancel() {
this.$router.push("/recruitmentManagement") this.$router.push("/recruitmentManagement")
} },
// 试岗计划 - 查看结果
handleViewResult(data) {
this.trialViewResultForm = deepClone({ ...data })
this.trialViewResultVisible = true
},
handleTrialViewResultClose() {
this.trialViewResultVisible = false
},
} }
} }
</script> </script>
...@@ -131,4 +210,12 @@ export default { ...@@ -131,4 +210,12 @@ export default {
scrollbar-color: transparent transparent; scrollbar-color: transparent transparent;
scrollbar-width: thin; scrollbar-width: thin;
} }
::v-deep .trial-view-result-dialog .el-dialog__footer .el-button {
width: 56px !important;
padding: 8px 14px !important;
color: #666666 !important;
background: #e8e8e8 !important;
border-color: #e8e8e8 !important;
}
</style> </style>
...@@ -234,6 +234,11 @@ export default { ...@@ -234,6 +234,11 @@ export default {
label: "操作人", label: "操作人",
prop: "operator", prop: "operator",
}, },
{
label: "操作时间",
prop: "operateTime",
width: 150,
},
], ],
}, },
// 基本数据 // 基本数据
......
...@@ -216,10 +216,10 @@ export default { ...@@ -216,10 +216,10 @@ export default {
tableOption: true, tableOption: true,
tableColumns: [{ tableColumns: [{
label: "出库时间", label: "出库时间",
prop: "reduceDate", prop: "createdDate",
width: "150px", width: "150px",
formatter: (cellValue) => { formatter: (cellValue) => {
return cellValue.reduceDate ? Util.dateFormate(cellValue.reduceDate, "YYYY-MM-DD HH:mm:ss") : ""; return cellValue.createdDate ? Util.dateFormate(cellValue.createdDate, "YYYY-MM-DD HH:mm:ss") : "";
}, },
}, { }, {
label: "商品名称", label: "商品名称",
...@@ -309,6 +309,13 @@ export default { ...@@ -309,6 +309,13 @@ export default {
prop: "updatedUserName", prop: "updatedUserName",
width: "100px", width: "100px",
}, { }, {
label: "操作时间",
prop: "reduceDate",
width: 150,
formatter: (cellValue) => {
return cellValue.reduceDate ? Util.dateFormate(cellValue.reduceDate, "YYYY-MM-DD HH:mm:ss") : "";
},
}, {
label: "最后操作时间", label: "最后操作时间",
prop: "updatedDate", prop: "updatedDate",
width: "150px", width: "150px",
......
<!-- 库存明细弹窗 --> <!-- 库存明细弹窗 -->
<template> <template>
<d2-dialog title="库存明细" :is-visible="dialogVisible" class="stockMonthDailog" width="40%" :no-cancel="true" <d2-dialog btn-ok-label="关闭"
btn-ok-label="关闭" @closeDialog="handleClose" @confirmDialog="handleClose"> class="stockMonthDailog"
<div> :is-visible="dialogVisible"
<div class="d2-container-content"> :no-cancel="true"
<d2-table ref="recordTable" :get-list-api="getListApi" :search-form="searchForm" :table-params="tableParams"> title="库存明细"
</d2-table> width="40%"
</div> @closeDialog="handleClose"
</div> @confirmDialog="handleClose">
</d2-dialog> <div>
<div class="d2-container-content">
<d2-table ref="recordTable"
:get-list-api="getListApi"
:search-form="searchForm"
:table-params="tableParams">
</d2-table>
</div>
</div>
</d2-dialog>
</template> </template>
<script> <script>
import { mapActions, mapState } from 'vuex' import { merchantShopGoodsStockPage } from "@api/stockManage";
import { merchantShopGoodsStockPage } from '@api/stockManage' import { mapActions, mapState } from "vuex";
import { baseConfig } from '@/main' import { baseConfig } from "@/main";
export default { export default {
name: 'StockDetailDialog', name: "StockDetailDialog",
data() {
return {
userInfo: this.$store.state.d2admin.user.info,
membraneTypeList: baseConfig.membraneTypeList,
searchForm: {
upgradeGoodsId: '',
yqMerchantId: ''
},
getListApi: merchantShopGoodsStockPage,
tableData: [],
tableParams: {
btnId: new Date().getTime() + parseInt(Math.random() * 1000),
listName: 'list',
// tableOption: false,
tableColumns: [
{
label: '门店',
prop: 'merchantName',
width: '200px'
},
{
label: '当前库存',
prop: 'stock',
// width: ''
formatter: (cellValue) => {
return (cellValue.stock || cellValue.stock == 0) ? parseFloat(cellValue.stock).toFixed(2) + (this.membraneTypeList.includes(cellValue.goodsType) ? '米' : '件') : '-'
}
},
{
label: '膜卷号',
prop: 'filmRollNo',
formatter: (cellValue) => {
return cellValue?.filmRollNo || '-'
}
}
]
}
}
},
props: { props: {
visible: { visible: {
type: Boolean, type: Boolean,
default: false default: false,
}, },
recordInfo: { recordInfo: {
type: Object, type: Object,
default: () => { } default: () => { },
} },
}, },
data() {
return {
userInfo: this.$store.state.d2admin.user.info,
membraneTypeList: baseConfig.membraneTypeList,
searchForm: {
upgradeGoodsId: "",
yqMerchantId: "",
},
getListApi: merchantShopGoodsStockPage,
tableData: [],
tableParams: {
btnId: new Date().getTime() + Number.parseInt(Math.random() * 1000),
listName: "list",
// tableOption: false,
tableColumns: [
{
label: "门店",
prop: "merchantName",
width: "200px",
},
{
label: "当前库存",
prop: "stock",
// width: ''
formatter: (cellValue) => {
return (cellValue.stock || cellValue.stock == 0) ? Number.parseFloat(cellValue.stock).toFixed(2) + (this.membraneTypeList.includes(cellValue.goodsType) ? "米" : "件") : "-";
},
},
{
label: "膜卷号",
prop: "filmRollNo",
formatter: (cellValue) => {
return cellValue?.filmRollNo || "-";
},
},
],
},
};
},
computed: { computed: {
dialogVisible: { dialogVisible: {
get() { get() {
return this.visible return this.visible;
}, },
set(val) { set(val) {
this.$emit('update:visible', val) this.$emit("update:visible", val);
} },
} },
}, },
mounted() { mounted() {
if (this.recordInfo) { if (this.recordInfo) {
this.searchForm.yqMerchantId = this.recordInfo.yqMerchantId this.searchForm.yqMerchantId = this.recordInfo.yqMerchantId;
this.searchForm.upgradeGoodsId = this.recordInfo.upgradeGoodsId this.searchForm.upgradeGoodsId = this.recordInfo.upgradeGoodsId;
} this.searchForm.queryDate = this.recordInfo.queryDate ? this.recordInfo.queryDate : "";
}, }
},
methods: { methods: {
...mapActions({ ...mapActions({
get: 'd2admin/base/get', get: "d2admin/base/get",
close: 'd2admin/page/close' close: "d2admin/page/close",
}), }),
// beforeSearchFn() { // beforeSearchFn() {
// return new Promise(resolve => { // return new Promise(resolve => {
// this.searchFormSearch = deepClone(this.searchForm) // this.searchFormSearch = deepClone(this.searchForm)
// resolve() // resolve()
// }) // })
// }, // },
chooseYear() { chooseYear() {
this.getList() this.getList();
}, },
// getList() { // getList() {
// var params = deepClone(this.searchForm) // var params = deepClone(this.searchForm)
// getReportByGoods(params).then(res => { // getReportByGoods(params).then(res => {
// this.tableData = res // this.tableData = res
// }) // })
// }, // },
handleClose() { handleClose() {
// this.$emit('dialogClose') // this.$emit('dialogClose')
this.dialogVisible = false this.dialogVisible = false;
} },
}
}
},
};
</script> </script>
<style scoped> <style scoped>
.count-txt { .count-txt {
font-weight: 700; font-weight: 700;
color: #2a58ad; color: #2a58ad;
margin: 0 2px; margin: 0 2px;
} }
.stockMonthDailog .el-dialog { .stockMonthDailog .el-dialog {
margin-top: 20vh !important; margin-top: 20vh !important;
min-width: 700px; min-width: 700px;
} }
.stockMonthDailog .btn-tips img { .stockMonthDailog .btn-tips img {
width: 18px; width: 18px;
height: 15px; height: 15px;
margin-right: 9px; margin-right: 9px;
vertical-align: bottom; vertical-align: bottom;
} }
.stockMonthDailog .btn-tips { .stockMonthDailog .btn-tips {
display: inline-block; display: inline-block;
font-size: 12px; font-size: 12px;
height: 14px; height: 14px;
line-height: 14px; line-height: 14px;
background-color: #fff2e5; background-color: #fff2e5;
color: #999999; color: #999999;
margin-right: 24px; margin-right: 24px;
padding: 6.5px 10px; padding: 6.5px 10px;
} }
.show-search { .show-search {
margin-left: -65px; margin-left: -65px;
} }
</style> </style>
<!-- 库存管理 --> <!-- 库存管理 -->
<template> <template>
<div> <div>
<d2-container> <d2-container>
<template #header> <template #header>
<div class="header" <div class="header" style="padding: 10px 20px;">
<d2-search ref="showSearch" class="show-search" :form-data="showFormData" :search-form="searchForm" />
style="padding: 10px 20px;"> <div class="up-btns">
<d2-search ref="showSearch" <el-button size="small" type="primary" @click="handleSearch">
class="show-search" 查询
:form-data="showFormData" </el-button>
:search-form="searchForm" /> <el-button size="small" @click="handleReset">
<div class="up-btns"> 重置
<el-button size="small" </el-button>
type="primary" </div>
@click="handleSearch"> </div>
查询 </template>
</el-button> <div class="d2-container-content">
<el-button size="small" <d2-table-header>
@click="handleReset"> <template #left>
重置 <span class="leftSpan">
</el-button> 合计:当前库存<span class="count-txt">{{ statisticsData }}</span>
</div> </span>
</div> </template>
</template> <div>
<div class="d2-container-content"> <auth-button category="Button" />
<d2-table-header> </div>
<template #left> </d2-table-header>
<span class="leftSpan"> <d2-table ref="recordTable" :before-search-fn="beforeSearchFn" :get-list-api="getListApi"
合计:当前库存<span class="count-txt">{{ statisticsData }}</span> :search-form="searchFormSearch" :table-params="tableParams">
</span> <template #auth-button="scope">
</template> <auth-button :data="scope.scope" />
<div> </template>
<auth-button category="Button" /> </d2-table>
</div> </div>
</d2-table-header> </d2-container>
<d2-table ref="recordTable" <!-- 查看 -->
:before-search-fn="beforeSearchFn" <StockMonthDialog v-if="stockMonthVisible" :record-info="recordInfo" :stock-month-visible="stockMonthVisible"
:get-list-api="getListApi" @dialogClose="dialogClose" />
:search-form="searchFormSearch" <StockDetailDialog v-if="stockDetailDialogVisible" :record-info="recordInfo"
:table-params="tableParams"> :visible.sync="stockDetailDialogVisible">
<template #auth-button="scope"> </StockDetailDialog>
<auth-button :data="scope.scope" /> <StatementOfAccountDialog v-if="statementOfAccountDialogVisible" :visible.sync="statementOfAccountDialogVisible"
</template> :yq-merchant-list="baseData.yqMerchantList" @handleRelateProConfirm="handleRelateProConfirm">
</d2-table> </StatementOfAccountDialog>
</div> </div>
</d2-container>
<!-- 查看 -->
<StockMonthDialog v-if="stockMonthVisible"
:record-info="recordInfo"
:stock-month-visible="stockMonthVisible"
@dialogClose="dialogClose" />
<StockDetailDialog v-if="stockDetailDialogVisible"
:record-info="recordInfo"
:visible.sync="stockDetailDialogVisible">
</StockDetailDialog>
<StatementOfAccountDialog v-if="statementOfAccountDialogVisible"
:visible.sync="statementOfAccountDialogVisible"
:yq-merchant-list="baseData.yqMerchantList"
@handleRelateProConfirm="handleRelateProConfirm">
</StatementOfAccountDialog>
</div>
</template> </template>
<script> <script>
...@@ -88,6 +72,7 @@ export default { ...@@ -88,6 +72,7 @@ export default {
yqMerchantId: "", yqMerchantId: "",
goodsType: "", goodsType: "",
goodsSeries: "", goodsSeries: "",
queryDate: "",
}, },
searchFormSearch: {}, searchFormSearch: {},
searchSelectObj: { searchSelectObj: {
...@@ -136,6 +121,14 @@ export default { ...@@ -136,6 +121,14 @@ export default {
type: "input", type: "input",
maxlength: "20", maxlength: "20",
isClear: true, isClear: true,
}, {
label: "选择日期",
name: "queryDate",
type: "datePicker",
dateType: "date",
isClear: true,
placeholder: "请选择",
pickerOptions: "stockQueryDatePickerOptions",
}], }],
getListApi: getMerchantGoodsStockMonthReport, getListApi: getMerchantGoodsStockMonthReport,
tableParams: { tableParams: {
...@@ -239,6 +232,7 @@ export default { ...@@ -239,6 +232,7 @@ export default {
// 库存记录统计 // 库存记录统计
stockMonthReportCount() { stockMonthReportCount() {
this.beforeSearchFn()
stockMonthReportCount(this.searchFormSearch).then((res) => { stockMonthReportCount(this.searchFormSearch).then((res) => {
this.statisticsData = res; this.statisticsData = res;
}); });
...@@ -252,6 +246,9 @@ export default { ...@@ -252,6 +246,9 @@ export default {
beforeSearchFn() { beforeSearchFn() {
return new Promise((resolve) => { return new Promise((resolve) => {
this.searchFormSearch = deepClone(this.searchForm); this.searchFormSearch = deepClone(this.searchForm);
if (this.searchFormSearch.queryDate) {
this.searchFormSearch.queryDate = Util.dateFormate(this.searchFormSearch.queryDate, "YYYY-MM-DD") + " 23:59:59";
}
this.searchFormSearch.dataMonth = Util.dateFormate(new Date(), "YYYY-MM"); this.searchFormSearch.dataMonth = Util.dateFormate(new Date(), "YYYY-MM");
resolve(); resolve();
...@@ -282,6 +279,7 @@ export default { ...@@ -282,6 +279,7 @@ export default {
yqMerchantId: "", yqMerchantId: "",
goodsType: "", goodsType: "",
goodsSeries: "", goodsSeries: "",
queryDate: "",
}; };
this.$refs.recordTable.refreshTable(); this.$refs.recordTable.refreshTable();
this.stockMonthReportCount(); this.stockMonthReportCount();
...@@ -328,7 +326,10 @@ export default { ...@@ -328,7 +326,10 @@ export default {
}, },
handleDetail(row) { handleDetail(row) {
this.recordInfo = row; this.recordInfo = row;
console.log(row, "row"); this.recordInfo = {
...this.recordInfo,
queryDate: this.searchForm.queryDate ? Util.dateFormate(this.searchForm.queryDate, "YYYY-MM-DD") + " 23:59:59" : "",
};
this.stockDetailDialogVisible = true; this.stockDetailDialogVisible = true;
}, },
dialogClose(flag) { dialogClose(flag) {
......
<!-- 商务审核 --> <!-- 商务审核 -->
<template> <template>
<div> <div>
<d2-container> <d2-container>
<template #header> <template #header>
<div class="header" style="padding: 10px 20px"> <div class="header" style="padding: 10px 20px">
<d2-search ref="showSearch" <d2-search ref="showSearch" class="show-search" :form-data="showFormData" :search-form="searchForm" />
class="show-search" <div class="up-btns">
:form-data="showFormData" <el-button :id="tableParams.btnId" size="small" type="primary">
:search-form="searchForm" /> 查询
<div class="up-btns"> </el-button>
<el-button :id="tableParams.btnId" <el-button size="small" @click="handleReset">
size="small" 重置
type="primary"> </el-button>
查询 </div>
</el-button> </div>
<el-button size="small" @click="handleReset"> </template>
重置 <div class="d2-container-content">
</el-button> <d2-table-header>
</div> <!-- <span slot="left"
</div>
</template>
<div class="d2-container-content">
<d2-table-header>
<!-- <span slot="left"
v-if="!userInfo.beSuper && userInfo.beYQMerchant"> v-if="!userInfo.beSuper && userInfo.beYQMerchant">
<auth-button category="Button" <auth-button category="Button"
:show-btn-ids="['9080501']" /> :show-btn-ids="['9080501']" />
</span> --> </span> -->
<auth-button category="Button" :show-btn-ids="['9081001']" /> <auth-button category="Button" :show-btn-ids="['9081001']" />
</d2-table-header> </d2-table-header>
<d2-table ref="recordTable" <d2-table ref="recordTable" :before-search-fn="beforeSearchFn" :get-list-api="getListApi"
:before-search-fn="beforeSearchFn" :search-form="searchFormSearch" :table-params="tableParams">
:get-list-api="getListApi" <template #auth-button="scope">
:search-form="searchFormSearch" <div>
:table-params="tableParams"> <span style="margin-right: 10px">
<template #auth-button="scope"> <auth-button :data="scope.scope" :show-btn-ids="['9081002']" />
<div> </span>
<span style="margin-right: 10px"> <span v-if="scope.scope.billStatus == 2" style="margin-right: 10px">
<auth-button :data="scope.scope" :show-btn-ids="['9081002']" /> <auth-button :data="scope.scope" :show-btn-ids="['9081003']" />
</span> </span>
<span v-if="scope.scope.billStatus == 2" style="margin-right: 10px"> <span v-if="scope.scope.billStatus == 2" style="margin-right: 10px">
<auth-button :data="scope.scope" :show-btn-ids="['9081003']" /> <auth-button :data="scope.scope" :show-btn-ids="['9081004']" />
</span> </span>
<span v-if="scope.scope.billStatus == 2" style="margin-right: 10px"> </div>
<auth-button :data="scope.scope" :show-btn-ids="['9081004']" /> </template>
</span> </d2-table>
</div> </div>
</template> </d2-container>
</d2-table> <!-- 查看 -->
</div> <TransferDetailDialog v-if="transferDetailVisible" :hide-contact="true" :is-store="true" :params-obj="transferObj"
</d2-container> :visible.sync="transferDetailVisible" />
<!-- 查看 --> </div>
<TransferDetailDialog v-if="transferDetailVisible"
:hide-contact="true"
:params-obj="transferObj"
:visible.sync="transferDetailVisible" />
</div>
</template> </template>
<script> <script>
...@@ -338,7 +328,7 @@ export default { ...@@ -338,7 +328,7 @@ export default {
if ( if (
this.baseData[item.optionsName].length this.baseData[item.optionsName].length
&& this.baseData[item.optionsName][0][ && this.baseData[item.optionsName][0][
this.showFormData[index].optionLabel this.showFormData[index].optionLabel
] !== "全部" ] !== "全部"
) { ) {
const temp = {}; const temp = {};
...@@ -472,6 +462,7 @@ export default { ...@@ -472,6 +462,7 @@ export default {
color: #2a58ad; color: #2a58ad;
margin: 0 2px; margin: 0 2px;
} }
.leftSpan { .leftSpan {
display: inline-block; display: inline-block;
box-sizing: border-box; box-sizing: border-box;
......
<!-- 运营审核 --> <!-- 运营审核 -->
<template> <template>
<div> <div>
<d2-container> <d2-container>
<template #header> <template #header>
<div class="header" style="padding: 10px 20px"> <div class="header" style="padding: 10px 20px">
<d2-search ref="showSearch" <d2-search ref="showSearch" class="show-search" :form-data="showFormData" :search-form="searchForm" />
class="show-search" <div class="up-btns">
:form-data="showFormData" <el-button :id="tableParams.btnId" size="small" type="primary">
:search-form="searchForm" /> 查询
<div class="up-btns"> </el-button>
<el-button :id="tableParams.btnId" <el-button size="small" @click="handleReset">
size="small" 重置
type="primary"> </el-button>
查询 </div>
</el-button> </div>
<el-button size="small" @click="handleReset"> </template>
重置 <div class="d2-container-content">
</el-button> <d2-table-header>
</div> <!-- <span slot="left"
</div>
</template>
<div class="d2-container-content">
<d2-table-header>
<!-- <span slot="left"
v-if="!userInfo.beSuper && userInfo.beYQMerchant"> v-if="!userInfo.beSuper && userInfo.beYQMerchant">
<auth-button category="Button" <auth-button category="Button"
:show-btn-ids="['9080501']" /> :show-btn-ids="['9080501']" />
</span> --> </span> -->
<auth-button category="Button" :show-btn-ids="['9080901']" /> <auth-button category="Button" :show-btn-ids="['9080901']" />
</d2-table-header> </d2-table-header>
<d2-table ref="recordTable" <d2-table ref="recordTable" :before-search-fn="beforeSearchFn" :get-list-api="getListApi"
:before-search-fn="beforeSearchFn" :search-form="searchFormSearch" :table-params="tableParams">
:get-list-api="getListApi" <template #auth-button="scope">
:search-form="searchFormSearch" <div>
:table-params="tableParams"> <span style="margin-right: 10px">
<template #auth-button="scope"> <auth-button :data="scope.scope" :show-btn-ids="['9080902']" />
<div> </span>
<span style="margin-right: 10px"> <span v-if="scope.scope.billStatus == 1" style="margin-right: 10px">
<auth-button :data="scope.scope" :show-btn-ids="['9080902']" /> <auth-button :data="scope.scope" :show-btn-ids="['9080903']" />
</span> </span>
<span v-if="scope.scope.billStatus == 1" style="margin-right: 10px"> <span v-if="scope.scope.billStatus == 1" style="margin-right: 10px">
<auth-button :data="scope.scope" :show-btn-ids="['9080903']" /> <auth-button :data="scope.scope" :show-btn-ids="['9080904']" />
</span> </span>
<span v-if="scope.scope.billStatus == 1" style="margin-right: 10px"> </div>
<auth-button :data="scope.scope" :show-btn-ids="['9080904']" /> </template>
</span> </d2-table>
</div> </div>
</template> </d2-container>
</d2-table> <!-- 查看 -->
</div> <TransferDetailDialog v-if="transferDetailVisible" :hide-contact="true" :is-store="false" :params-obj="transferObj"
</d2-container> :visible.sync="transferDetailVisible" />
<!-- 查看 --> </div>
<TransferDetailDialog v-if="transferDetailVisible"
:hide-contact="true"
:params-obj="transferObj"
:visible.sync="transferDetailVisible" />
</div>
</template> </template>
<script> <script>
...@@ -332,7 +322,7 @@ export default { ...@@ -332,7 +322,7 @@ export default {
if ( if (
this.baseData[item.optionsName].length this.baseData[item.optionsName].length
&& this.baseData[item.optionsName][0][ && this.baseData[item.optionsName][0][
this.showFormData[index].optionLabel this.showFormData[index].optionLabel
] !== "全部" ] !== "全部"
) { ) {
const temp = {}; const temp = {};
...@@ -446,6 +436,7 @@ export default { ...@@ -446,6 +436,7 @@ export default {
color: #2a58ad; color: #2a58ad;
margin: 0 2px; margin: 0 2px;
} }
.leftSpan { .leftSpan {
display: inline-block; display: inline-block;
box-sizing: border-box; box-sizing: border-box;
......
...@@ -62,8 +62,8 @@ ...@@ -62,8 +62,8 @@
<auth-button :data="scope.scope" <auth-button :data="scope.scope"
:show-btn-ids="['9063002']" /> :show-btn-ids="['9063002']" />
</span> </span>
<!-- 自定义周期 --> <!-- 自定义周期:门店产值及个人成交排名 / BI数据分析表 / 无日报门店产值表 -->
<span v-if="scope.scope.report_type.includes('门店产值及个人成交排名') || scope.scope.report_type.includes('BI数据分析表')" <span v-if="isCustomPeriodReportType(scope.scope.report_type)"
style="margin-right: 10px;"> style="margin-right: 10px;">
<auth-button :data="scope.scope" <auth-button :data="scope.scope"
:show-btn-ids="['9063003']" /> :show-btn-ids="['9063003']" />
...@@ -279,6 +279,19 @@ export default { ...@@ -279,6 +279,19 @@ export default {
// }), // }),
// ...mapActions('d2admin/user', ['actionSetDownloadList']), // ...mapActions('d2admin/user', ['actionSetDownloadList']),
/**
* 是否展示「自定义周期」按钮(与 common/constants.js downloadReportManage_reportType 中报表名称一致)
*/
isCustomPeriodReportType(reportType) {
if (!reportType || typeof reportType !== "string") return false;
const keywords = [
"门店产值及个人成交排名",
"BI数据分析表",
"无日报门店产值表",
];
return keywords.some((k) => reportType.includes(k));
},
async getBaseData() { async getBaseData() {
this.getOptionsList(); this.getOptionsList();
}, },
......
<!-- 运营管理 --> <!-- 运营管理 -->
<template> <template>
<div class="list-wrap"> <div class="list-wrap">
<div class="header" slot="header"> <div slot="header" class="header">
<el-tabs v-model="activeName" @tab-click="handleClick"> <el-tabs v-model="activeName" @tab-click="handleClick">
<el-tab-pane <el-tab-pane v-for="(item, index) in tabPaneList"
v-for="(item, index) in tabPaneList" :key="index"
:label="item.label" :label="item.label"
:name="item.name" :name="item.name">
:key="index" </el-tab-pane>
> </el-tabs>
</el-tab-pane> <components :is="tabName" :scene-type="activeName"></components>
</el-tabs> </div>
<components :is="tabName" :scene-type="activeName"></components>
</div> </div>
</div>
</template> </template>
<script> <script>
import contract from "./components/contract/index.vue" import contract from "./components/contract/index.vue";
import sunshine from "./components/sunshine/index.vue" import sunshine from "./components/sunshine/index.vue";
export default { export default {
components: { components: {
contract, Contract: contract,
sunshine Sunshine: sunshine,
}, },
data() { data() {
return { return {
activeName: "0", activeName: "0",
tabPaneList: [ tabPaneList: [
{ {
label: "合同管理", label: "合同管理",
name: "0" name: "0",
}, },
{ {
label: "阳光激励", label: "阳光激励",
name: "1" name: "1",
} },
], ],
tabName: "contract" tabName: "contract",
} };
}, },
mounted() { watch: {},
if (this.$route.params.tabPane) { mounted() {
this.activeName = this.$route.params.tabPane if (this.$route.params.tabPane) {
this.tabName = this.$route.params.tabLabel this.activeName = this.$route.params.tabPane;
} this.tabName = this.$route.params.tabLabel;
}, }
watch: {}, },
methods: { methods: {
handleClick() { handleClick() {
const arr = { const arr = {
0: "contract", 0: "contract",
1: "sunshine" 1: "sunshine",
} };
this.tabName = arr[+this.activeName] this.tabName = arr[+this.activeName];
} },
} },
} };
</script> </script>
<style scoped lang="scss"> <style scoped lang="scss">
.list-wrap { .list-wrap {
padding: 0 26px 0 20px; padding: 0 26px 0 20px;
.header { .header {
::v-deep .el-tabs__header { ::v-deep .el-tabs__header {
margin: 0; margin: 0;
.el-tabs__nav-wrap { .el-tabs__nav-wrap {
padding: 0 20px; padding: 0 20px;
} }
.el-tabs__nav-wrap { .el-tabs__nav-wrap {
height: 54px; height: 54px;
line-height: 54px; line-height: 54px;
font-size: 16px; font-size: 16px;
} }
} }
} }
} }
</style> </style>
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!