Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
A
attendance-performance-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
赵啸非
attendance-performance-platform
Commits
8ddf8bc7
Commit
8ddf8bc7
authored
Jul 06, 2023
by
王启林
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
推送
parent
b19f6f2a
Changes
5
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
9420 additions
and
8936 deletions
+9420
-8936
attendance-performance-manager-ui/admin/package-lock.json
attendance-performance-manager-ui/admin/package-lock.json
+293
-7
attendance-performance-manager-ui/admin/package.json
attendance-performance-manager-ui/admin/package.json
+1
-0
attendance-performance-manager-ui/admin/src/main.js
attendance-performance-manager-ui/admin/src/main.js
+20
-15
attendance-performance-manager-ui/admin/src/views/feedback/addQuestion/list.vue
...-manager-ui/admin/src/views/feedback/addQuestion/list.vue
+69
-2
attendance-performance-manager-ui/admin/yarn.lock
attendance-performance-manager-ui/admin/yarn.lock
+9037
-8912
No files found.
attendance-performance-manager-ui/admin/package-lock.json
View file @
8ddf8bc7
This diff is collapsed.
Click to expand it.
attendance-performance-manager-ui/admin/package.json
View file @
8ddf8bc7
...
@@ -13,6 +13,7 @@
...
@@ -13,6 +13,7 @@
"dependencies"
:
{
"dependencies"
:
{
"@ampproject/remapping"
:
"^2.2.0"
,
"@ampproject/remapping"
:
"^2.2.0"
,
"@chenfengyuan/vue-qrcode"
:
"^1.0.2"
,
"@chenfengyuan/vue-qrcode"
:
"^1.0.2"
,
"@form-create/designer"
:
"^1.0.10"
,
"@jiaminghi/data-view"
:
"^2.10.0"
,
"@jiaminghi/data-view"
:
"^2.10.0"
,
"@riophae/vue-treeselect"
:
"0.4.0"
,
"@riophae/vue-treeselect"
:
"0.4.0"
,
"@vue/babel-preset-app"
:
"^4.5.13"
,
"@vue/babel-preset-app"
:
"^4.5.13"
,
...
...
attendance-performance-manager-ui/admin/src/main.js
View file @
8ddf8bc7
...
@@ -12,6 +12,9 @@ import Global from "./assets/utils/global.js";
...
@@ -12,6 +12,9 @@ import Global from "./assets/utils/global.js";
import
VueClipboard
from
"
vue-clipboard2
"
;
import
VueClipboard
from
"
vue-clipboard2
"
;
import
VueAMap
from
"
vue-amap
"
;
import
VueAMap
from
"
vue-amap
"
;
import
*
as
echarts
from
"
echarts
"
;
import
*
as
echarts
from
"
echarts
"
;
import
formCreate
from
"
@form-create/element-ui
"
;
import
FcDesigner
from
"
@form-create/designer
"
;
// 将自动注册所有组件为全局组件
// 将自动注册所有组件为全局组件
import
dataV
from
"
@jiaminghi/data-view
"
;
import
dataV
from
"
@jiaminghi/data-view
"
;
...
@@ -25,23 +28,25 @@ Vue.use(Filter);
...
@@ -25,23 +28,25 @@ Vue.use(Filter);
Vue
.
use
(
GlobalComponents
);
// 全局组件
Vue
.
use
(
GlobalComponents
);
// 全局组件
Vue
.
use
(
VueClipboard
);
Vue
.
use
(
VueClipboard
);
Vue
.
use
(
VueAMap
);
Vue
.
use
(
VueAMap
);
Vue
.
use
(
formCreate
);
Vue
.
use
(
FcDesigner
);
VueAMap
.
initAMapApiLoader
({
VueAMap
.
initAMapApiLoader
({
key
:
"
f45cca59553214543a5a77e50a7e04df
"
,
key
:
"
f45cca59553214543a5a77e50a7e04df
"
,
plugin
:
[
plugin
:
[
"
AMap.Scale
"
,
"
AMap.Scale
"
,
"
AMap.OverView
"
,
"
AMap.OverView
"
,
"
AMap.ToolBar
"
,
"
AMap.ToolBar
"
,
"
AMap.MapType
"
,
"
AMap.MapType
"
,
"
AMap.PlaceSearch
"
,
"
AMap.PlaceSearch
"
,
"
AMap.Geolocation
"
,
"
AMap.Geolocation
"
,
"
AMap.Geocoder
"
,
"
AMap.Geocoder
"
,
],
],
v
:
"
1.4.4
"
,
v
:
"
1.4.4
"
,
uiVersion
:
"
1.0
"
,
uiVersion
:
"
1.0
"
,
});
});
Vue
.
prototype
.
Global
=
Global
;
Vue
.
prototype
.
Global
=
Global
;
new
Vue
({
new
Vue
({
router
,
router
,
store
,
store
,
render
:
(
h
)
=>
h
(
App
),
render
:
(
h
)
=>
h
(
App
),
}).
$mount
(
"
#app
"
);
}).
$mount
(
"
#app
"
);
attendance-performance-manager-ui/admin/src/views/feedback/addQuestion/list.vue
View file @
8ddf8bc7
<
template
>
<
template
>
<div
class=
"page"
>
<div
class=
"page"
>
<div
class=
"top"
>
<div
class=
"top"
>
<el-button
class=
"backBtn"
@
click=
"$router.back()"
>
返回上一级
</el-button>
<el-tabs
v-model=
"tabs"
>
<el-tabs
v-model=
"tabs"
>
<el-tab-pane
label=
"设计问卷"
name=
"1"
>
<el-tab-pane
label=
"设计问卷"
name=
"1"
>
<iframe
style=
"width: 100%;height: 80vh;"
src=
"https://wurong19870715.gitee.io/formdesigner/#/"
frameborder=
"0"
></iframe>
<fc-designer
style=
"height: 75vh;"
ref=
"designer"
/>
<div
class=
"tool"
>
<!--功能按钮-->
<el-row>
<el-button
icon=
"el-icon-download"
type=
"primary"
size=
"small"
@
click=
"getFormJson()"
round
>
生成表单JSON
</el-button>
<el-button
icon=
"el-icon-download"
type=
"success"
size=
"small"
@
click=
"getFormOption()"
round
>
生成表单配置
</el-button>
<el-button
icon=
"el-icon-upload"
type=
"success"
size=
"small"
@
click=
"getFormOption()"
round
>
预览
</el-button>
</el-row>
</div>
</el-tab-pane>
</el-tab-pane>
</el-tabs>
</el-tabs>
</div>
</div>
...
@@ -16,10 +28,65 @@ export default {
...
@@ -16,10 +28,65 @@ export default {
return
{
return
{
tabs
:
'
1
'
tabs
:
'
1
'
}
}
},
methods
:
{
getFormJson
()
{
//FcDesigner 生成的`JSON`
const
FcDesignerRule
=
this
.
$refs
.
designer
.
getRule
();
console
.
log
(
FcDesignerRule
)
},
getFormOption
()
{
//FcDesigner 生成的`options`
const
FcDesignerOptions
=
this
.
$refs
.
designer
.
getOption
();
console
.
log
(
FcDesignerOptions
)
}
}
}
}
}
</
script
>
</
script
>
<
style
lang=
"less"
scoped
>
<
style
lang=
"less"
scoped
>
.top {}
.backBtn{
position: absolute;
right: 20px;
z-index: 99;
}
.tool {
margin-top: 20px;
text-align: center;
}
/* 侧边滚动条 */
/deep/.el-aside::-webkit-scrollbar {
width: 3px;
}
/* 滚动条上的滚动滑块 */
/deep/.el-aside::-webkit-scrollbar-thumb {
background: #CCCCCC;
border-radius: 4px;
}
/* 滚动条轨道 */
/deep/.el-aside::-webkit-scrollbar-track {
background: #EEEEEE;
border-radius: 4px;
}
/* 侧边滚动条 */
/deep/.el-main::-webkit-scrollbar {
width: 3px;
}
/* 滚动条上的滚动滑块 */
/deep/.el-main::-webkit-scrollbar-thumb {
background: #CCCCCC;
border-radius: 4px;
}
/* 滚动条轨道 */
/deep/.el-main::-webkit-scrollbar-track {
background: #EEEEEE;
border-radius: 4px;
}
</
style
>
</
style
>
\ No newline at end of file
attendance-performance-manager-ui/admin/yarn.lock
View file @
8ddf8bc7
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