Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
S
sgaqgl-vue
Project
Project
Details
Activity
Releases
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
李苏
sgaqgl-vue
Commits
8195726b
Commit
8195726b
authored
Nov 30, 2022
by
李苏
💬
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
添加
parent
e5cb6b96
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
55 additions
and
70 deletions
+55
-70
index.vue
src/views/basicData/scgw/index.vue
+16
-2
edit.vue
src/views/riskPrecontrol/riskSet/edit.vue
+6
-51
index.vue
src/views/train/testPaper/index.vue
+33
-17
No files found.
src/views/basicData/scgw/index.vue
View file @
8195726b
...
...
@@ -5,12 +5,24 @@
<Gwrygl
:app=
'this'
v-if=
'showDialog'
></Gwrygl>
<SearchButton
:app=
'app'
></SearchButton>
<el-row
:gutter=
"20"
class=
"search-row-1"
>
<el-col
:span=
"
12
"
class=
"search-col"
>
<el-col
:span=
"
6
"
class=
"search-col"
>
<div
class=
"search-item"
>
<span
class=
"search-span"
>
名称:
</span>
<el-input
v-model=
"queryParams.info"
></el-input>
</div>
</el-col>
<el-col
:span=
"6"
class=
"search-col"
>
<div
class=
"search-item"
>
<span
class=
"search-span"
>
公司:
</span>
<RelSelect
style=
"width: 100%;"
src=
'jcsj/common/bm/queryGs'
filterable
clearable
:match=
"
{value:'id',label:'bmmc'}" v-model='queryParams.gsid' >
</RelSelect>
</div>
</el-col>
<el-col
:span=
"6"
class=
"search-col"
>
<div
class=
"search-item"
>
<span
class=
"search-span"
>
班组:
</span>
<RelSelect
linkage
:linkParams=
"
{pid:queryParams.gsid}" style="width: 100%;" src='jcsj/common/bm/queryBz' filterable clearable :match="{value:'id',label:'bmmc'}" v-model='queryParams.bmid' >
</RelSelect>
</div>
</el-col>
</el-row>
</div>
<!-- 按钮操作-->
...
...
@@ -78,7 +90,9 @@
baseUrl
:
'/aqgl/jcsj/scgw'
,
/* 查询参数*/
queryParams
:
{
info
:
''
info
:
''
,
gsid
:
''
,
bmid
:
''
},
/* 表格标题对应参数*/
tableTitle
:
[
...
...
src/views/riskPrecontrol/riskSet/edit.vue
View file @
8195726b
...
...
@@ -28,6 +28,11 @@
<!--
<el-input
:readonly=
"readonly"
v-model=
"form.gwid"
></el-input>
-->
</el-form-item>
</el-col>
<el-col
:span=
"12"
>
<el-form-item
label=
"检查人"
ref=
"jcr"
prop=
"jcr"
>
<RelSelect
linkage
:linkParams=
"
{gwid:form.gwid}" filterable style="width: 100%;" clearable :readonly="readonly" src='kzzx/user/query' :match="{value:'id',label:'username'}" v-model='form.jcr' >
</RelSelect>
</el-form-item>
</el-col>
</el-row>
<el-row
:gutter=
"20"
>
<el-col
:span=
"12"
>
...
...
@@ -48,57 +53,6 @@
</el-form-item>
</el-col>
<!-- 重写-->
<!-- -->
<!--
<el-col
v-show=
"form.jldw&&form.jldw=='year'"
:span=
"4"
>
<el-form-item
label=
"每几年"
ref=
"year"
prop=
"year"
>
<el-input
v-model=
"form.year"
type=
"number"
></el-input>
</el-form-item>
</el-col>
<el-col
v-show=
"form.jldw&&(form.jldw=='month'||form.jldw=='year')"
:span=
"4"
>
<el-form-item
label=
"月份"
ref=
"month"
prop=
"month"
>
<el-select
style=
"width: 100%;"
v-model=
"form.month"
placeholder=
"请选择"
>
<el-option
v-for=
"item in 12"
:key=
"item"
:label=
"item"
:value=
"item"
>
</el-option>
</el-select>
</el-form-item>
</el-col>
<el-col
v-show=
"form.jldw&&form.jldw=='week'"
:span=
"12"
>
<el-form-item
label=
"周"
ref=
"week"
prop=
"week"
>
<el-input
v-model=
"form.week"
type=
"number"
></el-input>
</el-form-item>
</el-col>
<el-col
:span=
"4"
v-show=
"form.jldw&&(form.jldw=='month'||form.jldw=='year'||form.jldw=='week'||form.jldw=='day')"
>
<el-form-item
label=
"日"
ref=
"day"
prop=
"day"
>
<el-select
:readonly=
"readonly"
style=
"width: 100%;"
v-model=
"form.day"
placeholder=
"请选择"
>
<el-option
v-for=
"item in days"
:key=
"item"
:label=
"item"
:value=
"item"
>
</el-option>
</el-select>
</el-form-item>
</el-col>
<el-col
v-show=
"form.jldw&&(form.jldw=='month'||form.jldw=='year'||form.jldw=='week'||form.jldw=='hour'||form.jldw=='day')"
:span=
"4"
>
<el-form-item
label=
"时"
ref=
"hour"
prop=
"hour"
>
<el-input
v-model=
"form.hour"
type=
"number"
></el-input>
</el-form-item>
</el-col>
<el-col
v-show=
"form.jldw&&(form.jldw=='month'||form.jldw=='year'||form.jldw=='week'||form.jldw=='minute'||form.jldw=='day')"
:span=
"4"
>
<el-form-item
label=
"分"
ref=
"minute"
prop=
"minute"
>
<el-input
v-model=
"form.minute"
type=
"number"
></el-input>
</el-form-item>
</el-col>
<el-col
v-show=
"form.jldw&&(form.jldw=='month'||form.jldw=='year'||form.jldw=='week'||form.jldw=='second'||form.jldw=='day')"
:span=
"4"
>
<el-form-item
label=
"秒"
ref=
"second"
prop=
"second"
>
<el-input
v-model=
"form.second"
type=
"number"
></el-input>
</el-form-item>
</el-col>
-->
</el-row>
<el-row
:gutter=
"20"
style=
"height: 60px;padding-left: 100px;"
>
<el-col
:span=
"24"
style=
"display: flex;line-height: 30px;"
><span
v-show=
"form.jldw&&form.jldw!='once'"
>
每
</span>
...
...
@@ -213,6 +167,7 @@
/* 当前表单初始值,默认由RelDialog查询indexQuery赋值,copy时不赋值id,初始化时所有query的值都会赋值给form*/
form
:
{
jcr
:
''
,
table
:
'FXSZMX'
,
gwid
:
''
,
// sjjcsj:'',
...
...
src/views/train/testPaper/index.vue
View file @
8195726b
...
...
@@ -28,6 +28,7 @@
import
Subject
from
'./subject'
export
default
{
mounted
()
{
this
.
getRemain
()
/* 获取*/
}
,
...
...
@@ -220,38 +221,53 @@
<
/script
>
<
style
lang
=
"scss"
>
$f
:
flex
;
$mini
:
800
px
;
%
normarflex
{
display
:
$f
;
}
%
normal
{
padding
-
left
:
11
rem
;
padding
-
right
:
11
rem
;
}
%
mini
{
padding
-
left
:
2
rem
;
padding
-
right
:
2
rem
;
}
@
mixin
normaltext
(
$lintheight
,
$textalign
,
$fontweight
:
500
,
$fontsize
:
12
px
){
line
-
height
:
$lintheight
;
text
-
align
:
$textalign
;
font
-
weight
:
$fontweight
;
font
-
size
:
$fontsize
}
.
testpaper
{
.
info
{
display
:
flex
;
line
-
height
:
80
px
;
font
-
size
:
13
px
;
font
-
weight
:
700
;
text
-
align
:
center
;
@
extend
%
normarflex
;
@
include
normaltext
(
80
px
,
center
,
700
,
13
px
);
.
infoItem
{
width
:
25
%
;
width
:
25
%
}
}
.
title
{
line
-
height
:
30
px
;
text
-
align
:
center
;
width
:
100
%
;
font
-
size
:
18
px
;
font
-
weight
:
800
;
@
include
normaltext
(
30
px
,
center
,
800
,
18
px
);
width
:
100
%
}
@
media
screen
and
(
min
-
width
:
800
px
)
{
@
media
screen
and
(
min
-
width
:
$mini
)
{
&
{
--
mode
:
'normal'
;
padding
-
left
:
11
rem
;
padding
-
right
:
11
rem
;
@
extent
%
normal
;
--
mode
:
'normal'
;
padding
-
left
:
11
rem
;
padding
-
right
:
11
rem
;
}
}
@
media
screen
and
(
max
-
width
:
800
px
)
{
@
media
screen
and
(
max
-
width
:
$mini
)
{
&
{
@
extent
%
mini
;
--
mode
:
'mini'
;
padding
-
left
:
2
rem
;
padding
-
right
:
2
rem
;
.
info
{
display
:
none
;
}
...
...
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