Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
D
dwsproject
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
dws
dwsproject
Commits
4a95e888
Commit
4a95e888
authored
Mar 20, 2025
by
夏超
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[fix] 玖姿功能
parent
778f4c1e
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
3 deletions
+4
-3
jzjx_project/datas/config_parameter_data.xml
+3
-0
jzjx_project/static/src/html/view/zdy_gdbg.html
+1
-3
No files found.
jzjx_project/datas/config_parameter_data.xml
View file @
4a95e888
<?xml version="1.0" encoding="utf-8"?>
<odoo>
<record
id=
"roke_mes_production.roke_work_desk_setting_1"
model=
"roke.work.desk.setting"
>
<field
name=
"url"
>
http://jzjx.dws.rokecloud.com/roke/work/report/work_order_report?gdbg
</field>
</record>
<data
noupdate=
"1"
>
<record
id=
"fscut_app_app_id"
model=
"ir.config_parameter"
>
<field
name=
"key"
>
fscut.app_id
</field>
...
...
jzjx_project/static/src/html/view/zdy_gdbg.html
View file @
4a95e888
...
...
@@ -1927,9 +1927,7 @@ list[item.field_index] = that.default_process_id
downloadUrl
()
{
this
.
document_list
.
forEach
(
item
=>
{
let
webulr
=
item
.
data
+
'&download=true'
fetch
(
webulr
,
{
headers
:
{
'Content-Security-Policy'
:
'upgrade-insecure-requests'
}})
fetch
(
webulr
)
.
then
((
res
)
=>
res
.
blob
())
.
then
((
blob
)
=>
{
const
a
=
document
.
createElement
(
"a"
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
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 comment