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
bd7eca4a
Commit
bd7eca4a
authored
Nov 11, 2022
by
zhoumaotao
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'master' of gitlab.gavelinfo.com:lisu/sgaqgl-vue
parents
db0b801a
eda71305
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 @
bd7eca4a
...
...
@@ -17,7 +17,7 @@ const service = axios.create({
// axios中请求配置有baseURL选项,表示请求URL公共部分
baseURL
:
process
.
env
.
VUE_APP_BASE_API
,
// 超时
timeout
:
1
0000
timeout
:
600
0000
})
// request拦截器
...
...
src/views/threeViolations/tFPasses/edit.vue
View file @
bd7eca4a
This diff is collapsed.
Click to expand it.
src/views/threeViolations/tFPasses/family.vue
View file @
bd7eca4a
...
...
@@ -11,17 +11,18 @@
<!-- 权限-->
</el-row>
<br>
<el-form
ref=
"form"
label-width=
'80px'
:model=
"form"
>
<el-form
ref=
"form"
label-width=
'80px'
>
<el-row
:gutter=
"20"
>
<el-col
:span=
"24"
>
<el-form-item
label=
"教育人"
>
<el-input
v-model=
"vMain.rowItem.jsjyr"
:readonly=
"readonly"
rows=
"5"
>
</el-input>
<!--
<el-input
v-model=
"vMain.rowItem.jsjyr"
:readonly=
"readonly"
rows=
"5"
>
</el-input>
-->
<personSelector
:readonly=
"readonly"
:label=
"vMain.rowItem.jsjyrName||vMain.rowItem.jsjyr||'暂无'"
@
selected=
'jsjyrSelected'
></personSelector>
</el-form-item>
</el-col>
<el-col
:span=
"24"
>
<el-form-item
label=
"教育时间"
>
<el-date-picker
v-model=
"vMain.rowItem.jsjysj"
:readonly=
"readonly"
></el-date-picker>
<el-form-item
style=
"width: 100%;"
label=
"教育时间"
>
<el-date-picker
type=
"datetime"
v-model=
"vMain.rowItem.jsjysj"
:readonly=
"readonly"
></el-date-picker>
</el-form-item>
</el-col>
<el-col
:span=
"24"
>
...
...
@@ -48,6 +49,9 @@
},
props
:[
'vMain'
],
methods
:
{
jsjyrSelected
(
row
){
this
.
vMain
.
rowItem
.
jsjyr
=
row
.
id
},
save
(){
let
params
=
this
.
vMain
.
rowItem
this
.
vMain
.
apiUpdate
(
params
).
then
(
res
=>
{
...
...
src/views/threeViolations/tFPasses/leadership.vue
View file @
bd7eca4a
...
...
@@ -34,7 +34,7 @@
</el-col>
<el-col
:span=
"12"
>
<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-col>
<el-col
:span=
"24"
>
...
...
src/views/threeViolations/tFPasses/reflect.vue
View file @
bd7eca4a
...
...
@@ -2,7 +2,7 @@
<div
class=
"form-detail"
>
<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=
"save()"
type=
"primary"
>
保存
</el-button>
<!-- 额外按钮-->
...
...
@@ -22,7 +22,7 @@
</el-col>
<el-col
:span=
"24"
>
<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-col>
<el-col
:span=
"24"
>
...
...
src/views/threeViolations/tFPasses/safetyCourse.vue
View file @
bd7eca4a
...
...
@@ -2,7 +2,7 @@
<div
class=
"form-detail"
>
<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=
"save()"
type=
"primary"
>
保存
</el-button>
<!-- 额外按钮-->
...
...
@@ -22,7 +22,7 @@
</el-col>
<el-col
:span=
"24"
>
<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-col>
<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