Merge remote-tracking branch 'origin/develop' into zhaoyun

This commit is contained in:
2026-06-18 21:28:12 +08:00
9 changed files with 18 additions and 16 deletions

View File

@@ -70,11 +70,10 @@
</div>
<div class="notice-body">
<div
v-if="hasContent"
class="notice-content"
v-html="detail.noticeContent"
/>
<div
v-if="hasContent"
class="notice-content"
>{{ safeContent }}</div>
<div
v-else
class="notice-empty notice-empty--inner"
@@ -103,6 +102,10 @@ const hasContent = computed(() => {
const content = detail.value && detail.value.noticeContent
return content != null && String(content).trim() !== ''
})
const safeContent = computed(() => {
const content = detail.value && detail.value.noticeContent
return content ? String(content).replace(/<[^>]*>/g, '') : ''
})
function open(payload) {
let id = null

View File

@@ -173,10 +173,9 @@
max-height="320px"
class="detail-body-scroll"
>
<div
class="detail-body"
v-html="activeNotice.noticeContent"
/>
<div class="detail-body">
{{ activeNotice.noticeContent }}
</div>
</el-scrollbar>
</div>

View File

@@ -556,7 +556,7 @@ async function handleReadCard(value) {
// readCardLoading.value = true;
await invokeYbPlugin5000({
FunctionId: 3,
url: 'http://10.47.0.67:8089/localcfc/api/hsecfc/localQrCodeQuery',
url: `${import.meta.env.VITE_PAYMENT_URL}/localcfc/api/hsecfc/localQrCodeQuery`,
orgId: 'H22010200672',
businessType: '01101',
operatorId: userStore.id.toString(),

View File

@@ -1328,7 +1328,7 @@ async function handleReadCard(value) {
// )
await invokeYbPlugin5000({
FunctionId: 3,
url: 'http://10.47.0.67:8089/localcfc/api/hsecfc/localQrCodeQuery',
url: `${import.meta.env.VITE_PAYMENT_URL}/localcfc/api/hsecfc/localQrCodeQuery`,
orgId: 'H22010402403',
businessType: '01101',
operatorId: userStore.id.toString(),

View File

@@ -410,7 +410,7 @@ async function handleReadCard(value) {
case '01': // 电子凭证
await invokeYbPlugin5000({
FunctionId: 3,
url: 'http://10.47.0.67:8089/localcfc/api/hsecfc/localQrCodeQuery',
url: `${import.meta.env.VITE_PAYMENT_URL}/localcfc/api/hsecfc/localQrCodeQuery`,
orgId: 'H22010200672',
businessType: '01101',
operatorId: userStore.id.toString(),

View File

@@ -668,7 +668,7 @@ async function handleReadCard(value) {
// readCardLoading.value = true;
await invokeYbPlugin5001({
FunctionId: 3,
url: 'http://10.47.0.67:8089/localcfc/api/hsecfc/localQrCodeQuery',
url: `${import.meta.env.VITE_PAYMENT_URL}/localcfc/api/hsecfc/localQrCodeQuery`,
orgId: 'H22010200672',
businessType: '01101',
operatorId: userStore.id.toString(),

View File

@@ -466,7 +466,7 @@ async function handleReadCard(value) {
// )
await invokeYbPlugin5001({
FunctionId: 3,
url: 'http://10.47.0.67:8089/localcfc/api/hsecfc/localQrCodeQuery',
url: `${import.meta.env.VITE_PAYMENT_URL}/localcfc/api/hsecfc/localQrCodeQuery`,
orgId: 'H22010200672',
businessType: '01101',
operatorId: userStore.id.toString(),

View File

@@ -429,7 +429,7 @@ async function handleReadCard(value) {
// readCardLoading.value = true;
await boundAsync
.getInfoByQrCodeAsync(
'http://10.47.0.67:8089/localcfc/api/hsecfc/localQrCodeQuery',
`${import.meta.env.VITE_PAYMENT_URL}/localcfc/api/hsecfc/localQrCodeQuery`,
'H22010200672',
'01101',
userStore.id,

View File

@@ -408,7 +408,7 @@ async function handleReadCard(value) {
case '01': // 电子凭证
await invokeYbPlugin5001({
FunctionId: 3,
url: 'http://10.47.0.67:8089/localcfc/api/hsecfc/localQrCodeQuery',
url: `${import.meta.env.VITE_PAYMENT_URL}/localcfc/api/hsecfc/localQrCodeQuery`,
orgId: 'H22010200672',
businessType: '01101',
operatorId: userStore.id.toString(),