Commit 42e9e4c3 by wangzhihui

```

feat(order): 新增有效引荐数复核功能

- 添加有效引荐数相关API接口,包括列表、复核、详情等
- 实现引荐数审核页面和对话框组件
- 配置引荐数审核路由和权限控制

feat(resident): 优化员工薪资管理功能

- 修改导入员工修订工资接口地址
- 新增批量修改薪资、4s列表、工资条员工列表等API
- 完善薪资管理相关常量定义

chore(api): 更新文件头注释信息

fix(config): 修复配置中心模块URL路径

- 修正main.js中配置中心请求URL路径参数

feat(constants): 添加复核状态选项常量

- 定义复核状态选项及其对应颜色映射

refactor(util): 优化工具函数代码结构

- 清理util.js中getStatusValue方法多余代码

feat(shopConfig): 新增有效引荐列表功能

- 添加有效引荐列表查询和导出API接口

feat(inStoreManage): 增加绩效规则配置功能

- 在驻店管理中添加绩效规则配置相关路由
- 完善批量修改薪资弹窗功能
```
1 parent 9b7d9192
......@@ -202,3 +202,18 @@ export function getSellerListApi(data) {
data.method = `${path2}staff.page.info`
return request(data, "post")
}
//订单管理-有效引荐数复核列表
export function getEffectiveReferralStoreList(data) {
data.method = "dj.staff.api.effective.referral.audit.page"
return request(data)
}
// 订单管理 - 有效引荐数 - 复核
export function effectiveReferralStoreAudit(data) {
data.method = "dj.staff.api.effective.referral.audit"
return request(data)
}
//订单管理-有效引荐数-详情
export function getEffectiveReferralStoreDetail(data) {
data.method = "dj.staff.api.effective.referral.detail"
return request(data)
}
......@@ -242,7 +242,8 @@ export function getEmployee(data) {
// 导入员工修订工资
export function importStaffSalaryApi(data) {
data.method = `${path2}staffMonthSalary.staffSalary.import`
// data.method = `${path2}staffMonthSalary.staffSalary.import`
data.method = `dj.api.smartcarlife.staffMonthSalary.staffSalary.detail.import`
return request(data, "post", ["file"])
}
......@@ -636,3 +637,21 @@ export function staffBaseInfoPageList(data = {}) {
data.method = "dj.api.smartcarlife.staffBaseInfo.pageList"
return request(data, "post")
}
// 北森员工信息批量修改
export function updateBatchSalary(data) {
data.method =
"dj.api.smartcarlife.staffBaseInfo.salaryEffectiveRule.updateBatch"
return request(data, "post")
}
//工资维护-4s列表
export function getSalaryMerchantList(data = {}) {
data.method = "dj.api.smartcarlife.staffMonthSalary.merchant.list"
return request(data, "post")
}
//存在工资条的员工手机号列表(分页)
export function getSalaryStaffList(data) {
data.method = "dj.api.smartcarlife.staffMonthSalary.staff.list"
return request(data, "post")
}
/*
* @Author: 'wangzhihui' '1733904062@qq.com'
* @Date: 2026-01-21 11:17:18
* @LastEditors: 'wangzhihui' '1733904062@qq.com'
* @LastEditTime: 2026-01-22 17:11:52
* @FilePath: \dj-car-life-system\src\api\salaryManagement.js
* @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
*/
// 工资绩效
import request from "./request"
......
......@@ -364,4 +364,15 @@ export function exportProfit(data) {
export function importProfit(data) {
data.method = `dj.api.script.merchant.profit.record.async.import`
return request(data, "post", ["file"])
}
\ No newline at end of file
}
//店铺设置-有效引荐列表
export function getEffectiveReferralList(data) {
data.method = "dj.staff.api.effective.referral.page"
return request(data)
}
//店铺设置-有效引荐列表导出
export function exportEffectiveReferralList(data) {
data.method = "dj.staff.api.effective.referral.export.async"
return request(data)
}
......@@ -1845,3 +1845,22 @@ export const signerTypeOpt = [
{ confId: 1, confValue: "企业委托" },
{ confId: 2, confValue: "企业" }
]
export const reviewStatusOpts = [
{
confId: 0,
confValue: "待复核"
},
{
confId: 1,
confValue: "已复核"
},
{
confId: 2,
confValue: "已失效"
}
]
export const reviewStatusOptMap = {
0: "#FDB757",
1: "#2CCA74",
2: "#999999"
}
......@@ -400,6 +400,7 @@ export const Util = {
if (!baseData || !baseData[optKey] || !row) return null
let value = rowKey ? row[rowKey] : row
let item = baseData[optKey].find((item) => item.confId == value)
return (item && item.confValue) || "-"
},
getStatusColor(status, optKey) {
......
......@@ -115,7 +115,7 @@ let baseConfig = config
// 使用fetch 解决axios提前实例化导致sign里面的secret不能通过配置中心动态获取
fetch(
"https://config-center-backend.glsx.com.cn/glsxAdmin/config?moduleUrl=dj-car-life-system-config"
"https://config-center-backend.glsx.com.cn/glsxAdmin/config?moduleUrl=dj-car-life-system-config-wzh"
)
.then(
(response) => {
......
......@@ -722,5 +722,38 @@ export const routerName = {
}
],
component: _import("orderManage/refundExamine")
},
90409: {
path: "/referralAudit",
name: "referralAudit",
meta: {
title: "引荐数审核",
authId: "90409",
parentId: "904",
cache: false
},
auth: [
{
authId: "9040903",
parentId: "90409",
label: "导出",
category: "Button",
type: "primary",
handle: "handleExport"
},
{
authId: "9040901",
parentId: "90409",
label: "查看",
handle: "handleExamine"
},
{
authId: "9040902",
parentId: "90409",
label: "复核",
handle: "handleExamine"
}
],
component: _import("orderManage/referralAudit")
}
}
......@@ -202,6 +202,21 @@ export const routerName = {
type: "default",
label: "批量修改薪资占比",
handle: "handleUpdateSalary"
},
{
authId: "9120515",
parentId: "91205",
category: "Button",
type: "default",
label: "绩效规则配置",
addRoutePath: [
{
authId: "912051501",
name: "绩效规则配置",
parentId: "9120505"
}
],
handle: "handleConfigurationPerformance"
}
],
component: _import("residentManage/inStoreManage/inStoreControlList")
......@@ -218,6 +233,18 @@ export const routerName = {
},
component: _import("residentManage/inStoreManage/staffInfo")
},
912051501: {
path: "/configurationPerformance",
name: "configurationPerformance",
meta: {
title: "绩效规则配置",
authId: "912051501",
parentId: "9120505",
cache: false,
activePath: "/inStoreManage"
},
component: _import("residentManage/inStoreManage/configurationPerformance")
},
// 91206: {
// path: "/staffManage",
// name: "staffManage",
......
<!-- 复核有效引荐数/查看有效引荐数 -->
<!-- 只有待复核的数据,才显示复核按钮,已复核和已失效,只显示查看按钮
-->
<template>
<baseDialog
:dialog-config="dialogConfig"
:is-show.sync="visible"
class="accountDailog"
:config="approveConfig"
@handleClick="handleClick"
>
<div class="reply-dialog" v-loading="loading">
<template v-if="detailInfo">
<detailComp
ref="detailComp"
:configData="configData"
:detailInfo="detailInfo"
labelWidth="168px"
:rules="rules"
></detailComp>
</template>
</div>
</baseDialog>
</template>
<script>
import {
effectiveReferralStoreAudit,
getEffectiveReferralStoreDetail
} from "@api/order"
import detailComp from "../../residentManage/salaryPerformance/components/detailComp.vue"
import { Util, deepClone, getStatusItem } from "@/common/util"
export default {
name: "approvalView",
components: {
detailComp
},
data() {
return {
detailInfo: {},
dialogConfig: {
title: "复核有效引荐数",
width: "520px"
},
loading: false,
isShow: true,
approveConfig: {
isShowFooter: false,
cancel_name: "取 消",
confirm_name: "确 定"
},
configData: [
{
childRef: "referralComp",
infoData: [
{
title: "门店名称",
key: "merchantName",
col: 24
},
{
title: "业务场景",
key: "sceneType",
col: 24,
formatter: (cellValue) => {
return getStatusItem(
this.baseData,
"businessTypeOpts",
cellValue,
"sceneType"
)
}
},
{
title: "车辆品牌",
key: "brandName",
col: 24
},
{
title: "系统交车数",
key: "totalDeliveryCount",
col: 24,
formatter: (val) => {
return val.totalDeliveryCount || val.totalDeliveryCount === 0
? val.totalDeliveryCount
: "-"
}
},
{
title: "区域有效引荐数",
key: "areaEffectiveCount",
col: 24,
formatter: (val) => {
return val.areaEffectiveCount || val.areaEffectiveCount === 0
? val.areaEffectiveCount
: "-"
}
},
{
title: "运营修正实际有效引荐数",
key: "reviewedEffectiveCount",
isEdit: true,
col: 24,
type: "input",
isDisabled: false
}
]
}
],
rules: {
reviewedEffectiveCount: [
{ required: true, message: "请填写修正实际有效引荐数" },
{
validator: (rule, value, callback) => {
const s = String(value == null ? "" : value).trim()
if (!/^\d+$/.test(s)) {
callback(new Error("仅支持输入整数"))
return
}
const n = Number(s)
if (n < 0 || n > 100000000) {
callback(new Error("范围应为 0-100000000"))
return
}
callback()
},
trigger: ["blur", "change"]
}
]
},
baseData: {
businessTypeOpts: [
{
confId: 3,
confValue: "单延保"
},
{
confId: 2,
confValue: "广联权益"
},
{
confId: 1,
confValue: "轻改"
}
]
}
}
},
props: {
detailVisible: {
type: Boolean,
default: false
},
id: {
type: String,
default: ""
}
},
computed: {
visible: {
get() {
return this.detailVisible
},
set(newVal) {
this.$emit("dialogClose", { flag: newVal, attrName: "detailVisible" })
}
}
},
watch: {
detailVisible: {
handler(val) {
console.log(val)
this.getDetail()
},
immediate: true
}
},
created() {},
mounted() {},
methods: {
async getDetail() {
// let result = await getEffectiveReferralStoreDetail({ id: this.id })
let result = {
id: 0,
merchantId: 0,
merchantName: "深圳市鹏峰丰田汽车有限公司",
sceneType: 1,
brandId: 0,
brandName: "问界",
totalDeliveryCount: 0,
areaEffectiveCount: 0,
reviewedEffectiveCount: 0,
remark:
"分享时机,在不同的时机时机,在不同的时机分析用户是分享时时机,在不同的时机分析用户是分享时时机,在不同的时机分析用户是分享时时机,在不同的时机分析用户是分享时时机,在不同的时机分析用户是分享时时机,在不同的时机分析用户是分享时时机,在不同的时机分析用户是分享时分析用户是分享时机,在不同的时机分析用户是分享时机,在不同的时机分析用户是",
managerCommitTime: "",
isReviewed: 0,
managerId: "",
managerName: "尹小燕",
reviewedBy: "",
reviewedName: "尹小燕ww"
}
this.dialogConfig.title =
result.isReviewed == 0 ? "复核有效引荐数" : "查看有效引荐数"
this.approveConfig.isShowFooter = result.isReviewed == 0 ? true : false
// 申诉类型(1:考勤,2:平板录音)
this.configData[0].infoData[
this.findAttrIdx("infoData", "reviewedEffectiveCount")
].isDisabled = result.isReviewed == 0 ? false : true
this.detailInfo = result
},
formatterImg(val) {
if (!val) return []
let arr = val.split(",")
return arr
},
async handleClick() {
const refs =
this.$refs.detailComp &&
this.$refs.detailComp.$refs &&
this.$refs.detailComp.$refs.referralComp
const items = Array.isArray(refs) ? refs : refs ? [refs] : []
const results = await Promise.all(
items.map((comp) => {
if (!comp || typeof comp.validate !== "function")
return Promise.resolve(true)
const ret = comp.validate()
if (ret && typeof ret.then === "function") {
return ret.then(() => true).catch(() => false)
}
return new Promise((resolve) => {
comp.validate((valid) => resolve(!!valid))
})
})
)
const allValid = results.every(Boolean)
if (allValid) {
let params = {
appealRecordId: this.detailInfo.id,
replyContent: this.detailInfo.replyContent
}
if (this.detailInfo.appealType == 1) {
params.confirmActualAttendanceDays =
this.detailInfo.confirmActualAttendanceDays
} else {
params.confirmPadRecordNum = this.detailInfo.confirmPadRecordNum
}
// replySalaryAppeal(params)
// .then((res) => {
// if (res) {
// this.$message.success("操作成功")
// }
// })
// .finally((err) => {
// this.visible = false
// })
}
},
handleClose() {
console.log("handleClose")
},
findAttrIdx(formName, name) {
var index = this.configData[0][formName].findIndex((k) => k.key == name)
return index || 0
}
}
}
</script>
<style lang="scss" scoped>
@import "../../residentManage/salaryPerformance/components/detail.scss";
::v-deep .el-dialog__body {
padding: 12px 20px !important;
}
::v-deep .el-dialog__footer {
border-top: 1px solid #e5e5e5;
padding: 14px 20px !important;
.dialog-footer {
border-top: 0px solid #fff !important;
}
}
::v-deep .el-dialog__header {
padding: 16px 20px !important;
color: #333333;
font-size: 20px;
font-weight: bold;
}
</style>
......@@ -15,14 +15,32 @@
@handleConfirm="handleUpdateConfirm"
:slotArr="slotArr"
>
<template slot="effectiveMonth">
<el-date-picker
v-model="isUpdateForm.effectiveMonth"
type="month"
placeholder="选择月份"
:picker-options="monthPickerOptions"
size="small"
:clearable="false"
value-format="yyyy-MM"
>
</el-date-picker>
</template>
</glsk-form-dialog>
</template>
<script>
import { updateBatchSalary } from "@/api/resident"
import dayjs from "dayjs"
export default {
props: {
visible: {
type: Boolean,
default: false
},
staffPhoneList: {
type: Array,
default: () => []
}
},
computed: {
......@@ -37,6 +55,11 @@ export default {
},
data() {
return {
slotArr: ["effectiveMonth"],
monthPickerOptions: {
// 禁用当前月之前的所有月份(仅允许当月及未来)
disabledDate: (date) => dayjs(date).isBefore(dayjs(), "month")
},
isUpdateDialogConfig: {
title: "批量修改薪资占比",
width: "500px",
......@@ -44,7 +67,8 @@ export default {
},
isUpdateForm: {
basicSalaryProportion: "",
performanceSalaryProportion: ""
performanceSalaryProportion: "",
effectiveMonth: dayjs("2026-01").format("YYYY-MM")
},
isUpdateFormData: [
{
......@@ -60,7 +84,7 @@ export default {
label: "绩效工资占比",
name: "performanceSalaryProportion",
type: "input",
maxlength: "11",
maxlength: "3", // 联动仅需三位,限制为 1-99
placeholder: "请输入",
append: "%",
isClear: true
......@@ -73,18 +97,103 @@ export default {
],
isUpdateRules: {
basicSalaryProportion: [
{ required: true, message: "请输入", trigger: "blur" }
{ required: true, message: "请输入", trigger: "blur" },
{
validator: (rule, value, callback) =>
this.validatePercent(value, callback),
trigger: "blur"
}
],
performanceSalaryProportion: [
{ required: true, message: "请输入", trigger: "blur" }
{ required: true, message: "请输入", trigger: "blur" },
{
validator: (rule, value, callback) =>
this.validatePercent(value, callback),
trigger: "blur"
}
]
},
baseData: {}
baseData: {},
// 联动更新锁,避免互相更新时的递归触发
_linkageLock: false
}
},
methods: {
closeDialogVisible() {},
handleUpdateConfirm() {}
closeDialogVisible() {
this.isUpdateVisible = false
},
handleUpdateConfirm(data) {
let params = {
staffPhoneList: this.staffPhoneList,
...data
}
updateBatchSalary(data)
.then((res) => {
if (res) {
this.$message.success("修改成功")
}
// this.$emit("refreshTable")
})
.catch(() => {
this.$message.error("修改失败")
})
.finally(() => {
this.isUpdateVisible = false
})
},
// 仅允许 1-99 的正整数;返回 null 表示空或无效输入
sanitizePercent(val) {
const s = String(val == null ? "" : val).replace(/\D/g, "")
if (!s) return null
let n = parseInt(s, 10)
if (isNaN(n)) return null
if (n < 1) n = 1
if (n > 99) n = 99 // 单个不能为 100,自动纠正为 99
return n
},
// 表单校验规则:1-99 的正整数
validatePercent(value, callback) {
const v = this.sanitizePercent(value)
if (v === null) {
callback(new Error("请输入1-99的正整数"))
return
}
// 联动后总和恒为 100,这里只需校验单项合法
callback()
}
},
watch: {
// 基本工资占比变更时联动绩效工资占比
"isUpdateForm.basicSalaryProportion"(val) {
if (this._linkageLock) return
const v = this.sanitizePercent(val)
if (v === null) {
this._linkageLock = true
this.isUpdateForm.performanceSalaryProportion = ""
this._linkageLock = false
return
}
this._linkageLock = true
this.isUpdateForm.basicSalaryProportion = v
this.isUpdateForm.performanceSalaryProportion = 100 - v
this._linkageLock = false
},
// 绩效工资占比变更时联动基本工资占比
"isUpdateForm.performanceSalaryProportion"(val) {
if (this._linkageLock) return
const v = this.sanitizePercent(val)
if (v === null) {
this._linkageLock = true
this.isUpdateForm.basicSalaryProportion = ""
this._linkageLock = false
return
}
this._linkageLock = true
this.isUpdateForm.performanceSalaryProportion = v
this.isUpdateForm.basicSalaryProportion = 100 - v
this._linkageLock = false
}
}
}
</script>
......
......@@ -695,6 +695,115 @@
</div>
</div>
</div>
<div class="header" v-if="detail.staffBeisenBaseInfoDTO">
<h2>北森信息</h2>
<div class="info-wrap">
<div class="info-item flex">
<label>试用期底薪:</label>
<span>{{
detail.staffBeisenBaseInfoDTO.trialBasicSalary || "-"
}}</span>
</div>
<div class="info-item flex">
<label>转正后底薪:</label>
<span>{{
detail.staffBeisenBaseInfoDTO.formalBasicSalary || "-"
}}</span>
</div>
<div class="info-item flex">
<label>适配业务:</label>
<div>
{{
filterStr(
detail.staffBeisenBaseInfoDTO.staffSceneLabel,
staffSceneLabelList
)
}}
</div>
</div>
<div class="info-item flex">
<label>基本工资占比:</label>
<el-form-item
label=""
style="display: inline-block"
prop="basicSalaryProportion"
>
<el-input
class="flag-input"
v-model="detail.basicSalaryProportion"
placeholder="请输入"
>
<span slot="suffix" class="suffix_text">%</span>
</el-input>
</el-form-item>
</div>
<div class="info-item flex">
<label>绩效工资占比:</label>
<el-form-item
label=""
style="display: inline-block"
prop="performanceSalaryProportion"
>
<el-input
class="flag-input"
v-model="detail.performanceSalaryProportion"
placeholder="请输入"
>
<span slot="suffix" class="suffix_text">%</span>
</el-input>
</el-form-item>
</div>
<div class="info-item flex">
<label>生效月份:</label>
<el-form-item label="" prop="effectiveMonth">
<el-date-picker
v-model="detail.effectiveMonth"
type="month"
placeholder="选择月份"
:picker-options="monthPickerOptions"
size="small"
:clearable="false"
value-format="yyyy-MM"
>
</el-date-picker>
</el-form-item>
</div>
<div class="info-item flex">
<label>入职岗位:</label>
<span>{{ detail.staffBeisenBaseInfoDTO.oidJobPost || "-" }}</span>
</div>
<div class="info-item flex">
<label>入职日期:</label>
<span>{{ detail.staffBeisenBaseInfoDTO.entryDate || "-" }}</span>
</div>
<div class="info-item flex">
<label>离职日期:</label>
<span>{{ detail.staffBeisenBaseInfoDTO.lastWorkDate || "-" }}</span>
</div>
<div class="info-item flex">
<label>职级:</label>
<span>{{ detail.staffBeisenBaseInfoDTO.jobLevel || "-" }}</span>
</div>
<div class="info-item flex" style="width: 66%">
<label>入职门店:</label>
<span>{{ detail.staffBeisenBaseInfoDTO.merchantName || "-" }}</span>
</div>
<div class="info-item flex">
<label>上级领导:</label>
<span>{{
detail.staffBeisenBaseInfoDTO.directLeaderName || "-"
}}</span>
</div>
<div class="info-item flex">
<label>手机号码:</label>
<span>{{ detail.staffBeisenBaseInfoDTO.staffPhone || "-" }}</span>
</div>
<div class="info-item flex">
<label>转正日期:</label>
<span>{{ detail.staffBeisenBaseInfoDTO.officialDate || "-" }}</span>
</div>
</div>
</div>
<div class="header">
<h2>账号信息</h2>
<div class="info-wrap">
......@@ -750,6 +859,7 @@ import { limitPrice } from "@/common/format"
import dayjs from "dayjs"
import allocateStoreDialog from "./allocateStoreDialog.vue"
import { updateRecordOrderConfig } from "@api/inStoreManage"
import { updateBatchSalary } from "@/api/resident"
import { staffLevelList, staffSceneLabelList } from "@/common/constants"
import { Util, deepClone } from "@/common/util"
import {
......@@ -781,6 +891,10 @@ export default {
},
data() {
return {
monthPickerOptions: {
// 禁用当前月之前的所有月份(仅允许当月及未来)
disabledDate: (date) => dayjs(date).isBefore(dayjs(), "month")
},
filterStr,
isEmpty,
staffSceneLabelList: staffSceneLabelList,
......@@ -818,7 +932,8 @@ export default {
info: {},
checkList: [],
detail: {
staffConfig: {}
staffConfig: {},
bsEffectiveRule: {}
},
shopMerchant: "",
workingStatusList: [
......@@ -923,6 +1038,30 @@ export default {
},
allocateStoreVisible: false,
rules: {
performanceSalaryProportion: [
{
required: true,
message: "请输入",
trigger: "blur"
},
{
validator: (rule, value, callback) =>
this.validatePercent(value, callback),
trigger: "blur"
}
],
basicSalaryProportion: [
{
required: true,
message: "请输入",
trigger: "blur"
},
{
validator: (rule, value, callback) =>
this.validatePercent(value, callback),
trigger: "blur"
}
],
hireType: [
{
required: true,
......@@ -1015,7 +1154,8 @@ export default {
confId: "2",
confName: "轻改"
}
]
],
_linkageLock: false
}
},
mounted() {
......@@ -1030,7 +1170,55 @@ export default {
this.getPermissionsList()
this.getPermissionsByPhone()
},
watch: {
"detail.basicSalaryProportion"(val) {
console.log("detail.basicSalaryProportion", val)
if (this._linkageLock) return
const v = this.sanitizePercent(val)
if (v === null) {
this._linkageLock = true
this.detail.performanceSalaryProportion = ""
this._linkageLock = false
return
}
this._linkageLock = true
this.detail.basicSalaryProportion = v
this.detail.performanceSalaryProportion = 100 - v
this._linkageLock = false
},
"detail.performanceSalaryProportion"(val) {
if (this._linkageLock) return
const v = this.sanitizePercent(val)
if (v === null) {
this._linkageLock = true
this.detail.basicSalaryProportion = ""
this._linkageLock = false
return
}
this._linkageLock = true
this.detail.performanceSalaryProportion = v
this.detail.basicSalaryProportion = 100 - v
this._linkageLock = false
}
},
methods: {
sanitizePercent(val) {
const s = String(val == null ? "" : val).replace(/\D/g, "")
if (!s) return null
let n = parseInt(s, 10)
if (isNaN(n)) return null
if (n < 1) n = 1
if (n > 99) n = 99
return n
},
validatePercent(value, callback) {
const v = this.sanitizePercent(value)
if (v === null) {
callback(new Error("请输入1-99的正整数"))
return
}
callback()
},
getPermissionsByPhone() {
console.log(this.queryData.staffPhone, "this.queryData.staffPhone")
getPermissionsByPhone({
......@@ -1162,11 +1350,6 @@ export default {
"YYYY-MM-DD HH:mm:ss"
)
: ""
console.log(
res.titleTypeStartEffectiveTime,
res.titleTypeStartEffectiveTimeStr,
" res.titleTypestartEffectiveTimeStr"
)
res.staffConfig = res.staffConfig || {}
res?.staffDailyReportConfigList?.forEach((v) => {
if (v.startEffectiveTime && !v.endEffectiveTime) {
......@@ -1189,7 +1372,20 @@ export default {
res.staffDailyReportConfigList =
res.staffDailyReportConfigList || []
}
this.detail = res || {}
let bsEffectiveRule = {
performanceSalaryProportion: "",
basicSalaryProportion: "",
effectiveMonth: dayjs("2026-01").format("YYYY-MM")
}
if (
res.staffBeisenBaseInfoDTO &&
res.staffBeisenBaseInfoDTO.staffSalaryEffectiveRuleDTO
) {
bsEffectiveRule =
res.staffBeisenBaseInfoDTO.staffSalaryEffectiveRuleDTO
}
this.detail = Object.assign(res, bsEffectiveRule) || {}
console.log(this.detail, " this.detail")
this.tableData = res?.accountRecordList || []
}
)
......@@ -1494,7 +1690,15 @@ export default {
}
})
},
async handleUpdateConfirm(data) {
let params = {
staffPhoneList: this.detail.staffBeisenBaseInfoDTO.staffPhone,
basicSalaryProportion: this.detail.basicSalaryProportion,
performanceSalaryProportion: this.detail.performanceSalaryProportion,
effectiveMonth: this.detail.effectiveMonth
}
await updateBatchSalary(params)
},
// 提交修改内容
handleConfirm() {
return new Promise((resolve, reject) => {
......@@ -1539,6 +1743,7 @@ export default {
// : this.detail.performSalary || 0
}
this.handleSingleChange()
this.handleUpdateConfirm()
editStaffApi(params).then((res) => {
if (res) {
// 修改扣款配置项数据
......
......@@ -20,6 +20,26 @@
<template slot="titleBox1">
<div class="title_box">工资明细修正</div>
</template>
<!-- 选择门店 -->
<template slot="salaryMerchantList">
<el-select
class="select"
style="width: 432px"
filterable
v-model="infoForm.merchantIds"
multiple
collapse-tags
:multiple-limit="10"
@change="updateStaffList('staffPhoneList')"
>
<el-option
v-for="item in baseData.salaryMerchantList"
:key="item.merchantId"
:label="item.merchantName"
:value="item.merchantId"
/>
</el-select>
</template>
<template slot="staffPhoneList">
<el-select
class="select"
......@@ -41,7 +61,7 @@
<template slot="monthPicker">
<el-date-picker
v-model="infoForm.month"
type="monthrange"
type="month"
style="width: 432px"
:picker-options="monthPickerOptions"
popper-class="statement-of-export-performance-month-picker"
......@@ -96,13 +116,71 @@
<template slot="titleBox3">
<div class="title_box">工资条导出</div>
</template>
</glsx-combi-form>
<glsx-combi-form
class="edit-form-container"
ref="otherFormRef"
label-width="154px"
:is-block="true"
form-ref="editChildRef"
:form-obj="infoForm"
:form-data="otherFormData"
:form-rules="formRules"
>
<template slot="EsalaryMerchantList">
<el-select
class="select"
style="width: 432px"
filterable
v-model="infoForm.exportMerchantIds"
multiple
collapse-tags
:multiple-limit="10"
@change="updateStaffList('salaryMerchantList')"
>
<el-option
v-for="item in baseData.salaryMerchantList"
:key="item.merchantId"
:label="item.merchantName"
:value="item.merchantId"
/>
</el-select>
</template>
<template slot="EstaffPhoneList">
<el-select
class="select"
style="width: 432px"
filterable
v-model="infoForm.exportStaffPhoneList"
multiple
collapse-tags
:multiple-limit="10"
>
<el-option
v-for="item in baseData.exportStaffList"
:key="item.staffPhone"
:label="item.staffName"
:value="item.staffPhone"
/>
</el-select>
</template>
<template slot="EmonthPicker">
<el-date-picker
v-model="infoForm.exportMonth"
type="month"
style="width: 432px"
:picker-options="monthPickerOptions"
popper-class="statement-of-export-performance-month-picker"
>
</el-date-picker>
</template>
<template slot="exportLook">
<el-button
type="primary"
plain
class="export_btn"
size="small"
@click="exportData"
@click="exportOtherData"
>导出查看</el-button
>
</template>
......@@ -115,7 +193,13 @@
</template>
<script>
import { getLevelStaffListApi } from "@api/resident"
import { Util, deepClone } from "@/common/util"
import {
getLevelStaffListApi,
getSalaryStaffList,
getSalaryMerchantList
} from "@api/resident"
import { mapActions, mapState, mapMutations } from "vuex"
export default {
name: "exportPerformanceDialog",
data() {
......@@ -127,13 +211,8 @@ export default {
},
{
label: "选择门店",
name: "staffPhoneList",
type: "select",
isClear: true,
optionList: [],
optionId: "directLeaderPhone",
optionLabel: "directLeaderName",
optionsName: "directLeaderList"
name: "merchantIds",
addHtml: "salaryMerchantList"
},
{
label: "选择员工",
......@@ -162,26 +241,23 @@ export default {
{
label: "",
addHtml: "titleBox3"
},
}
],
otherFormData: [
{
label: "选择门店",
name: "staffPhoneList",
type: "select",
isClear: true,
optionList: [],
optionId: "directLeaderPhone",
optionLabel: "directLeaderName",
optionsName: "directLeaderList"
name: "exportStaffPhoneList",
addHtml: "EsalaryMerchantList"
},
{
label: "选择员工",
name: "staffPhoneList",
addHtml: "staffPhoneList"
name: "exportStaffPhoneList",
addHtml: "EstaffPhoneList"
},
{
label: "选择时间",
name: "month",
addHtml: "monthPicker",
name: "exportMonth",
addHtml: "EmonthPicker",
rules: [{ required: true, message: "请选择时间", trigger: "change" }]
},
{
......@@ -190,9 +266,9 @@ export default {
}
],
formRules: {
staffPhoneList: [
{ required: true, message: "请选择员工", trigger: "change" }
]
// staffPhoneList: [
// { required: true, message: "请选择员工", trigger: "change" }
// ]
},
monthPickerOptions: {
disabledDate(date) {
......@@ -217,11 +293,17 @@ export default {
}
},
infoForm: {
merchantIds: [],
staffPhoneList: [],
month: []
month: "",
exportMerchantIds: [],
exportStaffPhoneList: [],
exportMonth: ""
},
baseData: {
staffList: []
staffList: [],
exportStaffList: [],
salaryMerchantList: []
},
dialogConfig: {
title: "工资维护",
......@@ -237,6 +319,9 @@ export default {
}
},
computed: {
...mapState({
dowloadList: (state) => state.d2admin.user.dowloadList
}),
visible: {
get() {
return this.exportPerformanceVisible
......@@ -251,27 +336,111 @@ export default {
},
mounted() {
this.getStaffList()
this.getSalaryMerchantList()
this.$nextTick(() => {
this.$refs.editFormRef?.$refs?.editChildRef?.clearValidate()
})
},
methods: {
...mapActions("d2admin/user", ["actionSetDownloadList"]),
updateStaffList(key) {
let Methods =
key == "staffPhoneList" ? "getStaffList" : "exportGetStaffList"
this[Methods]()
},
exportGetStaffList() {
this.infoForm.exportStaffPhoneList = []
getSalaryStaffList({
pageSize: 9999,
currentPage: 1,
merchantIds: this.infoForm.exportMerchantIds
}).then((res) => {
this.baseData.exportStaffList = res?.list || []
})
},
// 获取员工下拉框数据
getStaffList() {
getLevelStaffListApi({ pageSize: 9999, currentPage: 1 }).then((res) => {
this.infoForm.staffPhoneList = []
getSalaryStaffList({
pageSize: 9999,
currentPage: 1,
merchantIds: this.infoForm.merchantIds
}).then((res) => {
this.baseData.staffList = res?.list || []
})
},
//获取门店
getSalaryMerchantList() {
getSalaryMerchantList({ pageSize: 9999, currentPage: 1 }).then((res) => {
this.baseData.salaryMerchantList = res?.list || []
})
},
// 导出
exportData() {
this.$refs.editFormRef?.$refs?.editChildRef?.validate((valid) => {
if (valid) {
if (this.infoForm?.staffPhoneList?.length > 10)
return this.$message.warning("最大不超过10个员工")
this.$emit("handleExport", this.infoForm)
// 查询类型(1:工资明细;2:工资条)
let params = {
merchantIdList: this.infoForm.merchantIds,
staffPhoneList: this.infoForm.staffPhoneList,
month: this.infoForm.month
}
params.queryType = 1
this.handleExport(params)
}
})
},
exportOtherData() {
this.$refs.otherFormRef?.$refs?.editChildRef?.validate((valid) => {
if (valid) {
if (this.infoForm?.staffPhoneList?.length > 10)
return this.$message.warning("最大不超过10个员工")
// 查询类型(1:工资明细;2:工资条)
let params = {
merchantIdList: this.infoForm.exportMerchantIds,
staffPhoneList: this.infoForm.exportStaffPhoneList,
month: this.infoForm.exportMonth
}
params.queryType = 2
this.handleExport(params)
}
})
},
handleExport(params) {
if (params.staffPhoneList?.length) {
params.staffPhoneList?.forEach((item, index) => {
const staffPhone = `staffPhones[${index}]`
params[staffPhone] = item
})
}
if (params.merchantIdList?.length) {
params.merchantIdList?.forEach((item, index) => {
const merchant = `merchantIds[${index}]`
params[merchant] = item
})
}
params.salaryMonth = Util.dateFormate(params.month, "YYYY-MM")
delete params.month
delete params.staffPhoneList
delete params.sceneType
delete params.merchantIdList
params.method =
"dj.api.smartcarlife.staffMonthSalary.staffSalary.exportAsync"
const list = [
...this.dowloadList,
{
name: params.queryType == 2 ? "工资条列表导出" : "工资明细修正列表",
exportParam: JSON.stringify(params),
status: "waiting",
timeid: new Date().getTime()
}
]
this.actionSetDownloadList({ list, type: "dowloadList" })
},
// 下载模板
downloadTemplate() {
......
......@@ -28,9 +28,9 @@
<span style="display: inline-block; margin-right: 10px">
<auth-button category="Button" :show-btn-ids="['9120513']" />
</span>
<!-- <span style="display: inline-block; margin-right: 10px">
<auth-button category="Button" :show-btn-ids="['9120512']" />
</span> -->
<span style="display: inline-block; margin-right: 10px">
<auth-button category="Button" :show-btn-ids="['9120515']" />
</span>
<span style="display: inline-block; margin-right: 10px">
<auth-button category="Button" :show-btn-ids="['9120511']" />
......@@ -108,6 +108,7 @@
></PermissionDialog>
<!-- 批量修改薪资占比 -->
<batch-modify-salary-dialog
:staffPhoneList="staffPhoneList"
v-if="batchModifySalaryVisible"
:visible.sync="batchModifySalaryVisible"
></batch-modify-salary-dialog>
......@@ -147,7 +148,8 @@ export default {
},
data() {
return {
batchModifySalaryVisible: true,
batchModifySalaryVisible: false,
staffPhoneList: [],
userInfo: this.$store.state.d2admin.user.info,
labelWidth: "110px",
permissionVisible: false,
......@@ -258,6 +260,8 @@ export default {
],
getListApi: getResidentListApi,
tableParams: {
mutiSelectUniqueKey: "id",
mutiSelectName: "mutiSelectIndex",
btnId: new Date().getTime() + parseInt(Math.random() * 1000),
listName: "list",
tableOption: { width: "130px" },
......@@ -449,6 +453,21 @@ export default {
},
methods: {
// 绩效规则配置
handleConfigurationPerformance() {
this.$router.push("/configurationPerformance")
},
filterIds() {
let staffPhoneList = []
if (this.$refs.recordTable.mutiSelectArr.mutiSelectIndex) {
this.$refs.recordTable.mutiSelectArr.mutiSelectIndex.forEach((item) => {
staffPhoneList.push(item.staffPhone)
})
}
return staffPhoneList
},
...mapActions({
get: "d2admin/base/get",
close: "d2admin/page/close"
......@@ -459,7 +478,14 @@ export default {
this.getOptionsList()
},
//批量修改薪资占比
handleUpdateSalary() {},
handleUpdateSalary() {
if (!this.filterIds().length) {
this.$message.warning("请先选择员工")
return
}
this.staffPhoneList = this.filterIds()
this.batchModifySalaryVisible = true
},
//上级领导列表查询
getLeaderList() {
getLeaderList().then((res) => {
......
......@@ -45,7 +45,7 @@
margin-bottom: 20px;
}
::v-deep .el-form-item__content {
width: calc(100% - 150px);
// width: calc(100% - 150px);
word-break: break-all;
line-height: 20px;
}
......
......@@ -7,7 +7,7 @@
<el-form
:ref="item.childRef"
class="edit-sub-block"
label-width="150px"
:label-width="labelWidth ? labelWidth : '150px'"
:inline="true"
:model="detailInfo"
:rules="rules"
......@@ -48,6 +48,7 @@
:maxlength="item.maxLength || ''"
size="small"
class="edit-form-item"
:disabled="item.isDisabled ? true : false"
>
<span
class="unit"
......@@ -77,6 +78,7 @@
"
v-model="detailInfo[item.key]"
:maxlength="item.maxLength"
:disabled="item.isDisabled ? true : false"
class="edit-form-item"
>
</el-input>
......@@ -134,7 +136,7 @@
<span v-else :style="{ ...item.style }"
>{{
item.formatter
? item.formatter(detailInfo) || "-"
? item.formatter(detailInfo)
: detailInfo[item.key]
? detailInfo[item.key]
: "-"
......
<!-- 店面配置 -->
<template>
<div class="shopConfig">
<div class="header"
slot="header">
<el-tabs v-model="activeName"
@tab-click="handleClickTabs">
<el-tab-pane label="店铺设置"
name="shopSet" />
<el-tab-pane label="门店产值"
name="outputValue" />
<el-tab-pane label="主机厂交付数"
name="deliveryQuantity" />
<el-tab-pane label="个人交付成交率"
name="personalConversionRate" />
<el-tab-pane label="门店毛利额"
name="storeGrossProfit" />
<div class="header" slot="header">
<el-tabs v-model="activeName" @tab-click="handleClickTabs">
<el-tab-pane label="店铺设置" name="shopSet" />
<el-tab-pane label="门店产值" name="outputValue" />
<el-tab-pane label="主机厂交付数" name="deliveryQuantity" />
<el-tab-pane label="个人交付成交率" name="personalConversionRate" />
<el-tab-pane label="门店毛利额" name="storeGrossProfit" />
<el-tab-pane label="有效引荐数" name="validReferrals" />
</el-tabs>
<div>
<shop-set v-if="activeName === 'shopSet'" />
<output-value v-if="activeName === 'outputValue'" />
<delivery-quantity v-if="activeName === 'deliveryQuantity'" />
<personal-conversion-rate v-if="activeName === 'personalConversionRate'"/>
<store-gross-profit v-if="activeName === 'storeGrossProfit'"/>
<personal-conversion-rate
v-if="activeName === 'personalConversionRate'"
/>
<store-gross-profit v-if="activeName === 'storeGrossProfit'" />
<valid-referrals v-if="activeName === 'validReferrals'" />
</div>
</div>
</div>
</template>
<script>
import shopSet from './index'
import outputValue from './outputValue/index'
import deliveryQuantity from './deliveryQuantity/index'
import personalConversionRate from './personalConversionRate/index'
import storeGrossProfit from './storeGrossProfit/index'
import { deepClone } from '@/common/util'
import shopSet from "./index"
import outputValue from "./outputValue/index"
import deliveryQuantity from "./deliveryQuantity/index"
import personalConversionRate from "./personalConversionRate/index"
import storeGrossProfit from "./storeGrossProfit/index"
import validReferrals from "./validReferrals/index"
import { deepClone } from "@/common/util"
export default {
name: 'StaffIndex',
name: "StaffIndex",
data() {
return {
userInfo: this.$store.state.d2admin.user.info,
activeName: 'shopSet',
activeName: "shopSet",
recordInfo: {}
}
},
......@@ -49,24 +47,22 @@ export default {
outputValue,
deliveryQuantity,
personalConversionRate,
storeGrossProfit
storeGrossProfit,
validReferrals
},
mounted() {
},
mounted() {},
methods: {
handleClickTabs() {
this.recordInfo = {}
},
gotoDetail(params) {
this.activeName = 'details'
this.activeName = "details"
this.recordInfo = deepClone(params)
}
}
}
</script>
<style lang="scss" scoped>
.shopConfig {
......
<!-- 有效引荐数 -->
<template>
<d2-container class="layout m-t-40">
<div class="header">
<d2-search
ref="showSearch"
:search-form="searchForm"
:form-data="showFormData"
label-width="100px"
:selectPopperAppendToBody="false"
class="d2-search"
>
</d2-search>
<div class="up-btns">
<el-button :id="tableParams.btnId" size="small" type="primary">
查询
</el-button>
<el-button size="small" @click="handleReset"> 重置 </el-button>
</div>
</div>
<div class="d2-container-content">
<d2-table-header>
<el-button
size="small"
type="primary"
@click="handleExport"
class="exprot"
>
导出
</el-button>
</d2-table-header>
<!-- :get-list-api="getListApi" -->
<d2-table
ref="tableRef"
:search-form="searchFormSearch"
:table-params="tableParams"
:tableData="tableData"
:before-search-fn="beforeSearchFn"
>
<div slot="imageUrls" slot-scope="scope" class="coverImage-preview">
<glsx-preview
:image-url-arr="
scope.scope.imageUrls
? formatterImg(scope.scope.imageUrls)
: [noDataUrl]
"
:pic-options="picOptions"
limit="1"
></glsx-preview>
</div>
<template slot="remark" slot-scope="scope">
<el-popover placement="top" width="fit-content" trigger="hover">
<div class="tags-popover">
{{ scope.scope.remark || "-" }}
</div>
<span class="tag" slot="reference">{{
scope.scope.remark || "-"
}}</span>
</el-popover>
</template>
<template slot="merchantName" slot-scope="scope">
<el-popover placement="top" width="fit-content" trigger="hover">
<div class="tags-popover">
{{ scope.scope.merchantName || "-" }}
</div>
<span class="tag" slot="reference">{{
scope.scope.merchantName || "-"
}}</span>
</el-popover>
</template>
</d2-table>
</div>
</d2-container>
</template>
<script type="text/ecmascript-6">
import {
Util,
deepClone,
getStatusItem,
getOptionsList
} from "@/common/util"
import { listShop4sByRef } from "@api/merchant"
import {
getEffectiveReferralList
} from "@api/shopConfig"
import { mapActions, mapState } from "vuex"
import dayjs from "dayjs"
export default {
name: "",
data() {
return {
id: "",
replyVisible: false,
noDataUrl: require("@/assets/noData.png"),
tableData: [
{
id: 0,
merchantId: 0,
merchantName: "深圳市鹏峰丰田汽车有限公司",
sceneType: 1,
brandId: 0,
brandName: "问界",
totalDeliveryCount: 0,
areaEffectiveCount: 0,
reviewedEffectiveCount: 0,
imageUrls: "https://glsk-oss.oss-cn-shenzhen.aliyuncs.com/quality/1762758178815_9zhk7os8.png,https://qcimg01.glsx.com.cn/group1/M00/11/2F/wKgD3mlt-HGAK-loAATqOHxW64c252.jpg",
remark: "分享时机,在不同的时机时机,在不同的时机分析用户是分享时时机,在不同的时机分析用户是分享时时机,在不同的时机分析用户是分享时时机,在不同的时机分析用户是分享时时机,在不同的时机分析用户是分享时时机,在不同的时机分析用户是分享时时机,在不同的时机分析用户是分享时分析用户是分享时机,在不同的时机分析用户是分享时机,在不同的时机分析用户是",
managerCommitTime: "",
isReviewed: 0,
managerId: "",
managerName: "尹小燕",
reviewedBy: "",
reviewedName: "尹小燕ww"
}
],
searchForm: {
merchantId: "",
managerName: "",
sceneType: ""
},
searchFormSearch: {},
showFormData: [
{
label: "门店名称",
name: "merchantName",
type: "input",
isClear: true
},
{
label: "区域运营",
name: "managerName",
type: "input",
isClear: true
},
{
label: "业务场景",
name: "sceneType",
type: "select",
isClear: true,
optionList: [],
optionId: "confId",
optionLabel: "confValue",
optionsName: "businessTypeOpts"
}
],
getListApi: getEffectiveReferralList,
// 表格参数
tableParams: {
btnId: new Date().getTime() + parseInt(Math.random() * 1000),
listName: "list",
tableColumns: [
{
label: "门店",
prop: "merchantName",
minWidth: "150",
addHtml: "merchantName"
},
{
label: "系统交车数",
prop: "totalDeliveryCount",
minWidth: "150",
formatter:(cellValue)=>{
return cellValue.totalDeliveryCount===0||cellValue.totalDeliveryCount?cellValue.totalDeliveryCount:'-'
}
},
{
label: "区域有效引荐数",
prop: "areaEffectiveCount",
minWidth: "150",
formatter:(cellValue)=>{
return cellValue.areaEffectiveCount===0||cellValue.areaEffectiveCount?cellValue.areaEffectiveCount:'-'
}
},
{
label: "线上有效引荐数",
prop: "reviewedEffectiveCount",
minWidth: "150",
formatter:(cellValue)=>{
return cellValue.reviewedEffectiveCount===0||cellValue.reviewedEffectiveCount?cellValue.reviewedEffectiveCount:'-'
}
},
{
label: "业务场景",
prop: "sceneType",
minWidth: "100",
formatter: (cellValue) => {
return getStatusItem(
this.baseData,
"businessTypeOpts",
cellValue,
"sceneType"
)
}
},
{
label: "车辆品牌",
prop: "brandName"
},
{
label: "上传凭证",
prop: "imageUrls",
width: "138px",
addHtml: "imageUrls"
},
{
label: "备注",
minWidth: "150",
prop: "remark",
addHtml: "remark"
},
{
label: "区域经理",
minWidth: "150",
prop: "managerName"
},
{
label: "运营复核人",
minWidth: "150",
prop: "reviewedName"
},
{
label: "核查月份",
prop: "reviewMonth"
}
]
},
picOptions: {
width: "138px",
height: "54px",
isClose: false
},
baseData: {
businessTypeOpts: [
{
confId: 3,
confValue: "单延保"
},
{
confId: 2,
confValue: "广联权益"
},
{
confId: 1,
confValue: "轻改"
}
]
}
}
},
mounted() {
getOptionsList(this, "showFormData", true)
// this.fetchOnboardingPlans()
},
computed: {
...mapState({
dowloadList: (state) => state.d2admin.user.dowloadList
})
},
methods: {
...mapActions('d2admin/user', ['actionSetDownloadList']),
formatterImg(val) {
if (!val) return []
let arr = val.split(',')
return arr
},
async fetchOnboardingPlans() {
try {
const [merchantIdList] = await Promise.all([
listShop4sByRef({
yqMerchantId: ""
})
])
// 处理返回的数据
this.baseData.merchantIdList = merchantIdList
getOptionsList(this, "showFormData", true)
} catch (error) {
console.error(error)
}
},
beforeSearchFn() {
return new Promise((resolve) => {
this.searchFormSearch = deepClone(this.searchForm)
resolve()
})
},
formatDate(date) {
return dayjs(date).format("YYYY-MM-DD")
},
handleReset() {
this.searchForm = this.$options.data.call(this).searchForm
this.search()
},
handleExport() {
let params = this.searchFormSearch
params.method =
"dj.staff.api.effective.referral.export.async"
const list = [
...this.dowloadList,
{
name: "有效引荐数列表",
exportParam: JSON.stringify(params),
status: "waiting",
timeid: new Date().getTime()
}
]
this.actionSetDownloadList({ list, type: "dowloadList" })
},
search() {
this.$refs.tableRef.refreshTable(false, true)
},
handleToReply(data) {
this.id = data.id
this.replyVisible = !this.replyVisible
}
}
}
</script>
<style scoped lang="scss">
.m-t-40 {
margin-top: 40px;
}
.layout {
.d2-search {
::v-deep.el-select-dropdown,
.el-popper {
width: 300px !important;
}
}
.content {
position: absolute;
left: 20px;
width: calc(100% - 40px);
padding: 0 20px 36px;
background: #fff;
margin-top: 14px;
height: calc(100% - 110px);
box-sizing: border-box;
overflow-y: auto;
.top {
height: 52px;
color: #333333;
font-size: 32rpx;
font-weight: 500;
display: flex;
align-items: center;
.exprot {
margin-left: auto;
}
}
}
.tag {
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
cursor: pointer;
padding: 0 10px;
display: block;
}
}
.coverImage-preview {
width: 138px;
height: 54px;
::v-deep .photo-activity {
width: 100%;
height: 100%;
object-fit: contain;
position: static !important;
}
}
::v-deep.tags-popover {
max-width: 50vw;
}
</style>
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!