Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
D
document-management
Project
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
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
ry-istanbul-web
document-management
Commits
e5a7d625
Commit
e5a7d625
authored
Nov 26, 2022
by
lxyang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat:提交
parent
727f13eb
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
24 additions
and
8 deletions
+24
-8
product.js
src/api/system/product.js
+10
-3
index.vue
src/views/dataList/dashboard/index.vue
+13
-4
vue.config.js
vue.config.js
+1
-1
No files found.
src/api/system/product.js
View file @
e5a7d625
...
...
@@ -2,7 +2,14 @@ import request from '@/utils/request'
// 文档差异
export
function
doctaskFinddifference
(
data
)
{
return
request
({
url
:
'/api/doc/doctask/finddifference/'
+
data
,
url
:
'/api/doc/doctask/finddifference/'
+
data
+
'&pageindex=1&pagesize=999'
,
method
:
'get'
})
}
\ No newline at end of file
}
// 查询文档差异接口
export
function
doctaskFinddifferenceSearch
({
id
,
context
,
pageindex
,
pagesize
})
{
return
request
({
url
:
'/api/doc/doctask/finddifference/'
+
id
+
'?context='
+
context
+
'&pageindex='
+
pageindex
+
'&pagesize='
+
pagesize
,
method
:
'get'
})
}
\ No newline at end of file
src/views/dataList/dashboard/index.vue
View file @
e5a7d625
...
...
@@ -43,6 +43,9 @@
<
script
>
// 接口调用方法
import
{
doctaskFinddifferenceSearch
}
from
"@/api/system/product"
;
export
default
{
data
()
{
return
{
...
...
@@ -59,12 +62,17 @@ export default {
},
watch
:
{},
created
()
{
console
.
log
(
this
.
$route
.
params
.
search
)
if
(
this
.
$route
.
params
.
search
)
{
this
.
search
=
this
.
$route
.
params
.
search
let
searchDocument
=
localStorage
.
getItem
(
"searchDocument"
)
let
searchs
=
this
.
$route
.
params
.
search
if
(
searchs
)
{
this
.
search
=
searchs
localStorage
.
setItem
(
"searchDocument"
,
searchs
)
this
.
searchDocument
()
}
else
if
(
searchDocument
)
{
this
.
search
=
searchDocument
this
.
searchDocument
()
}
else
{
this
.
clearData
()
this
.
clearData
()
}
},
computed
:
{
...
...
@@ -80,6 +88,7 @@ export default {
})
return
}
localStorage
.
setItem
(
"searchDocument"
,
this
.
search
.
trim
())
this
.
seatchInitLeft
()
},
// 搜索左侧
...
...
vue.config.js
View file @
e5a7d625
...
...
@@ -17,7 +17,7 @@ module.exports = {
// 部署生产环境和开发环境下的URL。
// 默认情况下,Vue CLI 会假设你的应用是被部署在一个域名的根路径上
// 例如 https://www.ruoyi.vip/。如果应用被部署在一个子路径上,你就需要用这个选项指定这个子路径。例如,如果你的应用被部署在 https://www.ruoyi.vip/admin/,则设置 baseUrl 为 /admin/。
publicPath
:
"
.
/"
,
publicPath
:
"/"
,
// 在npm run build 或 yarn build 时 ,生成文件的目录名称(要和baseUrl的生产环境路径一致)(默认dist)
outputDir
:
'dist'
,
// 用于放置生成的静态资源 (js、css、img、fonts) 的;(项目打包之后,静态资源会放在这个文件夹下)
...
...
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