Commit be86be3f authored by daniel's avatar daniel

feat(markNoSelect): 预约发枪保留1位小数

parent 3c86a56a
...@@ -498,8 +498,8 @@ ...@@ -498,8 +498,8 @@
const uploadUrl = window.location.origin + '/api-common/v1/upload?folder=gk/gunApply' + '&cmptId=' + getCId() const uploadUrl = window.location.origin + '/api-common/v1/upload?folder=gk/gunApply' + '&cmptId=' + getCId()
const downloadWeChatImgUrl = window.location.origin + '/api-common/v1/download-wechat-image' const downloadWeChatImgUrl = window.location.origin + '/api-common/v1/download-wechat-image'
// 添加全局 loading 指令 // 添加全局 loading 指令
const ECC_BASE_URL = "https://ecc.geexek.com" // const ECC_BASE_URL = "https://ecc.geexek.com"
// const ECC_BASE_URL = "http://localhost:8081" const ECC_BASE_URL = "http://localhost:8081"
const SAVE_OR_UPDATE = ECC_BASE_URL + "/api-pick/v1/save-or-update-wave" const SAVE_OR_UPDATE = ECC_BASE_URL + "/api-pick/v1/save-or-update-wave"
// 更新名单 // 更新名单
const UPDATE_ENROLL_WAVE = ECC_BASE_URL + "/api-pick/v1/update-enroll-wave" const UPDATE_ENROLL_WAVE = ECC_BASE_URL + "/api-pick/v1/update-enroll-wave"
...@@ -998,7 +998,8 @@ ...@@ -998,7 +998,8 @@
...v, ...v,
startTime: v.startTime.slice(0, -2), startTime: v.startTime.slice(0, -2),
totalPlayer: allPlayersTotals[index], totalPlayer: allPlayersTotals[index],
totalApply: totalApplies[index] totalApply: totalApplies[index],
cutOffTime: Number(v.cutOffTime),
})) }))
if (res.data.length) { if (res.data.length) {
changeGunRule(ruleIndex.value === -1 ? 0 : ruleIndex.value) changeGunRule(ruleIndex.value === -1 ? 0 : ruleIndex.value)
...@@ -1028,6 +1029,7 @@ ...@@ -1028,6 +1029,7 @@
// 使用fetch发起请求 // 使用fetch发起请求
const params = { const params = {
...gunRuleValue.value, ...gunRuleValue.value,
cutOffTime: gunRuleValue.value.cutOffTime.toString(),
gtCmptId: getCId(), gtCmptId: getCId(),
} }
loading.value = true loading.value = true
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment