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
eda71305
Commit
eda71305
authored
Nov 11, 2022
by
李苏
💬
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
过五关
parent
69abc167
Changes
6
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
293 additions
and
91 deletions
+293
-91
request.js
src/utils/request.js
+1
-1
edit.vue
src/views/threeViolations/tFPasses/edit.vue
+278
-80
family.vue
src/views/threeViolations/tFPasses/family.vue
+9
-5
leadership.vue
src/views/threeViolations/tFPasses/leadership.vue
+1
-1
reflect.vue
src/views/threeViolations/tFPasses/reflect.vue
+2
-2
safetyCourse.vue
src/views/threeViolations/tFPasses/safetyCourse.vue
+2
-2
No files found.
src/utils/request.js
View file @
eda71305
...
@@ -17,7 +17,7 @@ const service = axios.create({
...
@@ -17,7 +17,7 @@ const service = axios.create({
// axios中请求配置有baseURL选项,表示请求URL公共部分
// axios中请求配置有baseURL选项,表示请求URL公共部分
baseURL
:
process
.
env
.
VUE_APP_BASE_API
,
baseURL
:
process
.
env
.
VUE_APP_BASE_API
,
// 超时
// 超时
timeout
:
1
0000
timeout
:
600
0000
})
})
// request拦截器
// request拦截器
...
...
src/views/threeViolations/tFPasses/edit.vue
View file @
eda71305
This diff is collapsed.
Click to expand it.
src/views/threeViolations/tFPasses/family.vue
View file @
eda71305
...
@@ -11,17 +11,18 @@
...
@@ -11,17 +11,18 @@
<!-- 权限-->
<!-- 权限-->
</el-row>
</el-row>
<br>
<br>
<el-form
ref=
"form"
label-width=
'80px'
:model=
"form"
>
<el-form
ref=
"form"
label-width=
'80px'
>
<el-row
:gutter=
"20"
>
<el-row
:gutter=
"20"
>
<el-col
:span=
"24"
>
<el-col
:span=
"24"
>
<el-form-item
label=
"教育人"
>
<el-form-item
label=
"教育人"
>
<el-input
v-model=
"vMain.rowItem.jsjyr"
:readonly=
"readonly"
rows=
"5"
>
<!--
<el-input
v-model=
"vMain.rowItem.jsjyr"
:readonly=
"readonly"
rows=
"5"
>
</el-input>
</el-input>
-->
<personSelector
:readonly=
"readonly"
:label=
"vMain.rowItem.jsjyrName||vMain.rowItem.jsjyr||'暂无'"
@
selected=
'jsjyrSelected'
></personSelector>
</el-form-item>
</el-form-item>
</el-col>
</el-col>
<el-col
:span=
"24"
>
<el-col
:span=
"24"
>
<el-form-item
label=
"教育时间"
>
<el-form-item
style=
"width: 100%;"
label=
"教育时间"
>
<el-date-picker
v-model=
"vMain.rowItem.jsjysj"
:readonly=
"readonly"
></el-date-picker>
<el-date-picker
type=
"datetime"
v-model=
"vMain.rowItem.jsjysj"
:readonly=
"readonly"
></el-date-picker>
</el-form-item>
</el-form-item>
</el-col>
</el-col>
<el-col
:span=
"24"
>
<el-col
:span=
"24"
>
...
@@ -48,6 +49,9 @@
...
@@ -48,6 +49,9 @@
},
},
props
:[
'vMain'
],
props
:[
'vMain'
],
methods
:
{
methods
:
{
jsjyrSelected
(
row
){
this
.
vMain
.
rowItem
.
jsjyr
=
row
.
id
},
save
(){
save
(){
let
params
=
this
.
vMain
.
rowItem
let
params
=
this
.
vMain
.
rowItem
this
.
vMain
.
apiUpdate
(
params
).
then
(
res
=>
{
this
.
vMain
.
apiUpdate
(
params
).
then
(
res
=>
{
...
...
src/views/threeViolations/tFPasses/leadership.vue
View file @
eda71305
...
@@ -34,7 +34,7 @@
...
@@ -34,7 +34,7 @@
</el-col>
</el-col>
<el-col
:span=
"12"
>
<el-col
:span=
"12"
>
<el-form-item
label=
"教育时间"
>
<el-form-item
label=
"教育时间"
>
<el-date-picker
:readonly=
"readonly"
v-model=
"vMain.rowItem.ldjysj"
style=
"width: 100%;"
></el-date-picker>
<el-date-picker
type=
"datetime"
:readonly=
"readonly"
v-model=
"vMain.rowItem.ldjysj"
style=
"width: 100%;"
></el-date-picker>
</el-form-item>
</el-form-item>
</el-col>
</el-col>
<el-col
:span=
"24"
>
<el-col
:span=
"24"
>
...
...
src/views/threeViolations/tFPasses/reflect.vue
View file @
eda71305
...
@@ -2,7 +2,7 @@
...
@@ -2,7 +2,7 @@
<div
class=
"form-detail"
>
<div
class=
"form-detail"
>
<el-row
class=
"tool-bar"
>
<el-row
class=
"tool-bar"
>
<AttachFileButton
:params=
"
{childPath:'FSJC'}" :app='
this
'>
</AttachFileButton>
<AttachFileButton
:params=
"
{childPath:'FSJC'}" :app='
vMain
'>
</AttachFileButton>
<el-button
size=
'mini'
@
click
.
native=
"readonly=false;$success('开启编辑')"
type=
"primary"
>
编辑
</el-button>
<el-button
size=
'mini'
@
click
.
native=
"readonly=false;$success('开启编辑')"
type=
"primary"
>
编辑
</el-button>
<el-button
size=
'mini'
@
click
.
native=
"save()"
type=
"primary"
>
保存
</el-button>
<el-button
size=
'mini'
@
click
.
native=
"save()"
type=
"primary"
>
保存
</el-button>
<!-- 额外按钮-->
<!-- 额外按钮-->
...
@@ -22,7 +22,7 @@
...
@@ -22,7 +22,7 @@
</el-col>
</el-col>
<el-col
:span=
"24"
>
<el-col
:span=
"24"
>
<el-form-item
label=
"教育时间"
>
<el-form-item
label=
"教育时间"
>
<el-date-picker
v-model=
"vMain.rowItem.fsjysj"
:readonly=
"readonly"
></el-date-picker>
<el-date-picker
type=
"datetime"
v-model=
"vMain.rowItem.fsjysj"
:readonly=
"readonly"
></el-date-picker>
</el-form-item>
</el-form-item>
</el-col>
</el-col>
<el-col
:span=
"24"
>
<el-col
:span=
"24"
>
...
...
src/views/threeViolations/tFPasses/safetyCourse.vue
View file @
eda71305
...
@@ -2,7 +2,7 @@
...
@@ -2,7 +2,7 @@
<div
class=
"form-detail"
>
<div
class=
"form-detail"
>
<el-row
class=
"tool-bar"
>
<el-row
class=
"tool-bar"
>
<AttachFileButton
:params=
"
{childPath:'AQBK'}" :app='
this
'>
</AttachFileButton>
<AttachFileButton
:params=
"
{childPath:'AQBK'}" :app='
vMain
'>
</AttachFileButton>
<el-button
size=
'mini'
@
click
.
native=
"readonly=false;$success('开启编辑')"
type=
"primary"
>
编辑
</el-button>
<el-button
size=
'mini'
@
click
.
native=
"readonly=false;$success('开启编辑')"
type=
"primary"
>
编辑
</el-button>
<el-button
size=
'mini'
@
click
.
native=
"save()"
type=
"primary"
>
保存
</el-button>
<el-button
size=
'mini'
@
click
.
native=
"save()"
type=
"primary"
>
保存
</el-button>
<!-- 额外按钮-->
<!-- 额外按钮-->
...
@@ -22,7 +22,7 @@
...
@@ -22,7 +22,7 @@
</el-col>
</el-col>
<el-col
:span=
"24"
>
<el-col
:span=
"24"
>
<el-form-item
label=
"教育时间"
>
<el-form-item
label=
"教育时间"
>
<el-date-picker
v-model=
"vMain.rowItem.aqjysj"
:readonly=
"readonly"
></el-date-picker>
<el-date-picker
type=
"datetime"
v-model=
"vMain.rowItem.aqjysj"
:readonly=
"readonly"
></el-date-picker>
</el-form-item>
</el-form-item>
</el-col>
</el-col>
<el-col
:span=
"24"
>
<el-col
:span=
"24"
>
...
...
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