Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
S
sample-form-platform
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
赵啸非
sample-form-platform
Commits
c277a591
Commit
c277a591
authored
Jun 14, 2023
by
赵啸非
Browse files
Options
Browse Files
Download
Plain Diff
Merge remote-tracking branch 'origin/master'
parents
26cbc8e9
a0220f4d
Changes
26
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
26 changed files
with
326 additions
and
822 deletions
+326
-822
sample-form-client-ui/admin/package.json
sample-form-client-ui/admin/package.json
+1
-1
sample-form-client-ui/admin/src/App.vue
sample-form-client-ui/admin/src/App.vue
+4
-5
sample-form-client-ui/admin/src/pages/home/Home.vue
sample-form-client-ui/admin/src/pages/home/Home.vue
+2
-0
sample-form-client-ui/admin/src/pages/showpage/ShowMaterials.vue
...form-client-ui/admin/src/pages/showpage/ShowMaterials.vue
+27
-5
sample-form-client-ui/admin/src/store/index.js
sample-form-client-ui/admin/src/store/index.js
+1
-1
sample-form-client-ui/admin/vue.config.js
sample-form-client-ui/admin/vue.config.js
+1
-32
sample-form-client-ui/admin/yarn.lock
sample-form-client-ui/admin/yarn.lock
+11
-233
sample-form-manager-ui/admin/package.json
sample-form-manager-ui/admin/package.json
+0
-1
sample-form-manager-ui/admin/src/assets/css/common.less
sample-form-manager-ui/admin/src/assets/css/common.less
+20
-0
sample-form-manager-ui/admin/src/components/Pagination.vue
sample-form-manager-ui/admin/src/components/Pagination.vue
+55
-0
sample-form-manager-ui/admin/src/main.js
sample-form-manager-ui/admin/src/main.js
+18
-18
sample-form-manager-ui/admin/src/pages/hardware/NumberWriteDevice.vue
...manager-ui/admin/src/pages/hardware/NumberWriteDevice.vue
+9
-16
sample-form-manager-ui/admin/src/pages/hardware/modal/AddMatter.vue
...m-manager-ui/admin/src/pages/hardware/modal/AddMatter.vue
+22
-22
sample-form-manager-ui/admin/src/pages/layouts/components/Header.vue
...-manager-ui/admin/src/pages/layouts/components/Header.vue
+7
-7
sample-form-manager-ui/admin/src/pages/software/basics/BasicsSet.vue
...-manager-ui/admin/src/pages/software/basics/BasicsSet.vue
+3
-2
sample-form-manager-ui/admin/src/pages/software/librarymanage/LibraryManage.vue
.../admin/src/pages/software/librarymanage/LibraryManage.vue
+18
-20
sample-form-manager-ui/admin/src/pages/software/librarymanage/modal/AddMaterals.vue
...in/src/pages/software/librarymanage/modal/AddMaterals.vue
+10
-35
sample-form-manager-ui/admin/src/pages/software/materials/MaterialsManage.vue
...ui/admin/src/pages/software/materials/MaterialsManage.vue
+25
-35
sample-form-manager-ui/admin/src/pages/software/materials/modal/CommonLib.vue
...ui/admin/src/pages/software/materials/modal/CommonLib.vue
+14
-17
sample-form-manager-ui/admin/src/pages/software/materials/modal/PreviewMaterials.vue
...n/src/pages/software/materials/modal/PreviewMaterials.vue
+12
-12
sample-form-manager-ui/admin/src/pages/software/matter/MatterManage.vue
...nager-ui/admin/src/pages/software/matter/MatterManage.vue
+25
-52
sample-form-manager-ui/admin/src/pages/system/parameter/Parameter.vue
...manager-ui/admin/src/pages/system/parameter/Parameter.vue
+11
-18
sample-form-manager-ui/admin/src/pages/system/systemlogs/SystemLogs.vue
...nager-ui/admin/src/pages/system/systemlogs/SystemLogs.vue
+11
-17
sample-form-manager-ui/admin/src/pages/system/task/TaskSet.vue
...e-form-manager-ui/admin/src/pages/system/task/TaskSet.vue
+11
-19
sample-form-manager-ui/admin/vue.config.js
sample-form-manager-ui/admin/vue.config.js
+2
-21
sample-form-manager-ui/admin/yarn.lock
sample-form-manager-ui/admin/yarn.lock
+6
-233
No files found.
sample-form-client-ui/admin/package.json
View file @
c277a591
...
@@ -21,6 +21,7 @@
...
@@ -21,6 +21,7 @@
"element-china-area-data"
:
"^5.0.2"
,
"element-china-area-data"
:
"^5.0.2"
,
"element-ui"
:
"^2.15.10"
,
"element-ui"
:
"^2.15.10"
,
"file-saver"
:
"^2.0.2"
,
"file-saver"
:
"^2.0.2"
,
"hammerjs"
:
"^2.0.8"
,
"moment"
:
"^2.29.4"
,
"moment"
:
"^2.29.4"
,
"npm"
:
"^6.13.7"
,
"npm"
:
"^6.13.7"
,
"secure-ls"
:
"^1.2.6"
,
"secure-ls"
:
"^1.2.6"
,
...
@@ -46,7 +47,6 @@
...
@@ -46,7 +47,6 @@
"@vue/cli-service"
:
"~5.0.0"
,
"@vue/cli-service"
:
"~5.0.0"
,
"eslint"
:
"^7.32.0"
,
"eslint"
:
"^7.32.0"
,
"eslint-plugin-vue"
:
"^8.0.3"
,
"eslint-plugin-vue"
:
"^8.0.3"
,
"filemanager-webpack-plugin"
:
"^8.0.0"
,
"less"
:
"^4.0.0"
,
"less"
:
"^4.0.0"
,
"less-loader"
:
"^8.0.0"
,
"less-loader"
:
"^8.0.0"
,
"svg-sprite-loader"
:
"^4.1.6"
,
"svg-sprite-loader"
:
"^4.1.6"
,
...
...
sample-form-client-ui/admin/src/App.vue
View file @
c277a591
...
@@ -64,8 +64,8 @@ export default {
...
@@ -64,8 +64,8 @@ export default {
devicenum
:
"
18-93-7F-C0-AD-B5
"
,
devicenum
:
"
18-93-7F-C0-AD-B5
"
,
// devicenum: "B8-13-32-86-9F-04",
// devicenum: "B8-13-32-86-9F-04",
};
};
local
.
setLocal
(
obj
.
devicenum
);
local
.
setLocal
(
"
devicenum
"
,
obj
.
devicenum
);
this
.
SET_deviceCode
t
(
obj
.
devicenum
);
this
.
SET_deviceCode
(
obj
.
devicenum
);
this
.
WebSocketMq
(
obj
);
this
.
WebSocketMq
(
obj
);
}
}
},
},
...
@@ -85,7 +85,7 @@ export default {
...
@@ -85,7 +85,7 @@ export default {
"
SET_homeInfo
"
,
"
SET_homeInfo
"
,
"
SET_datumList
"
,
"
SET_datumList
"
,
"
SET_matterList
"
,
"
SET_matterList
"
,
"
SET_deviceCode
t
"
,
"
SET_deviceCode
"
,
]),
]),
// 简析url
// 简析url
urlGet
()
{
urlGet
()
{
...
@@ -110,7 +110,7 @@ export default {
...
@@ -110,7 +110,7 @@ export default {
let
{
devicenum
}
=
routeQuery
;
let
{
devicenum
}
=
routeQuery
;
this
.
devicenum
=
devicenum
;
this
.
devicenum
=
devicenum
;
local
.
setLocal
(
"
devicenum
"
,
devicenum
);
local
.
setLocal
(
"
devicenum
"
,
devicenum
);
this
.
SET_deviceCode
t
(
devicenum
);
this
.
SET_deviceCode
(
devicenum
);
}
}
},
},
// 获取首页信息
// 获取首页信息
...
@@ -143,7 +143,6 @@ export default {
...
@@ -143,7 +143,6 @@ export default {
this
.
linkDom
=
link
;
this
.
linkDom
=
link
;
link
.
rel
=
"
stylesheet
"
;
link
.
rel
=
"
stylesheet
"
;
link
.
href
=
data
[
0
].
cssFilePath
;
link
.
href
=
data
[
0
].
cssFilePath
;
console
.
log
(
data
[
0
]);
// document.getElementsByTagName("head")[0].appendChild(link);
// document.getElementsByTagName("head")[0].appendChild(link);
document
.
head
.
appendChild
(
link
);
document
.
head
.
appendChild
(
link
);
}
}
...
...
sample-form-client-ui/admin/src/pages/home/Home.vue
View file @
c277a591
...
@@ -487,6 +487,7 @@ export default {
...
@@ -487,6 +487,7 @@ export default {
}
}
.ranking-list {
.ranking-list {
padding: 0px 14px;
padding: 0px 14px;
overflow: hidden;
.ranking-item {
.ranking-item {
height: 50px;
height: 50px;
margin-bottom: 10px;
margin-bottom: 10px;
...
@@ -577,6 +578,7 @@ export default {
...
@@ -577,6 +578,7 @@ export default {
.hot-matter-list {
.hot-matter-list {
height: 130px;
height: 130px;
padding: 0px 14px;
padding: 0px 14px;
overflow: hidden;
.seamless-warp {
.seamless-warp {
height: 100%;
height: 100%;
overflow: hidden;
overflow: hidden;
...
...
sample-form-client-ui/admin/src/pages/showpage/ShowMaterials.vue
View file @
c277a591
...
@@ -107,13 +107,14 @@
...
@@ -107,13 +107,14 @@
import
Header
from
"
@/components/Header.vue
"
;
import
Header
from
"
@/components/Header.vue
"
;
import
{
getMaterialsList
,
checkMaterials
}
from
"
@/api
"
;
import
{
getMaterialsList
,
checkMaterials
}
from
"
@/api
"
;
import
local
from
"
@/utils/local
"
;
import
local
from
"
@/utils/local
"
;
// import Hammer from "hammerjs";
export
default
{
export
default
{
components
:
{
components
:
{
Header
,
Header
,
},
},
data
()
{
data
()
{
return
{
return
{
api
:
local
.
getLocal
(
"
serverUrl
"
)
+
"
/
"
,
api
:
local
.
getLocal
(
"
serverUrl
"
),
matterInfo
:
{},
matterInfo
:
{},
matterName
:
""
,
// 事项名称
matterName
:
""
,
// 事项名称
matterId
:
this
.
$route
.
query
.
matterId
,
// 事项id
matterId
:
this
.
$route
.
query
.
matterId
,
// 事项id
...
@@ -127,9 +128,11 @@ export default {
...
@@ -127,9 +128,11 @@ export default {
},
},
created
()
{
created
()
{
this
.
getMaterialsList
();
this
.
getMaterialsList
();
// this.materailsList=this.matterInfo.matterDatumList;
// this.materailsList=this.matterInfo.matterDatumList;
},
},
mounted
()
{
// this.handleScale();
},
methods
:
{
methods
:
{
handleBackHome
()
{
handleBackHome
()
{
...
@@ -212,6 +215,25 @@ export default {
...
@@ -212,6 +215,25 @@ export default {
row
.
materialFullName
row
.
materialFullName
);
);
},
},
// 手势放大缩小
// handleScale() {
// setTimeout(() => {
// let _this = this;
// const img = this.$refs.PreviewImg;
// const PreviewImg = new Hammer(img);
// PreviewImg.get("pinch").set({ enable: true });
// PreviewImg.on("pinchmove", function (e) {
// if (e.scale > 1) {
// _this.scale += 5;
// if (_this.scale > 200) {
// _this.scale = 200;
// }
// } else if (e.scale
<=
1
)
{
// _this.scale = 100;
// }
// });
// }, 100);
// },
},
},
};
};
</
script
>
</
script
>
...
@@ -270,12 +292,12 @@ export default {
...
@@ -270,12 +292,12 @@ export default {
.icon1 {
.icon1 {
width: 26px;
width: 26px;
height: 26px;
height: 26px;
background: var(--main-assist-color);
// background: var(--main-assist-color);
background: #fff;
border-radius: 50%;
border-radius: 50%;
display: flex;
display: flex;
align-items: center;
align-items: center;
justify-content: center;
justify-content: center;
color: #fff;
i {
i {
font-size: 16px;
font-size: 16px;
color: var(--main-theme-color);
color: var(--main-theme-color);
...
@@ -290,7 +312,7 @@ export default {
...
@@ -290,7 +312,7 @@ export default {
display: flex;
display: flex;
align-items: center;
align-items: center;
justify-content: center;
justify-content: center;
color:
var(--main-theme-color)
;
color:
#fff
;
position: absolute;
position: absolute;
right: 28px;
right: 28px;
cursor: pointer;
cursor: pointer;
...
...
sample-form-client-ui/admin/src/store/index.js
View file @
c277a591
...
@@ -31,7 +31,7 @@ export default new Vuex.Store({
...
@@ -31,7 +31,7 @@ export default new Vuex.Store({
SET_matterList
(
state
,
matterList
)
{
SET_matterList
(
state
,
matterList
)
{
state
.
matterList
=
matterList
;
state
.
matterList
=
matterList
;
},
},
SET_deviceCode
t
(
state
,
deviceCode
)
{
SET_deviceCode
(
state
,
deviceCode
)
{
state
.
deviceCode
=
deviceCode
;
state
.
deviceCode
=
deviceCode
;
},
},
},
},
...
...
sample-form-client-ui/admin/vue.config.js
View file @
c277a591
const
{
defineConfig
}
=
require
(
"
@vue/cli-service
"
);
const
{
defineConfig
}
=
require
(
"
@vue/cli-service
"
);
const
FileManagerPlugin
=
require
(
"
filemanager-webpack-plugin
"
);
// 压缩文件夹
const
isDev
=
process
.
env
.
NODE_ENV
===
"
development
"
;
let
plugins
=
[];
// 避免本地启项目时自动打zip包
if
(
!
isDev
)
{
plugins
.
push
(
new
FileManagerPlugin
({
events
:
{
onEnd
:
{
// mkdir: ["./dist"],
delete
:
[
"
./样表终端系统.zip
"
],
archive
:
[{
source
:
"
./dist
"
,
destination
:
"
./样表终端系统.zip
"
}],
},
},
})
);
}
module
.
exports
=
defineConfig
({
module
.
exports
=
defineConfig
({
transpileDependencies
:
true
,
transpileDependencies
:
true
,
productionSourceMap
:
false
,
productionSourceMap
:
false
,
...
@@ -24,20 +7,6 @@ module.exports = defineConfig({
...
@@ -24,20 +7,6 @@ module.exports = defineConfig({
outputDir
:
"
dist
"
,
outputDir
:
"
dist
"
,
publicPath
:
"
./
"
,
publicPath
:
"
./
"
,
// webpack 插件
// webpack 插件
configureWebpack
:
{
configureWebpack
:
{},
plugins
:
[...
plugins
],
},
transpileDependencies
:
true
,
transpileDependencies
:
true
,
devServer
:
{
port
:
9086
,
hot
:
"
only
"
,
//自动保存
proxy
:
{
"
/sampleform
"
:
{
target
:
"
http://localhost:17002
"
,
changeOrigin
:
true
,
secure
:
false
,
cookieDomainRewrite
:
"
localhost
"
,
},
},
},
});
});
sample-form-client-ui/admin/yarn.lock
View file @
c277a591
This diff is collapsed.
Click to expand it.
sample-form-manager-ui/admin/package.json
View file @
c277a591
...
@@ -44,7 +44,6 @@
...
@@ -44,7 +44,6 @@
"@vue/cli-service"
:
"~5.0.0"
,
"@vue/cli-service"
:
"~5.0.0"
,
"eslint"
:
"^7.32.0"
,
"eslint"
:
"^7.32.0"
,
"eslint-plugin-vue"
:
"^8.0.3"
,
"eslint-plugin-vue"
:
"^8.0.3"
,
"filemanager-webpack-plugin"
:
"^8.0.0"
,
"less"
:
"^4.0.0"
,
"less"
:
"^4.0.0"
,
"less-loader"
:
"^8.0.0"
,
"less-loader"
:
"^8.0.0"
,
"svg-sprite-loader"
:
"^4.1.6"
,
"svg-sprite-loader"
:
"^4.1.6"
,
...
...
sample-form-manager-ui/admin/src/assets/css/common.
c
ss
→
sample-form-manager-ui/admin/src/assets/css/common.
le
ss
View file @
c277a591
...
@@ -393,3 +393,23 @@
...
@@ -393,3 +393,23 @@
.el-drawer__body{
.el-drawer__body{
border-top:1px solid #ececec;
border-top:1px solid #ececec;
}
}
.el-button--primary{
background: linear-gradient(90deg, #5ab6ff, #2e9aff) !important;
border: none !important;
border-color: transparent !important;
}
.el-dialog__header{
.el-dialog__title{
color: #1890FF !important;
font-size: 18px;
font-weight: bold;
}
.el-dialog__close{
color: #188fff !important;
font-size: 26px;
font-weight: bold;
}
}
.el-pagination__jump{
margin-left: 0px !important;
}
\ No newline at end of file
sample-form-manager-ui/admin/src/components/Pagination.vue
0 → 100644
View file @
c277a591
<
template
>
<div
class=
"pagination"
v-if=
"total"
>
<el-pagination
background
layout=
"total,prev,pager,next,sizes,jumper"
:pager-count=
"5"
:total=
"total"
:current-page=
"current"
:page-size=
"size"
:page-sizes=
"pageSizes"
@
current-change=
"changePagination"
@
size-change=
"changeSize"
>
</el-pagination>
</div>
</
template
>
<
script
>
export
default
{
props
:
{
total
:
{
required
:
true
,
type
:
Number
,
default
:
0
,
},
size
:
{
required
:
true
,
type
:
Number
,
default
:
10
,
},
current
:
{
required
:
true
,
type
:
Number
,
default
:
1
,
},
},
data
()
{
return
{
pageSizes
:
[
10
,
20
,
30
,
40
,
50
,
100
,
200
],
};
},
computed
:
{},
methods
:
{
changePagination
(
cur
)
{
this
.
$emit
(
"
currentChange
"
,
cur
);
},
changeSize
(
size
)
{
this
.
$emit
(
"
sizeChange
"
,
size
);
},
},
};
</
script
>
<
style
lang=
"less"
scoped
>
</
style
>
\ No newline at end of file
sample-form-manager-ui/admin/src/main.js
View file @
c277a591
import
Vue
from
'
vue
'
import
Vue
from
"
vue
"
;
import
App
from
'
./App.vue
'
import
App
from
"
./App.vue
"
;
import
router
from
'
./router
'
import
router
from
"
./router
"
;
import
store
from
'
./store
'
import
store
from
"
./store
"
;
// 引入清除样式,重置样式,公共样式
// 引入清除样式,重置样式,公共样式
import
"
@/assets/css/normalize.css
"
import
"
@/assets/css/normalize.css
"
;
import
"
@/assets/css/reset.css
"
import
"
@/assets/css/reset.css
"
;
import
"
@/assets/css/common.
css
"
import
"
@/assets/css/common.
less
"
;
// moment 时间处理
// moment 时间处理
import
moment
from
'
moment
'
;
import
moment
from
"
moment
"
;
Vue
.
prototype
.
$moment
=
moment
;
Vue
.
prototype
.
$moment
=
moment
;
// 引入element-ui
// 引入element-ui
import
ElementUI
from
'
element-ui
'
;
import
ElementUI
from
"
element-ui
"
;
import
'
element-ui/lib/theme-chalk/index.css
'
;
import
"
element-ui/lib/theme-chalk/index.css
"
;
Vue
.
use
(
ElementUI
);
Vue
.
use
(
ElementUI
);
import
{
message
}
from
'
@/utils/resetMessage
'
import
{
message
}
from
"
@/utils/resetMessage
"
;
Vue
.
prototype
.
$message
=
message
Vue
.
prototype
.
$message
=
message
;
// 表格生成
// 表格生成
import
plugins
from
'
./components/formDes/index
'
;
import
plugins
from
"
./components/formDes/index
"
;
Vue
.
use
(
plugins
);
Vue
.
use
(
plugins
);
// 中央事件
// 中央事件
Vue
.
prototype
.
$bus
=
new
Vue
Vue
.
prototype
.
$bus
=
new
Vue
();
Vue
.
config
.
productionTip
=
false
Vue
.
config
.
productionTip
=
false
;
Vue
.
config
.
productionTip
=
false
Vue
.
config
.
productionTip
=
false
;
new
Vue
({
new
Vue
({
router
,
router
,
store
,
store
,
render
:
h
=>
h
(
App
)
render
:
(
h
)
=>
h
(
App
),
}).
$mount
(
'
#app
'
)
}).
$mount
(
"
#app
"
);
sample-form-manager-ui/admin/src/pages/hardware/NumberWriteDevice.vue
View file @
c277a591
...
@@ -41,7 +41,6 @@
...
@@ -41,7 +41,6 @@
v-loading=
"loading"
v-loading=
"loading"
border
border
:data=
"tableData"
:data=
"tableData"
size=
"small"
tooltip-effect=
"dark"
tooltip-effect=
"dark"
style=
"width: 100%"
style=
"width: 100%"
max-height=
"676px"
max-height=
"676px"
...
@@ -153,20 +152,13 @@
...
@@ -153,20 +152,13 @@
<
/el-table-column
>
<
/el-table-column
>
<
/el-table
>
<
/el-table
>
<
/div
>
<
/div
>
<
div
class
=
"
pagination
"
v
-
if
=
"
total
"
>
<
Pagination
<
el
-
pagination
:
total
=
"
total
"
background
:
current
=
"
current
"
layout
=
"
total,sizes,prev,pager,next,jumper
"
:
size
=
"
size
"
:
pager
-
count
=
"
5
"
@
currentChange
=
"
changePagination
"
:
total
=
"
total
"
@
sizeChange
=
"
changeSize
"
:
current
-
page
=
"
current
"
><
/Pagination
>
:
page
-
size
=
"
size
"
:
page
-
sizes
=
"
pageSizes
"
@
current
-
change
=
"
changePagination
"
@
size
-
change
=
"
changeSize
"
>
<
/el-pagination
>
<
/div
>
<
/el-card
>
<
/el-card
>
<!--
新增设备
-->
<!--
新增设备
-->
<
AddDevice
<
AddDevice
...
@@ -181,6 +173,7 @@
...
@@ -181,6 +173,7 @@
<
script
>
<
script
>
import
TableHeader
from
"
@/components/TableHeader.vue
"
;
import
TableHeader
from
"
@/components/TableHeader.vue
"
;
import
Pagination
from
"
@/components/Pagination.vue
"
;
import
AddMatter
from
"
./modal/AddMatter.vue
"
;
import
AddMatter
from
"
./modal/AddMatter.vue
"
;
import
AddDevice
from
"
./modal/AddDevice.vue
"
;
import
AddDevice
from
"
./modal/AddDevice.vue
"
;
import
{
getDeviceList
}
from
"
@/api/device
"
;
import
{
getDeviceList
}
from
"
@/api/device
"
;
...
@@ -190,6 +183,7 @@ export default {
...
@@ -190,6 +183,7 @@ export default {
TableHeader
,
TableHeader
,
AddDevice
,
AddDevice
,
AddMatter
,
AddMatter
,
Pagination
,
}
,
}
,
data
()
{
data
()
{
return
{
return
{
...
@@ -198,7 +192,6 @@ export default {
...
@@ -198,7 +192,6 @@ export default {
?
local
.
getLocal
(
"
sampleSiteId
"
)
?
local
.
getLocal
(
"
sampleSiteId
"
)
:
""
,
:
""
,
tableData
:
[],
tableData
:
[],
pageSizes
:
[
10
,
20
,
30
,
40
,
50
,
100
,
200
],
total
:
0
,
total
:
0
,
current
:
1
,
current
:
1
,
size
:
10
,
size
:
10
,
...
...
sample-form-manager-ui/admin/src/pages/hardware/modal/AddMatter.vue
View file @
c277a591
...
@@ -19,9 +19,11 @@
...
@@ -19,9 +19,11 @@
:key=
"v.id"
:key=
"v.id"
>
>
<div
class=
"flex aic jcb"
>
<div
class=
"flex aic jcb"
>
<p
class=
"matter-item-title"
>
<el-tooltip
:content=
"v.matterName"
placement=
"top"
>
{{
v
.
matterName
}}
<p
class=
"matter-item-title"
>
</p>
{{
v
.
matterName
}}
</p>
</el-tooltip>
<i
class=
"el-icon-delete delete"
@
click=
"handleDel(v.id)"
></i>
<i
class=
"el-icon-delete delete"
@
click=
"handleDel(v.id)"
></i>
</div>
</div>
<div
class=
"matter-item-count"
>
<div
class=
"matter-item-count"
>
...
@@ -73,9 +75,9 @@
...
@@ -73,9 +75,9 @@
@
keyup
.
native
.
enter
=
"
handleSearch
"
@
keyup
.
native
.
enter
=
"
handleSearch
"
><
/el-input
>
><
/el-input
>
<
el
-
button
size
=
"
small
"
type
=
"
primary
"
@
click
=
"
handleSearch
"
<
el
-
button
size
=
"
small
"
type
=
"
primary
"
@
click
=
"
handleSearch
"
>
搜索
<
/el-butto
n
>
搜
索
<
/el-butto
n
>
>
<
el
-
button
size
=
"
small
"
@
click
=
"
handleReset
"
>
重置
<
/el-button
>
<
el
-
button
size
=
"
small
"
@
click
=
"
handleReset
"
>
重
置
<
/el-button
>
<
/div
>
<
/div
>
<
/TableHeader
>
<
/TableHeader
>
<!--
表格
-->
<!--
表格
-->
...
@@ -144,20 +146,13 @@
...
@@ -144,20 +146,13 @@
<
/el-table
>
<
/el-table
>
<
/div
>
<
/div
>
<
/div
>
<
/div
>
<
div
class
=
"
pagination
"
v
-
if
=
"
total
"
>
<
Pagination
<
el
-
pagination
:
total
=
"
total
"
background
:
current
=
"
current
"
layout
=
"
total,sizes,prev,pager,next,jumper
"
:
size
=
"
size
"
:
pager
-
count
=
"
5
"
@
currentChange
=
"
changePagination
"
:
total
=
"
total
"
@
sizeChange
=
"
changeSize
"
:
current
-
page
=
"
current
"
><
/Pagination
>
:
page
-
size
=
"
size
"
:
page
-
sizes
=
"
pageSizes
"
@
current
-
change
=
"
changePagination
"
@
size
-
change
=
"
changeSize
"
>
<
/el-pagination
>
<
/div
>
<
/div
>
<
/div
>
<
/div
>
<
/div
>
<
div
class
=
"
footer
"
>
<
div
class
=
"
footer
"
>
...
@@ -173,6 +168,7 @@
...
@@ -173,6 +168,7 @@
<
script
>
<
script
>
import
{
mapGetters
}
from
"
vuex
"
;
import
{
mapGetters
}
from
"
vuex
"
;
import
TableHeader
from
"
@/components/TableHeader.vue
"
;
import
TableHeader
from
"
@/components/TableHeader.vue
"
;
import
Pagination
from
"
@/components/Pagination.vue
"
;
import
{
getWriteMatterList
}
from
"
@/api/matter
"
;
import
{
getWriteMatterList
}
from
"
@/api/matter
"
;
import
{
import
{
getDeviceMatterList
,
getDeviceMatterList
,
...
@@ -183,6 +179,7 @@ import local from "@/utils/local";
...
@@ -183,6 +179,7 @@ import local from "@/utils/local";
export
default
{
export
default
{
components
:
{
components
:
{
TableHeader
,
TableHeader
,
Pagination
,
}
,
}
,
props
:
{
props
:
{
matterDrawer
:
{
matterDrawer
:
{
...
@@ -194,8 +191,8 @@ export default {
...
@@ -194,8 +191,8 @@ export default {
data
()
{
data
()
{
return
{
return
{
loading
:
false
,
loading
:
false
,
siteId
:
local
.
getLocal
(
"
writ
eSiteId
"
)
siteId
:
local
.
getLocal
(
"
sampl
eSiteId
"
)
?
local
.
getLocal
(
"
writ
eSiteId
"
)
?
local
.
getLocal
(
"
sampl
eSiteId
"
)
:
""
,
:
""
,
department
:
""
,
department
:
""
,
searchVal
:
""
,
searchVal
:
""
,
...
@@ -204,7 +201,6 @@ export default {
...
@@ -204,7 +201,6 @@ export default {
total
:
0
,
total
:
0
,
tableData
:
[],
tableData
:
[],
devMatterList
:
[],
// 设备事项列表
devMatterList
:
[],
// 设备事项列表
pageSizes
:
[
10
,
20
,
30
,
40
,
50
,
100
,
200
],
selectionKeys
:
[],
selectionKeys
:
[],
devInfo
:
{
}
,
devInfo
:
{
}
,
}
;
}
;
...
@@ -261,6 +257,7 @@ export default {
...
@@ -261,6 +257,7 @@ export default {
// 搜索
// 搜索
handleSearch
()
{
handleSearch
()
{
this
.
current
=
1
;
this
.
current
=
1
;
this
.
$refs
.
curTable
.
clearSelection
();
this
.
getWriteMatterList
();
this
.
getWriteMatterList
();
}
,
}
,
// 重置
// 重置
...
@@ -268,6 +265,7 @@ export default {
...
@@ -268,6 +265,7 @@ export default {
this
.
department
=
""
;
this
.
department
=
""
;
this
.
searchVal
=
""
;
this
.
searchVal
=
""
;
this
.
current
=
1
;
this
.
current
=
1
;
this
.
$refs
.
curTable
.
clearSelection
();
this
.
getWriteMatterList
();
this
.
getWriteMatterList
();
}
,
}
,
// 翻页
// 翻页
...
@@ -317,6 +315,7 @@ export default {
...
@@ -317,6 +315,7 @@ export default {
let
{
code
,
msg
}
=
res
.
data
;
let
{
code
,
msg
}
=
res
.
data
;
if
(
code
==
1
)
{
if
(
code
==
1
)
{
this
.
$message
.
success
(
msg
);
this
.
$message
.
success
(
msg
);
this
.
$refs
.
curTable
.
clearSelection
();
this
.
getDeviceMatterList
(
this
.
devInfo
.
id
);
this
.
getDeviceMatterList
(
this
.
devInfo
.
id
);
}
}
}
,
}
,
...
@@ -385,6 +384,7 @@ export default {
...
@@ -385,6 +384,7 @@ export default {
overflow
:
hidden
;
overflow
:
hidden
;
text
-
overflow
:
ellipsis
;
text
-
overflow
:
ellipsis
;
white
-
space
:
nowrap
;
white
-
space
:
nowrap
;
cursor
:
default
;
}
}
.
matter
-
item
-
count
{
.
matter
-
item
-
count
{
margin
-
top
:
4
px
;
margin
-
top
:
4
px
;
...
...
sample-form-manager-ui/admin/src/pages/layouts/components/Header.vue
View file @
c277a591
...
@@ -92,25 +92,25 @@ export default {
...
@@ -92,25 +92,25 @@ export default {
}
}
/deep/.el-menu-item {
/deep/.el-menu-item {
height: 100% !important;
height: 100% !important;
//
border: none !important;
border: none !important;
display: flex;
display: flex;
align-items: center;
align-items: center;
i {
i {
color: rgba(254, 254, 254, 0.65);
color: rgba(254, 254, 254, 0.65);
}
}
&:hover {
&:hover {
background-color: transparent !important;
//
background-color: transparent !important;
// background-color: #2681e8
!important;
background-color: #1890ff
!important;
color: #fff !important;
color: #fff !important;
border-bottom: 2px solid #fff !important;
//
border-bottom: 2px solid #fff !important;
}
}
}
}
/deep/.is-active {
/deep/.is-active {
border: none !important;
border: none !important;
border-bottom: 2px solid #fff !important;
//
border-bottom: 2px solid #fff !important;
color: #fff !important;
color: #fff !important;
background-color: transparent !important;
//
background-color: transparent !important;
// background-color: #2681e8
!important;
background-color: #1890ff
!important;
}
}
</
style
>
</
style
>
\ No newline at end of file
sample-form-manager-ui/admin/src/pages/software/basics/BasicsSet.vue
View file @
c277a591
...
@@ -57,9 +57,9 @@
...
@@ -57,9 +57,9 @@
<
/el-button
>
<
/el-button
>
<
/div
>
<
/div
>
<
div
class
=
"
mt50
"
>
<
div
class
=
"
mt50
"
>
<
el
-
button
size
=
"
small
"
@
click
=
"
handleReset
"
>
重置
<
/el-button
>
<
el
-
button
size
=
"
small
"
@
click
=
"
handleReset
"
>
重
置
<
/el-button
>
<
el
-
button
size
=
"
small
"
type
=
"
primary
"
@
click
=
"
handleOk
"
<
el
-
button
size
=
"
small
"
type
=
"
primary
"
@
click
=
"
handleOk
"
>
确定
>
确
定
<
/el-button
>
<
/el-button
>
<
/div
>
<
/div
>
<
/el-card
>
<
/el-card
>
...
@@ -116,6 +116,7 @@ export default {
...
@@ -116,6 +116,7 @@ export default {
showInput
()
{
showInput
()
{
if
(
this
.
baseSetInfo
.
hotwords
.
length
>=
10
)
{
if
(
this
.
baseSetInfo
.
hotwords
.
length
>=
10
)
{
this
.
$message
.
warning
(
"
最多添加10个热门词汇!
"
);
return
;
return
;
}
}
this
.
inputVisible
=
true
;
this
.
inputVisible
=
true
;
...
...
sample-form-manager-ui/admin/src/pages/software/librarymanage/LibraryManage.vue
View file @
c277a591
...
@@ -43,16 +43,15 @@
...
@@ -43,16 +43,15 @@
@
keyup
.
native
.
enter
=
"
handleSearch
"
@
keyup
.
native
.
enter
=
"
handleSearch
"
><
/el-input
>
><
/el-input
>
<
el
-
button
size
=
"
small
"
type
=
"
primary
"
@
click
=
"
handleSearch
"
<
el
-
button
size
=
"
small
"
type
=
"
primary
"
@
click
=
"
handleSearch
"
>
搜索
<
/el-butto
n
>
搜
索
<
/el-butto
n
>
>
<
el
-
button
size
=
"
small
"
@
click
=
"
handleReset
"
>
重置
<
/el-button
>
<
el
-
button
size
=
"
small
"
@
click
=
"
handleReset
"
>
重
置
<
/el-button
>
<
/div
>
<
/div
>
<
/TableHeader
>
<
/TableHeader
>
<!--
表格
-->
<!--
表格
-->
<
div
class
=
"
table-content
"
>
<
div
class
=
"
table-content
"
>
<
el
-
table
<
el
-
table
ref
=
"
multipleTable
"
ref
=
"
multipleTable
"
size
=
"
small
"
v
-
loading
=
"
loading
"
v
-
loading
=
"
loading
"
:
data
=
"
tableData
"
:
data
=
"
tableData
"
border
border
...
@@ -107,20 +106,13 @@
...
@@ -107,20 +106,13 @@
<
/el-table-column
>
<
/el-table-column
>
<
/el-table
>
<
/el-table
>
<
/div
>
<
/div
>
<
div
class
=
"
pagination
"
v
-
if
=
"
total
"
>
<
Pagination
<
el
-
pagination
:
total
=
"
total
"
background
:
current
=
"
current
"
layout
=
"
total,sizes,prev,pager,next,jumper
"
:
size
=
"
size
"
:
pager
-
count
=
"
5
"
@
currentChange
=
"
changePagination
"
:
total
=
"
total
"
@
sizeChange
=
"
changeSize
"
:
current
-
page
=
"
current
"
><
/Pagination
>
:
page
-
size
=
"
size
"
:
page
-
sizes
=
"
pageSizes
"
@
current
-
change
=
"
changePagination
"
@
size
-
change
=
"
changeSize
"
>
<
/el-pagination
>
<
/div
>
<
/el-card
>
<
/el-card
>
<!--
添加材料
-->
<!--
添加材料
-->
<!--
<
AddMaterals
<!--
<
AddMaterals
...
@@ -139,12 +131,14 @@
...
@@ -139,12 +131,14 @@
<
script
>
<
script
>
import
TableHeader
from
"
@/components/TableHeader.vue
"
;
import
TableHeader
from
"
@/components/TableHeader.vue
"
;
import
PreviewMaterals
from
"
./modal/PreviewMaterals.vue
"
;
import
PreviewMaterals
from
"
./modal/PreviewMaterals.vue
"
;
import
Pagination
from
"
@/components/Pagination.vue
"
;
import
{
getPubdatumList
,
delPubdatum
}
from
"
@/api/libray
"
;
import
{
getPubdatumList
,
delPubdatum
}
from
"
@/api/libray
"
;
import
{
mapGetters
}
from
"
vuex
"
;
import
{
mapGetters
}
from
"
vuex
"
;
export
default
{
export
default
{
components
:
{
components
:
{
TableHeader
,
TableHeader
,
PreviewMaterals
,
PreviewMaterals
,
Pagination
,
}
,
}
,
data
()
{
data
()
{
return
{
return
{
...
@@ -154,7 +148,6 @@ export default {
...
@@ -154,7 +148,6 @@ export default {
current
:
1
,
current
:
1
,
size
:
10
,
size
:
10
,
total
:
10
,
total
:
10
,
pageSizes
:
[
10
,
20
,
30
,
40
,
50
,
100
,
200
],
loading
:
false
,
loading
:
false
,
selectKeys
:
[],
selectKeys
:
[],
depList
:
[],
depList
:
[],
...
@@ -170,7 +163,7 @@ export default {
...
@@ -170,7 +163,7 @@ export default {
...
mapGetters
([
"
deptList
"
]),
...
mapGetters
([
"
deptList
"
]),
}
,
}
,
methods
:
{
methods
:
{
//
系统事项列表
//
获取公共库材料
async
getPbuList
()
{
async
getPbuList
()
{
this
.
loading
=
true
;
this
.
loading
=
true
;
let
res
=
await
getPubdatumList
({
let
res
=
await
getPubdatumList
({
...
@@ -182,6 +175,10 @@ export default {
...
@@ -182,6 +175,10 @@ export default {
this
.
loading
=
false
;
this
.
loading
=
false
;
if
(
res
.
data
.
code
===
1
)
{
if
(
res
.
data
.
code
===
1
)
{
let
{
data
,
total
}
=
res
.
data
.
data
;
let
{
data
,
total
}
=
res
.
data
.
data
;
if
(
!
data
.
length
&&
this
.
current
>
1
)
{
this
.
current
-=
1
;
this
.
getPbuList
();
}
this
.
tableData
=
data
;
this
.
tableData
=
data
;
this
.
total
=
total
;
this
.
total
=
total
;
this
.
$refs
.
multipleTable
.
bodyWrapper
.
scrollTop
=
0
;
this
.
$refs
.
multipleTable
.
bodyWrapper
.
scrollTop
=
0
;
...
@@ -205,12 +202,14 @@ export default {
...
@@ -205,12 +202,14 @@ export default {
// 搜索
// 搜索
handleSearch
()
{
handleSearch
()
{
this
.
current
=
1
;
this
.
current
=
1
;
this
.
$refs
.
multipleTable
.
clearSelection
();
this
.
getPbuList
();
this
.
getPbuList
();
}
,
}
,
// 重置
// 重置
handleReset
()
{
handleReset
()
{
this
.
department
=
""
;
this
.
department
=
""
;
this
.
searchVal
=
""
;
this
.
searchVal
=
""
;
this
.
$refs
.
multipleTable
.
clearSelection
();
this
.
getPbuList
();
this
.
getPbuList
();
}
,
}
,
// 选中
// 选中
...
@@ -246,7 +245,6 @@ export default {
...
@@ -246,7 +245,6 @@ export default {
}
}
)
)
.
then
(
async
()
=>
{
.
then
(
async
()
=>
{
console
.
log
(
id
);
let
res
=
await
delPubdatum
({
id
}
);
let
res
=
await
delPubdatum
({
id
}
);
let
{
code
,
msg
}
=
res
.
data
;
let
{
code
,
msg
}
=
res
.
data
;
if
(
code
===
1
)
{
if
(
code
===
1
)
{
...
...
sample-form-manager-ui/admin/src/pages/software/librarymanage/modal/AddMaterals.vue
View file @
c277a591
...
@@ -76,20 +76,13 @@
...
@@ -76,20 +76,13 @@
>
>
<
/el-table-column
>
<
/el-table-column
>
<
/el-table
>
<
/el-table
>
<
div
class
=
"
pagination
"
v
-
if
=
"
total
"
>
<
Pagination
<
el
-
pagination
:
total
=
"
total
"
background
:
current
=
"
current
"
layout
=
"
total,sizes,prev,pager,next,jumper
"
:
size
=
"
size
"
:
pager
-
count
=
"
5
"
@
currentChange
=
"
changePagination
"
:
total
=
"
total
"
@
sizeChange
=
"
changeSize
"
:
current
-
page
=
"
current
"
><
/Pagination
>
:
page
-
size
=
"
size
"
:
page
-
sizes
=
"
pageSizes
"
@
current
-
change
=
"
changePagination
"
@
size
-
change
=
"
changeSize
"
>
<
/el-pagination
>
<
/div
>
<
span
slot
=
"
footer
"
class
=
"
dialog-footer
"
>
<
span
slot
=
"
footer
"
class
=
"
dialog-footer
"
>
<
el
-
button
size
=
"
small
"
type
=
"
primary
"
@
click
=
"
handleOk
"
<
el
-
button
size
=
"
small
"
type
=
"
primary
"
@
click
=
"
handleOk
"
>
加
入
<
/el-butto
n
>
加
入
<
/el-butto
n
...
@@ -102,10 +95,12 @@
...
@@ -102,10 +95,12 @@
<
script
>
<
script
>
import
TableHeader
from
"
@/components/TableHeader.vue
"
;
import
TableHeader
from
"
@/components/TableHeader.vue
"
;
import
Pagination
from
"
@/components/Pagination.vue
"
;
import
{
mapGetters
}
from
"
vuex
"
;
import
{
mapGetters
}
from
"
vuex
"
;
export
default
{
export
default
{
components
:
{
components
:
{
TableHeader
,
TableHeader
,
Pagination
,
}
,
}
,
props
:
{
props
:
{
libVisible
:
{
libVisible
:
{
...
@@ -125,27 +120,7 @@ export default {
...
@@ -125,27 +120,7 @@ export default {
return
{
return
{
department
:
""
,
department
:
""
,
searchVal
:
""
,
searchVal
:
""
,
tableData
:
[
tableData
:
[],
{
id
:
1
,
department
:
"
县公安局
"
,
name
:
"
机动车登记证、行使证核发
"
,
name2
:
"
机动车登记证、行驶证审查、办理、核发
"
,
count
:
50
,
top
:
1
,
time
:
"
2022-12-12 12:00:00
"
,
}
,
{
id
:
2
,
department
:
"
县公安局
"
,
name
:
"
机动车登记证、行使证核发
"
,
name2
:
"
机动车登记证、行驶证审查、办理、核发
"
,
count
:
50
,
top
:
0
,
time
:
"
2022-12-12 12:00:00
"
,
}
,
],
pageSizes
:
[
10
,
20
,
30
,
40
,
50
,
100
,
200
],
current
:
1
,
current
:
1
,
total
:
10
,
total
:
10
,
size
:
10
,
size
:
10
,
...
...
sample-form-manager-ui/admin/src/pages/software/materials/MaterialsManage.vue
View file @
c277a591
...
@@ -7,7 +7,7 @@
...
@@ -7,7 +7,7 @@
</div>
</div>
<TableHeader>
<TableHeader>
<div
slot=
"left"
>
<div
slot=
"left"
>
<el-button
size=
"small"
@
click=
"setCurrent"
>
{{
<el-button
size=
"small"
type=
"primary"
@
click=
"setCurrent"
>
{{
activeDep
.
id
?
"
取消选择
"
:
"
全部材料
"
activeDep
.
id
?
"
取消选择
"
:
"
全部材料
"
}}
</el-button>
}}
</el-button>
</div>
</div>
...
@@ -42,9 +42,9 @@
...
@@ -42,9 +42,9 @@
@
keyup
.
native
.
enter
=
"
handleSearchLeft
"
@
keyup
.
native
.
enter
=
"
handleSearchLeft
"
><
/el-input
>
><
/el-input
>
<
el
-
button
size
=
"
small
"
type
=
"
primary
"
@
click
=
"
handleSearchLeft
"
<
el
-
button
size
=
"
small
"
type
=
"
primary
"
@
click
=
"
handleSearchLeft
"
>
搜索
<
/el-butto
n
>
搜
索
<
/el-butto
n
>
>
<
el
-
button
size
=
"
small
"
@
click
=
"
leftReset
"
>
重置
<
/el-button
>
<
el
-
button
size
=
"
small
"
@
click
=
"
leftReset
"
>
重
置
<
/el-button
>
<
/div
>
<
/div
>
<
/TableHeader
>
<
/TableHeader
>
<!--
表格
-->
<!--
表格
-->
...
@@ -55,6 +55,7 @@
...
@@ -55,6 +55,7 @@
v
-
loading
=
"
loadingLeft
"
v
-
loading
=
"
loadingLeft
"
:
data
=
"
LeftTableData
"
:
data
=
"
LeftTableData
"
size
=
"
small
"
size
=
"
small
"
border
tooltip
-
effect
=
"
dark
"
tooltip
-
effect
=
"
dark
"
style
=
"
width: 100%
"
style
=
"
width: 100%
"
max
-
height
=
"
676px
"
max
-
height
=
"
676px
"
...
@@ -100,20 +101,13 @@
...
@@ -100,20 +101,13 @@
<
/el-table
>
<
/el-table
>
<
/div
>
<
/div
>
<
/div
>
<
/div
>
<
div
class
=
"
pagination
"
v
-
if
=
"
leftTotal
"
>
<
Pagination
<
el
-
pagination
:
current
=
"
leftCurrent
"
background
:
size
=
"
leftSize
"
layout
=
"
total,sizes,prev,pager,next,jumper
"
:
total
=
"
leftTotal
"
:
pager
-
count
=
"
5
"
@
currentChange
=
"
leftChangePagination
"
:
total
=
"
leftTotal
"
@
sizeChange
=
"
leftChangeSize
"
:
current
-
page
=
"
leftCurrent
"
><
/Pagination
>
:
page
-
size
=
"
leftSize
"
:
page
-
sizes
=
"
pageSizes
"
@
current
-
change
=
"
leftChangePagination
"
@
size
-
change
=
"
leftChangeSize
"
>
<
/el-pagination
>
<
/div
>
<
/el-card
>
<
/el-card
>
<
/div
>
<
/div
>
<
div
class
=
"
right
"
>
<
div
class
=
"
right
"
>
...
@@ -165,9 +159,9 @@
...
@@ -165,9 +159,9 @@
@
keyup
.
native
.
enter
=
"
handleSearchRight
"
@
keyup
.
native
.
enter
=
"
handleSearchRight
"
><
/el-input
>
><
/el-input
>
<
el
-
button
size
=
"
small
"
type
=
"
primary
"
@
click
=
"
handleSearchRight
"
<
el
-
button
size
=
"
small
"
type
=
"
primary
"
@
click
=
"
handleSearchRight
"
>
搜索
<
/el-butto
n
>
搜
索
<
/el-butto
n
>
>
<
el
-
button
size
=
"
small
"
@
click
=
"
rightReset
"
>
重置
<
/el-button
>
<
el
-
button
size
=
"
small
"
@
click
=
"
rightReset
"
>
重
置
<
/el-button
>
<
/div
>
<
/div
>
<
/TableHeader
>
<
/TableHeader
>
<!--
表格
-->
<!--
表格
-->
...
@@ -212,7 +206,7 @@
...
@@ -212,7 +206,7 @@
<
/el-table-column
>
<
/el-table-column
>
<
el
-
table
-
column
<
el
-
table
-
column
prop
=
"
total
"
prop
=
"
total
"
label
=
"
填写
次数
"
label
=
"
查看
次数
"
align
=
"
center
"
align
=
"
center
"
width
=
"
80
"
width
=
"
80
"
>
>
...
@@ -252,20 +246,13 @@
...
@@ -252,20 +246,13 @@
<
/el-table-column
>
<
/el-table-column
>
<
/el-table
>
<
/el-table
>
<
/div
>
<
/div
>
<
div
class
=
"
pagination
"
v
-
if
=
"
rightTotal
"
>
<
Pagination
<
el
-
pagination
:
current
=
"
rightCurrent
"
background
:
size
=
"
rightSize
"
layout
=
"
total,sizes,prev,pager,next,jumper
"
:
total
=
"
rightTotal
"
:
pager
-
count
=
"
5
"
@
currentChange
=
"
rightChangePagination
"
:
total
=
"
rightTotal
"
@
sizeChange
=
"
rightChangeSize
"
:
current
-
page
=
"
rightCurrent
"
><
/Pagination
>
:
page
-
size
=
"
rightSize
"
:
page
-
sizes
=
"
pageSizes
"
@
current
-
change
=
"
rightChangePagination
"
@
size
-
change
=
"
rightChangeSize
"
>
<
/el-pagination
>
<
/div
>
<
/el-card
>
<
/el-card
>
<
/div
>
<
/div
>
<!--
新增材料
-->
<!--
新增材料
-->
...
@@ -296,6 +283,7 @@ import TableHeader from "@/components/TableHeader.vue";
...
@@ -296,6 +283,7 @@ import TableHeader from "@/components/TableHeader.vue";
import
AddMaterials
from
"
./modal/AddMaterials.vue
"
;
import
AddMaterials
from
"
./modal/AddMaterials.vue
"
;
import
PreviewMaterials
from
"
./modal/PreviewMaterials.vue
"
;
import
PreviewMaterials
from
"
./modal/PreviewMaterials.vue
"
;
import
CommonLib
from
"
./modal/CommonLib.vue
"
;
import
CommonLib
from
"
./modal/CommonLib.vue
"
;
import
Pagination
from
"
@/components/Pagination.vue
"
;
import
{
getWriteMatterList
}
from
"
@/api/matter
"
;
import
{
getWriteMatterList
}
from
"
@/api/matter
"
;
import
{
import
{
getMaterialsList
,
getMaterialsList
,
...
@@ -310,6 +298,7 @@ export default {
...
@@ -310,6 +298,7 @@ export default {
AddMaterials
,
AddMaterials
,
PreviewMaterials
,
PreviewMaterials
,
CommonLib
,
CommonLib
,
Pagination
,
}
,
}
,
data
()
{
data
()
{
return
{
return
{
...
@@ -322,7 +311,6 @@ export default {
...
@@ -322,7 +311,6 @@ export default {
rightSearch
:
""
,
rightSearch
:
""
,
loadingLeft
:
false
,
loadingLeft
:
false
,
loadingRight
:
false
,
loadingRight
:
false
,
pageSizes
:
[
10
,
20
,
30
,
40
,
50
,
100
,
200
],
LeftTableData
:
[],
LeftTableData
:
[],
leftCurrent
:
1
,
leftCurrent
:
1
,
leftSize
:
10
,
leftSize
:
10
,
...
@@ -466,6 +454,7 @@ export default {
...
@@ -466,6 +454,7 @@ export default {
// 右边搜索
// 右边搜索
handleSearchRight
()
{
handleSearchRight
()
{
this
.
rightCurrent
=
1
;
this
.
rightCurrent
=
1
;
this
.
$refs
.
rightTable
.
clearSelection
();
this
.
getMaterialsList
();
this
.
getMaterialsList
();
}
,
}
,
// 右边重置
// 右边重置
...
@@ -473,6 +462,7 @@ export default {
...
@@ -473,6 +462,7 @@ export default {
this
.
departmentRight
=
""
;
this
.
departmentRight
=
""
;
this
.
rightSearch
=
""
;
this
.
rightSearch
=
""
;
this
.
rightCurrent
=
1
;
this
.
rightCurrent
=
1
;
this
.
$refs
.
rightTable
.
clearSelection
();
this
.
getMaterialsList
();
this
.
getMaterialsList
();
}
,
}
,
// 推荐
// 推荐
...
...
sample-form-manager-ui/admin/src/pages/software/materials/modal/CommonLib.vue
View file @
c277a591
...
@@ -17,9 +17,9 @@
...
@@ -17,9 +17,9 @@
@
keyup.native.enter=
"handleSarch"
@
keyup.native.enter=
"handleSarch"
></el-input>
></el-input>
<el-button
size=
"small"
type=
"primary"
@
click=
"handleSarch"
<el-button
size=
"small"
type=
"primary"
@
click=
"handleSarch"
>
搜索
>
搜
索
</el-button>
</el-button>
<el-button
size=
"small"
@
click=
"resetSearch"
>
重置
</el-button>
<el-button
size=
"small"
@
click=
"resetSearch"
>
重
置
</el-button>
</div>
</div>
</TableHeader>
</TableHeader>
<el-table
<el-table
...
@@ -67,20 +67,14 @@
...
@@ -67,20 +67,14 @@
>
>
</el-table-column>
</el-table-column>
</el-table>
</el-table>
<div
class=
"pagination"
v-if=
"total"
>
<Pagination
<el-pagination
:total=
"total"
background
:current=
"current"
layout=
"total,sizes,prev,pager,next,jumper"
:size=
"size"
:pager-count=
"5"
@
currentChange=
"changePagination"
:total=
"total"
@
sizeChange=
"changeSize"
:current-page=
"current"
></Pagination>
:page-size=
"size"
:page-sizes=
"pageSizes"
@
current-change=
"changePagination"
@
size-change=
"changeSize"
>
</el-pagination>
</div>
<span
slot=
"footer"
class=
"dialog-footer"
>
<span
slot=
"footer"
class=
"dialog-footer"
>
<el-button
size=
"small"
@
click=
"Visible = false"
>
取 消
</el-button>
<el-button
size=
"small"
@
click=
"Visible = false"
>
取 消
</el-button>
<el-button
<el-button
...
@@ -97,6 +91,7 @@
...
@@ -97,6 +91,7 @@
<
script
>
<
script
>
import
TableHeader
from
"
@/components/TableHeader.vue
"
;
import
TableHeader
from
"
@/components/TableHeader.vue
"
;
import
Pagination
from
"
@/components/Pagination.vue
"
;
import
{
getPubdatumList
}
from
"
@/api/libray
"
;
import
{
getPubdatumList
}
from
"
@/api/libray
"
;
import
{
addPubdatum
}
from
"
@/api/materials
"
;
import
{
addPubdatum
}
from
"
@/api/materials
"
;
import
local
from
"
@/utils/local
"
;
import
local
from
"
@/utils/local
"
;
...
@@ -105,6 +100,7 @@ import { mapGetters } from "vuex";
...
@@ -105,6 +100,7 @@ import { mapGetters } from "vuex";
export
default
{
export
default
{
components
:
{
components
:
{
TableHeader
,
TableHeader
,
Pagination
,
},
},
props
:
{
props
:
{
libVisible
:
{
libVisible
:
{
...
@@ -126,7 +122,6 @@ export default {
...
@@ -126,7 +122,6 @@ export default {
department
:
""
,
department
:
""
,
searchVal
:
""
,
searchVal
:
""
,
tableData
:
[],
tableData
:
[],
pageSizes
:
[
10
,
20
,
30
,
40
,
50
,
100
,
200
],
current
:
1
,
current
:
1
,
total
:
10
,
total
:
10
,
size
:
10
,
size
:
10
,
...
@@ -181,11 +176,13 @@ export default {
...
@@ -181,11 +176,13 @@ export default {
},
},
handleSarch
()
{
handleSarch
()
{
this
.
current
=
1
;
this
.
current
=
1
;
this
.
$refs
.
multipleTable
.
clearSelection
();
this
.
getPbuList
();
this
.
getPbuList
();
},
},
resetSearch
()
{
resetSearch
()
{
this
.
current
=
1
;
this
.
current
=
1
;
this
.
searchVal
=
""
;
this
.
searchVal
=
""
;
this
.
$refs
.
multipleTable
.
clearSelection
();
this
.
getPbuList
();
this
.
getPbuList
();
},
},
changePagination
(
cur
)
{
changePagination
(
cur
)
{
...
...
sample-form-manager-ui/admin/src/pages/software/materials/modal/PreviewMaterials.vue
View file @
c277a591
...
@@ -112,20 +112,20 @@ export default {
...
@@ -112,20 +112,20 @@ export default {
height: 100%;
height: 100%;
background-color: #e8e8e8;
background-color: #e8e8e8;
overflow-y: auto;
overflow-y: auto;
&::-webkit-scrollbar {
//
&::-webkit-scrollbar {
width: 10px;
//
width: 10px;
overflow-y: auto;
//
overflow-y: auto;
}
//
}
&::-webkit-scrollbar-thumb {
//
&::-webkit-scrollbar-thumb {
border-radius: 6px;
//
border-radius: 6px;
background-color: rgba(144, 147, 153, 0.5);
//
background-color: rgba(144, 147, 153, 0.5);
}
//
}
&::-webkit-scrollbar-track {
//
&::-webkit-scrollbar-track {
border-radius: 6px;
//
border-radius: 6px;
background: #fff;
//
background: #fff;
}
//
}
.left-header {
.left-header {
height: 80px;
height: 80px;
...
...
sample-form-manager-ui/admin/src/pages/software/matter/MatterManage.vue
View file @
c277a591
...
@@ -46,9 +46,9 @@
...
@@ -46,9 +46,9 @@
placeholder
=
"
请输入事项全称搜索
"
placeholder
=
"
请输入事项全称搜索
"
><
/el-input
>
><
/el-input
>
<
el
-
button
size
=
"
small
"
type
=
"
primary
"
@
click
=
"
searchLeft
"
<
el
-
button
size
=
"
small
"
type
=
"
primary
"
@
click
=
"
searchLeft
"
>
搜索
<
/el-butto
n
>
搜
索
<
/el-butto
n
>
>
<
el
-
button
size
=
"
small
"
@
click
=
"
leftReset
"
>
重置
<
/el-button
>
<
el
-
button
size
=
"
small
"
@
click
=
"
leftReset
"
>
重
置
<
/el-button
>
<
/div
>
<
/div
>
<
/TableHeader
>
<
/TableHeader
>
<!--
表格
-->
<!--
表格
-->
...
@@ -140,20 +140,13 @@
...
@@ -140,20 +140,13 @@
<
/el-table-column
>
<
/el-table-column
>
<
/el-table
>
<
/el-table
>
<
/div
>
<
/div
>
<
div
class
=
"
pagination
"
v
-
if
=
"
leftTotal
"
>
<
Pagination
<
el
-
pagination
:
current
=
"
leftCurrent
"
background
:
size
=
"
leftSize
"
layout
=
"
total,sizes,prev,pager,next,jumper
"
:
total
=
"
leftTotal
"
:
pager
-
count
=
"
5
"
@
currentChange
=
"
leftChangePagination
"
:
total
=
"
leftTotal
"
@
sizeChange
=
"
leftChangeSize
"
:
current
-
page
=
"
leftCurrent
"
><
/Pagination
>
:
page
-
size
=
"
leftSize
"
:
page
-
sizes
=
"
pageSizes
"
@
current
-
change
=
"
leftChangePagination
"
@
size
-
change
=
"
leftChangeSize
"
>
<
/el-pagination
>
<
/div
>
<
/el-card
>
<
/el-card
>
<
/div
>
<
/div
>
<!--
右
-->
<!--
右
-->
...
@@ -165,7 +158,7 @@
...
@@ -165,7 +158,7 @@
<!--
内容
-->
<!--
内容
-->
<
TableHeader
>
<
TableHeader
>
<
div
slot
=
"
left
"
>
<
div
slot
=
"
left
"
>
<
el
-
button
size
=
"
small
"
type
=
"
success
"
@
click
=
"
handleAllJoin
"
<
el
-
button
size
=
"
small
"
type
=
"
primary
"
@
click
=
"
handleAllJoin
"
>
批量加入
<
/el-butto
n
>
批量加入
<
/el-butto
n
>
>
<
/div
>
<
/div
>
...
@@ -200,9 +193,9 @@
...
@@ -200,9 +193,9 @@
@
keyup
.
native
.
enter
=
"
handleSearchRight
"
@
keyup
.
native
.
enter
=
"
handleSearchRight
"
><
/el-input
>
><
/el-input
>
<
el
-
button
size
=
"
small
"
type
=
"
primary
"
@
click
=
"
handleSearchRight
"
<
el
-
button
size
=
"
small
"
type
=
"
primary
"
@
click
=
"
handleSearchRight
"
>
搜索
<
/el-butto
n
>
搜
索
<
/el-butto
n
>
>
<
el
-
button
size
=
"
small
"
@
click
=
"
rightReset
"
>
重置
<
/el-button
>
<
el
-
button
size
=
"
small
"
@
click
=
"
rightReset
"
>
重
置
<
/el-button
>
<
/div
>
<
/div
>
<
/TableHeader
>
<
/TableHeader
>
<!--
表格
-->
<!--
表格
-->
...
@@ -256,20 +249,13 @@
...
@@ -256,20 +249,13 @@
<
/el-table-column
>
<
/el-table-column
>
<
/el-table
>
<
/el-table
>
<
/div
>
<
/div
>
<
div
class
=
"
pagination
"
v
-
if
=
"
rightTotal
"
>
<
Pagination
<
el
-
pagination
:
current
=
"
rightCurrent
"
background
:
size
=
"
rightSize
"
layout
=
"
total,sizes,prev,pager,next,jumper
"
:
total
=
"
rightTotal
"
:
pager
-
count
=
"
5
"
@
currentChange
=
"
rightChangePagination
"
:
total
=
"
rightTotal
"
@
sizeChange
=
"
rightChangeSize
"
:
current
-
page
=
"
rightCurrent
"
><
/Pagination
>
:
page
-
size
=
"
rightSize
"
:
page
-
sizes
=
"
pageSizes
"
@
current
-
change
=
"
rightChangePagination
"
@
size
-
change
=
"
rightChangeSize
"
>
<
/el-pagination
>
<
/div
>
<
/el-card
>
<
/el-card
>
<
/div
>
<
/div
>
<!--
新增事项
-->
<!--
新增事项
-->
...
@@ -286,6 +272,7 @@
...
@@ -286,6 +272,7 @@
<
script
>
<
script
>
import
TableHeader
from
"
@/components/TableHeader.vue
"
;
import
TableHeader
from
"
@/components/TableHeader.vue
"
;
import
AddMatter
from
"
./modal/AddMatter.vue
"
;
import
AddMatter
from
"
./modal/AddMatter.vue
"
;
import
Pagination
from
"
@/components/Pagination.vue
"
;
import
{
mapGetters
}
from
"
vuex
"
;
import
{
mapGetters
}
from
"
vuex
"
;
import
{
import
{
// getMatterList,
// getMatterList,
...
@@ -300,6 +287,7 @@ export default {
...
@@ -300,6 +287,7 @@ export default {
components
:
{
components
:
{
TableHeader
,
TableHeader
,
AddMatter
,
AddMatter
,
Pagination
,
}
,
}
,
data
()
{
data
()
{
return
{
return
{
...
@@ -311,7 +299,6 @@ export default {
...
@@ -311,7 +299,6 @@ export default {
loadingLeft
:
false
,
loadingLeft
:
false
,
leftSearch
:
""
,
leftSearch
:
""
,
rightSearch
:
""
,
rightSearch
:
""
,
pageSizes
:
[
10
,
20
,
30
,
40
,
50
,
100
,
200
],
LeftTableData
:
[],
LeftTableData
:
[],
leftSelectedRowKeys
:
[],
leftSelectedRowKeys
:
[],
leftCurrent
:
1
,
leftCurrent
:
1
,
...
@@ -354,24 +341,6 @@ export default {
...
@@ -354,24 +341,6 @@ export default {
this
.
$refs
.
rightTable
.
bodyWrapper
.
scrollTop
=
0
;
this
.
$refs
.
rightTable
.
bodyWrapper
.
scrollTop
=
0
;
}
}
}
,
}
,
// 获取一体化事项列表
// async getMatterList()
{
// this.loadingRight = true;
// let res = await getMatterList(
{
// page: this.rightCurrent,
// size: this.rightSize,
// matterName: this.rightSearch,
// deptCode: this.departmentRight,
// siteId: this.siteId,
//
}
);
// this.loadingRight = false;
// if (res.data.code === 1)
{
// let
{
total
,
data
}
=
res
.
data
.
data
;
// this.rightTableData = data;
// this.rightTotal = total;
// this.$refs.rightTable.bodyWrapper.scrollTop = 0;
//
}
//
}
,
// 获取样表系统事项列表
// 获取样表系统事项列表
async
getWriteMatterList
()
{
async
getWriteMatterList
()
{
...
@@ -433,6 +402,7 @@ export default {
...
@@ -433,6 +402,7 @@ export default {
// 左边搜索
// 左边搜索
searchLeft
()
{
searchLeft
()
{
this
.
leftCurrent
=
1
;
this
.
leftCurrent
=
1
;
this
.
$refs
.
leftTable
.
clearSelection
();
this
.
getWriteMatterList
();
this
.
getWriteMatterList
();
}
,
}
,
// 左边重置
// 左边重置
...
@@ -440,6 +410,7 @@ export default {
...
@@ -440,6 +410,7 @@ export default {
this
.
departmentLeft
=
""
;
this
.
departmentLeft
=
""
;
this
.
leftSearch
=
""
;
this
.
leftSearch
=
""
;
this
.
leftCurrent
=
1
;
this
.
leftCurrent
=
1
;
this
.
$refs
.
leftTable
.
clearSelection
();
this
.
getWriteMatterList
();
this
.
getWriteMatterList
();
}
,
}
,
// 左边勾选
// 左边勾选
...
@@ -486,6 +457,7 @@ export default {
...
@@ -486,6 +457,7 @@ export default {
// 右边搜索
// 右边搜索
handleSearchRight
()
{
handleSearchRight
()
{
this
.
rightCurrent
=
1
;
this
.
rightCurrent
=
1
;
this
.
$refs
.
rightTable
.
clearSelection
();
this
.
getMatterSubList
();
this
.
getMatterSubList
();
}
,
}
,
// 右边重置
// 右边重置
...
@@ -493,6 +465,7 @@ export default {
...
@@ -493,6 +465,7 @@ export default {
this
.
rightSearch
=
""
;
this
.
rightSearch
=
""
;
this
.
departmentRight
=
""
;
this
.
departmentRight
=
""
;
this
.
rightCurrent
=
1
;
this
.
rightCurrent
=
1
;
this
.
$refs
.
rightTable
.
clearSelection
();
this
.
getMatterSubList
();
this
.
getMatterSubList
();
}
,
}
,
// 右边勾选
// 右边勾选
...
...
sample-form-manager-ui/admin/src/pages/system/parameter/Parameter.vue
View file @
c277a591
...
@@ -19,16 +19,15 @@
...
@@ -19,16 +19,15 @@
@
keyup.native.enter=
"handleSearch"
@
keyup.native.enter=
"handleSearch"
></el-input>
></el-input>
<el-button
size=
"small"
type=
"primary"
@
click=
"handleSearch"
<el-button
size=
"small"
type=
"primary"
@
click=
"handleSearch"
>
搜索
</el-button
>
搜
索
</el-button
>
>
<el-button
size=
"small"
@
click=
"handleReset"
>
重置
</el-button>
<el-button
size=
"small"
@
click=
"handleReset"
>
重
置
</el-button>
</div>
</div>
</TableHeader>
</TableHeader>
<!-- 表格 -->
<!-- 表格 -->
<div
class=
"table-content"
>
<div
class=
"table-content"
>
<el-table
<el-table
ref=
"multipleTable"
ref=
"multipleTable"
size=
"small"
v-loading=
"loading"
v-loading=
"loading"
:data=
"tableData"
:data=
"tableData"
border
border
...
@@ -90,20 +89,13 @@
...
@@ -90,20 +89,13 @@
</el-table-column>
</el-table-column>
</el-table>
</el-table>
</div>
</div>
<div
class=
"pagination"
v-if=
"total"
>
<Pagination
<el-pagination
:total=
"total"
background
:current=
"current"
layout=
"total,sizes,prev,pager,next,jumper"
:size=
"size"
:pager-count=
"5"
@
currentChange=
"changePagination"
:total=
"total"
@
sizeChange=
"changeSize"
:current-page=
"current"
></Pagination>
:page-size=
"size"
:page-sizes=
"pageSizes"
@
current-change=
"changePagination"
@
size-change=
"changeSize"
>
</el-pagination>
</div>
<!-- 新增参数 -->
<!-- 新增参数 -->
<AddParameter
<AddParameter
ref=
"AddParameter"
ref=
"AddParameter"
...
@@ -117,12 +109,14 @@
...
@@ -117,12 +109,14 @@
<
script
>
<
script
>
import
TableHeader
from
"
@/components/TableHeader.vue
"
;
import
TableHeader
from
"
@/components/TableHeader.vue
"
;
import
Pagination
from
"
@/components/Pagination.vue
"
;
import
AddParameter
from
"
./modal/AddParameter.vue
"
;
import
AddParameter
from
"
./modal/AddParameter.vue
"
;
import
{
getParamList
,
delParam
}
from
"
@/api/system
"
;
import
{
getParamList
,
delParam
}
from
"
@/api/system
"
;
export
default
{
export
default
{
components
:
{
components
:
{
TableHeader
,
TableHeader
,
AddParameter
,
AddParameter
,
Pagination
,
},
},
data
()
{
data
()
{
return
{
return
{
...
@@ -131,7 +125,6 @@ export default {
...
@@ -131,7 +125,6 @@ export default {
current
:
1
,
current
:
1
,
size
:
10
,
size
:
10
,
total
:
10
,
total
:
10
,
pageSizes
:
[
10
,
20
,
30
,
40
,
50
,
100
,
200
],
loading
:
false
,
loading
:
false
,
selectKeys
:
[],
selectKeys
:
[],
addVisible
:
false
,
addVisible
:
false
,
...
...
sample-form-manager-ui/admin/src/pages/system/systemlogs/SystemLogs.vue
View file @
c277a591
...
@@ -11,9 +11,9 @@
...
@@ -11,9 +11,9 @@
@
keyup.native.enter=
"handleSearch"
@
keyup.native.enter=
"handleSearch"
></el-input>
></el-input>
<el-button
size=
"small"
type=
"primary"
@
click=
"handleSearch"
<el-button
size=
"small"
type=
"primary"
@
click=
"handleSearch"
>
搜索
</el-button
>
搜
索
</el-button
>
>
<el-button
size=
"small"
@
click=
"handleReset"
>
重置
</el-button>
<el-button
size=
"small"
@
click=
"handleReset"
>
重
置
</el-button>
</div>
</div>
</TableHeader>
</TableHeader>
<!-- 表格 -->
<!-- 表格 -->
...
@@ -58,29 +58,24 @@
...
@@ -58,29 +58,24 @@
</el-table-column>
</el-table-column>
</el-table>
</el-table>
</div>
</div>
<div
class=
"pagination"
v-if=
"total"
>
<Pagination
<el-pagination
:total=
"total"
background
:current=
"current"
layout=
"total,sizes,prev,pager,next,jumper"
:size=
"size"
:pager-count=
"5"
@
currentChange=
"changePagination"
:total=
"total"
@
sizeChange=
"changeSize"
:current-page=
"current"
></Pagination>
:page-size=
"size"
:page-sizes=
"pageSizes"
@
current-change=
"changePagination"
@
size-change=
"changeSize"
>
</el-pagination>
</div>
</div>
</div>
</template>
</template>
<
script
>
<
script
>
import
TableHeader
from
"
@/components/TableHeader.vue
"
;
import
TableHeader
from
"
@/components/TableHeader.vue
"
;
import
Pagination
from
"
@/components/Pagination.vue
"
;
import
{
getlogsList
}
from
"
@/api/system
"
;
import
{
getlogsList
}
from
"
@/api/system
"
;
export
default
{
export
default
{
components
:
{
components
:
{
TableHeader
,
TableHeader
,
Pagination
,
},
},
data
()
{
data
()
{
return
{
return
{
...
@@ -89,7 +84,6 @@ export default {
...
@@ -89,7 +84,6 @@ export default {
current
:
1
,
current
:
1
,
size
:
10
,
size
:
10
,
total
:
10
,
total
:
10
,
pageSizes
:
[
10
,
20
,
30
,
40
,
50
,
100
,
200
],
loading
:
false
,
loading
:
false
,
selectKeys
:
[],
selectKeys
:
[],
dict
:
{},
// 字典
dict
:
{},
// 字典
...
...
sample-form-manager-ui/admin/src/pages/system/task/TaskSet.vue
View file @
c277a591
...
@@ -19,16 +19,15 @@
...
@@ -19,16 +19,15 @@
@
keyup.native.enter=
"handleSearch"
@
keyup.native.enter=
"handleSearch"
></el-input>
></el-input>
<el-button
size=
"small"
type=
"primary"
@
click=
"handleSearch"
<el-button
size=
"small"
type=
"primary"
@
click=
"handleSearch"
>
搜索
</el-button
>
搜
索
</el-button
>
>
<el-button
size=
"small"
@
click=
"handleReset"
>
重置
</el-button>
<el-button
size=
"small"
@
click=
"handleReset"
>
重
置
</el-button>
</div>
</div>
</TableHeader>
</TableHeader>
<!-- 表格 -->
<!-- 表格 -->
<div
class=
"table-content"
>
<div
class=
"table-content"
>
<el-table
<el-table
ref=
"multipleTable"
ref=
"multipleTable"
size=
"small"
v-loading=
"loading"
v-loading=
"loading"
:data=
"tableData"
:data=
"tableData"
border
border
...
@@ -100,20 +99,13 @@
...
@@ -100,20 +99,13 @@
</el-table-column>
</el-table-column>
</el-table>
</el-table>
</div>
</div>
<div
class=
"pagination"
v-if=
"total"
>
<Pagination
<el-pagination
:total=
"total"
background
:current=
"current"
layout=
"total,sizes,prev,pager,next,jumper"
:size=
"size"
:pager-count=
"5"
@
currentChange=
"changePagination"
:total=
"total"
@
sizeChange=
"changeSize"
:current-page=
"current"
></Pagination>
:page-size=
"size"
:page-sizes=
"pageSizes"
@
current-change=
"changePagination"
@
size-change=
"changeSize"
>
</el-pagination>
</div>
<!-- 新增参数 -->
<!-- 新增参数 -->
<AddTask
<AddTask
ref=
"AddTask"
ref=
"AddTask"
...
@@ -127,12 +119,14 @@
...
@@ -127,12 +119,14 @@
<
script
>
<
script
>
import
TableHeader
from
"
@/components/TableHeader.vue
"
;
import
TableHeader
from
"
@/components/TableHeader.vue
"
;
import
Pagination
from
"
@/components/Pagination.vue
"
;
import
AddTask
from
"
./modal/AddTask.vue
"
;
import
AddTask
from
"
./modal/AddTask.vue
"
;
import
{
getTaskList
,
delTask
}
from
"
@/api/system
"
;
import
{
getTaskList
,
delTask
}
from
"
@/api/system
"
;
export
default
{
export
default
{
components
:
{
components
:
{
TableHeader
,
TableHeader
,
AddTask
,
AddTask
,
Pagination
,
},
},
data
()
{
data
()
{
return
{
return
{
...
@@ -141,7 +135,6 @@ export default {
...
@@ -141,7 +135,6 @@ export default {
current
:
1
,
current
:
1
,
size
:
10
,
size
:
10
,
total
:
10
,
total
:
10
,
pageSizes
:
[
10
,
20
,
30
,
40
,
50
,
100
,
200
],
loading
:
false
,
loading
:
false
,
selectKeys
:
[],
selectKeys
:
[],
addVisible
:
false
,
addVisible
:
false
,
...
@@ -172,7 +165,6 @@ export default {
...
@@ -172,7 +165,6 @@ export default {
this
.
tableData
=
data
;
this
.
tableData
=
data
;
this
.
total
=
total
;
this
.
total
=
total
;
this
.
$refs
.
multipleTable
.
bodyWrapper
.
scrollTop
=
0
;
this
.
$refs
.
multipleTable
.
bodyWrapper
.
scrollTop
=
0
;
console
.
log
(
dict
);
}
}
this
.
loading
=
false
;
this
.
loading
=
false
;
},
},
...
...
sample-form-manager-ui/admin/vue.config.js
View file @
c277a591
const
{
defineConfig
}
=
require
(
"
@vue/cli-service
"
);
const
{
defineConfig
}
=
require
(
"
@vue/cli-service
"
);
const
FileManagerPlugin
=
require
(
"
filemanager-webpack-plugin
"
);
// 压缩文件夹
const
isDev
=
process
.
env
.
NODE_ENV
===
"
development
"
;
let
plugins
=
[];
// 避免打本地启项目时自动打zip包
if
(
!
isDev
)
{
plugins
.
push
(
new
FileManagerPlugin
({
events
:
{
onEnd
:
{
// mkdir: ["./dist"],
delete
:
[
"
./zip/
"
],
copy
:
[{
source
:
"
./dist
"
,
destination
:
"
./zip/dist
"
}],
archive
:
[{
source
:
"
./zip
"
,
destination
:
"
./zip/样表管理系统.zip
"
}],
},
},
})
);
}
module
.
exports
=
defineConfig
({
module
.
exports
=
defineConfig
({
transpileDependencies
:
true
,
transpileDependencies
:
true
,
productionSourceMap
:
false
,
productionSourceMap
:
false
,
// webpack 插件
// webpack 插件
configureWebpack
:
{
configureWebpack
:
{},
plugins
:
[...
plugins
],
},
transpileDependencies
:
true
,
transpileDependencies
:
true
,
// 打包输出目录
// 打包输出目录
outputDir
:
"
dist
"
,
outputDir
:
"
dist
"
,
...
...
sample-form-manager-ui/admin/yarn.lock
View file @
c277a591
This diff is collapsed.
Click to expand it.
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