Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
saas_plus
/
regional-assistant
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit 4857e4ee
authored
Jul 31, 2026
by
张立顺
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
fix: correct create work order icon
1 parent
d6d0a24c
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
2 deletions
pages/tab/workspace/workspace.js
tests/work-order-migration/workspace-source-contract.test.mjs
pages/tab/workspace/workspace.js
View file @
4857e4e
...
@@ -8,7 +8,7 @@ import { getCompanyNoticeDetail, getCompanyNoticeList } from "~/api/serviceCente
...
@@ -8,7 +8,7 @@ import { getCompanyNoticeDetail, getCompanyNoticeList } from "~/api/serviceCente
import
{
resolveDirectWorkOrderAction
}
from
"./services/workOrderEntry.helpers.js"
;
import
{
resolveDirectWorkOrderAction
}
from
"./services/workOrderEntry.helpers.js"
;
const
WORK_ORDER_ICON_URL
=
const
WORK_ORDER_ICON_URL
=
"https://img02.glsx.com.cn/weapp/resource/dj-car-boutique-work-wechat/upgrade/create_newworkorder
01
.png"
;
"https://img02.glsx.com.cn/weapp/resource/dj-car-boutique-work-wechat/upgrade/create_newworkorder.png"
;
Page
({
Page
({
/**
/**
...
...
tests/work-order-migration/workspace-source-contract.test.mjs
View file @
4857e4e
...
@@ -21,10 +21,13 @@ describe('工作台新增工单源码契约', () => {
...
@@ -21,10 +21,13 @@ describe('工作台新增工单源码契约', () => {
])
])
assert.match(pageSource, /name:\s*["']新增工单["']/)
assert.match(pageSource, /name:\s*["']新增工单["']/)
assert.match(
pageSource,
/const WORK_ORDER_ICON_URL\s*=\s*\n\s*"https:\/\/img02\.glsx\.com\.cn\/weapp\/resource\/dj-car-boutique-work-wechat\/upgrade\/create_newworkorder\.png"/
)
assert.match(pageSource, /iconUrl:/)
assert.match(pageSource, /iconUrl:/)
assert.match(pageSource, /openWorkOrderPrompt/)
assert.match(pageSource, /openWorkOrderPrompt/)
assert.match(templateSource, /item\.iconUrl\s*\|\|/)
assert.match(templateSource, /item\.iconUrl\s*\|\|/)
assert.match(templateSource, /<order-prompt-pop/)
assert.match(templateSource, /<order-prompt-pop/)
})
})
})
})
Write
Preview
Markdown
is supported
Attach a file
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to post a comment