Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
S
SuperMan
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
1
Issues
1
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
罗超
SuperMan
Commits
490591e8
Commit
490591e8
authored
Jun 24, 2019
by
华国豪
🙄
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
新增用户满意调查问券问题页面
parent
969355f7
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
575 additions
and
1 deletion
+575
-1
App.vue
src/App.vue
+1
-1
Details.vue
src/components/Details.vue
+6
-0
VoucherInquiry.vue
src/components/administrative/VoucherInquiry.vue
+402
-0
VoucherInquiryAdd.vue
src/components/administrative/VoucherInquiryAdd.vue
+117
-0
typeModel.vue
src/components/administrative/model/typeModel.vue
+33
-0
config.js
src/router/config.js
+16
-0
No files found.
src/App.vue
View file @
490591e8
...
@@ -113,7 +113,7 @@ export default {
...
@@ -113,7 +113,7 @@ export default {
}
}
</
script
>
</
script
>
<
style
>
<
style
>
@import
"//at.alicdn.com/t/font_635492_
ea4o8lkzm2b
.css"
;
@import
"//at.alicdn.com/t/font_635492_
ztxwijjubn
.css"
;
@import
"./assets/css/Semibold.css"
;
@import
"./assets/css/Semibold.css"
;
@import
"./assets/css/global/config.css"
;
@import
"./assets/css/global/config.css"
;
@import
"./assets/css/fileIcon.css"
;
@import
"./assets/css/fileIcon.css"
;
...
...
src/components/Details.vue
View file @
490591e8
...
@@ -545,6 +545,9 @@ export default {
...
@@ -545,6 +545,9 @@ export default {
case
"/addIntegralMall"
:
//新增商品
case
"/addIntegralMall"
:
//新增商品
path
=
"/IntegralMall"
;
path
=
"/IntegralMall"
;
break
;
break
;
case
"/VoucherInquiryAdd"
:
//新增调查
path
=
"/VoucherInquiry"
;
break
;
}
}
//找到Root
//找到Root
...
@@ -762,6 +765,9 @@ export default {
...
@@ -762,6 +765,9 @@ export default {
case
"/addIntegralMall"
:
//新增商品
case
"/addIntegralMall"
:
//新增商品
path
=
"/IntegralMall"
;
path
=
"/IntegralMall"
;
break
;
break
;
case
"/VoucherInquiryAdd"
:
//新增调查
path
=
"/VoucherInquiry"
;
break
;
}
}
//找到Root
//找到Root
...
...
src/components/administrative/VoucherInquiry.vue
0 → 100644
View file @
490591e8
This diff is collapsed.
Click to expand it.
src/components/administrative/VoucherInquiryAdd.vue
0 → 100644
View file @
490591e8
<
style
>
.VoucherInquiryAdd
{
padding
:
25px
0
;
box-sizing
:
border-box
;
height
:
100%
;
/* background-color: #ffffff; */
}
.VoucherInquiryAdd
>
.el-col.left
{
box-shadow
:
1px
2px
4px
-1px
#cccccc
;
transition
:
all
linear
.5s
;
padding-top
:
20px
;
padding-bottom
:
20px
;
}
.VoucherInquiryAdd
>
.el-col.left
:hover
{
box-shadow
:
1px
2px
4px
-1px
#888888
;
}
.VoucherInquiryAdd
>
.el-col
{
height
:
100%
;
}
.VoucherInquiryAdd
.resource-lititle
span
{
display
:
block
;
border-left
:
4px
solid
#e95252
;
padding-left
:
10px
;
margin-bottom
:
20px
;
}
.VoucherInquiryAdd
>
.el-col
.type-item
{
color
:
#707070
;
font-size
:
12px
;
padding
:
1px
;
border
:
solid
1px
#d8d8d8
;
border-radius
:
2px
;
margin
:
0
6px
6px
0
;
cursor
:
pointer
;
padding
:
1px
8px
;
display
:
flex
;
align-items
:
center
;
}
.VoucherInquiryAdd
>
.el-col
.type-item
:hover
{
padding
:
0px
8px
;
border
:
solid
2px
#2672ff
;
color
:
#2672ff
;
}
.VoucherInquiryAdd
>
.el-col
.type-item
i
.iconfont
{
display
:
inline-block
;
margin-right
:
5px
;
}
</
style
>
<
template
>
<el-row
class=
"VoucherInquiryAdd"
:gutter=
"35"
>
<el-col
:span=
"4"
class=
"left"
>
<el-row
class=
"resource-lititle"
>
<span>
题目类型:
</span>
</el-row>
<el-row
:gutter=
"5"
>
<el-col
:span=
"12"
v-for=
"(item, index) in typeList"
:key=
"index"
>
<div
class=
"type-item"
@
click=
"creatItem(item)"
>
<i
class=
"iconfont"
:class=
"[item.icon]"
></i>
<span>
{{
item
.
name
}}
</span>
</div>
</el-col>
</el-row>
</el-col>
<el-col
:span=
"20"
>
<template
v-for=
"(item, index) in list"
>
<Type-Model
:itemIndex=
"itemIndex"
:type=
"type"
:itemData=
"item"
/>
</
template
>
</el-col>
</el-row>
</template>
<
script
>
import
typeModel
from
'./model/typeModel'
export
default
{
components
:
{
'Type-Model'
:
typeModel
,
},
data
()
{
return
{
typeList
:
[
{
type
:
2
,
icon
:
'icon-radio-checked'
,
name
:
'单选'
},
{
type
:
4
,
icon
:
'icon-duoxuan'
,
name
:
'多选'
},
{
type
:
1
,
icon
:
'icon-ge_xingji'
,
name
:
'评分'
},
{
type
:
4
,
icon
:
'icon-shuru'
,
name
:
'输入'
}
],
list
:
[],
type
:
-
1
,
childItem
:
{}
};
},
mounted
()
{
},
methods
:
{
creatItem
:
function
(
item
)
{
this
.
type
=
item
.
type
this
.
list
.
pueh
({
})
}
}
};
</
script
>
src/components/administrative/model/typeModel.vue
0 → 100644
View file @
490591e8
<
style
>
</
style
>
<
template
>
<div
class=
"model"
>
<!-- "1", "Name":"打分" -->
<div
v-if=
"type === 1"
>
</div>
<!-- "2", "Name":"单选" -->
<div
v-if=
"type === 2"
>
</div>
<!-- "3", "Name":"多选" -->
<div
v-if=
"type === 3"
>
</div>
<!-- "4", "Name":"文本" -->
<div
v-if=
"type === 4"
>
</div>
</div>
</
template
>
<
script
>
export
default
{
props
:
[
'type'
,
'itemIndex'
,
'itemData'
],
data
(){
return
{
}
}
}
</
script
>
src/router/config.js
View file @
490591e8
...
@@ -390,6 +390,22 @@ export default {
...
@@ -390,6 +390,22 @@ export default {
title
:
'公告管理'
title
:
'公告管理'
},
},
},
},
{
path
:
'/VoucherInquiry'
,
//问券调查
name
:
'VoucherInquiry'
,
component
:
resolve
=>
require
([
'@/components/administrative/VoucherInquiry'
],
resolve
),
meta
:
{
title
:
'问券调查'
},
},
{
path
:
'/VoucherInquiryAdd'
,
//问券调查添加
name
:
'VoucherInquiryAdd'
,
component
:
resolve
=>
require
([
'@/components/administrative/VoucherInquiryAdd'
],
resolve
),
meta
:
{
title
:
'问券调查添加'
},
},
{
{
path
:
'/Attendance'
,
//考勤
path
:
'/Attendance'
,
//考勤
name
:
'Attendance'
,
name
:
'Attendance'
,
...
...
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