Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
D
dd_school
Overview
Overview
Details
Activity
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
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wangqi
dd_school
Commits
1223932e
Commit
1223932e
authored
Nov 08, 2023
by
zhaopanyu
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
zpy 11.8
parent
d0f5ef37
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
39 additions
and
5 deletions
+39
-5
ruoyi-ui/src/views/smartSchool/awardsDisciplinary/studentViolation/ViolationDiscipline/index.vue
+8
-1
ruoyi-ui/src/views/smartSchool/awardsDisciplinary/studentViolation/disciplinaryManagemen/index.vue
+8
-1
ruoyi-ui/src/views/smartSchool/awardsDisciplinary/studentViolation/violationDisciplineentry/index.vue
+23
-3
No files found.
ruoyi-ui/src/views/smartSchool/awardsDisciplinary/studentViolation/ViolationDiscipline/index.vue
View file @
1223932e
...
@@ -437,7 +437,14 @@ export default {
...
@@ -437,7 +437,14 @@ export default {
getDiscipline
(
id
).
then
((
response
)
=>
{
getDiscipline
(
id
).
then
((
response
)
=>
{
this
.
form
=
response
.
data
;
this
.
form
=
response
.
data
;
this
.
isEdit
=
true
;
this
.
isEdit
=
true
;
this
.
dialogTableVisible
=
true
;
``
this
.
dialogTableVisible
=
true
;
this
.
form
.
gradeId
=
response
.
data
.
gradeId
;
const
params
=
{
gradeId
:
this
.
form
.
gradeId
};
getClassList
(
params
).
then
(
response
=>
{
this
.
loading
=
false
;
this
.
classList
=
response
.
data
;
console
.
log
(
"this.classList"
,
this
.
classList
);
});
}).
catch
(
error
=>
{
}).
catch
(
error
=>
{
this
.
$modal
.
closeLoading
();
this
.
$modal
.
closeLoading
();
})
})
...
...
ruoyi-ui/src/views/smartSchool/awardsDisciplinary/studentViolation/disciplinaryManagemen/index.vue
View file @
1223932e
...
@@ -463,7 +463,14 @@ export default {
...
@@ -463,7 +463,14 @@ export default {
getDiscipline
(
id
).
then
((
response
)
=>
{
getDiscipline
(
id
).
then
((
response
)
=>
{
this
.
form
=
response
.
data
;
this
.
form
=
response
.
data
;
this
.
isEdit
=
true
;
this
.
isEdit
=
true
;
this
.
dialogTableVisible
=
true
;
``
this
.
dialogTableVisible
=
true
;
this
.
form
.
gradeId
=
response
.
data
.
gradeId
;
const
params
=
{
gradeId
:
this
.
form
.
gradeId
};
getClassList
(
params
).
then
(
response
=>
{
this
.
loading
=
false
;
this
.
classList
=
response
.
data
;
console
.
log
(
"this.classList"
,
this
.
classList
);
});
}).
catch
(
error
=>
{
}).
catch
(
error
=>
{
this
.
$modal
.
closeLoading
();
this
.
$modal
.
closeLoading
();
})
})
...
...
ruoyi-ui/src/views/smartSchool/awardsDisciplinary/studentViolation/violationDisciplineentry/index.vue
View file @
1223932e
...
@@ -123,16 +123,16 @@
...
@@ -123,16 +123,16 @@
</el-table-column>
</el-table-column>
<el-table-column
align=
"center"
prop=
"punishTime"
sortable
label=
"处分时间"
width=
"100"
/>
<el-table-column
align=
"center"
prop=
"punishTime"
sortable
label=
"处分时间"
width=
"100"
/>
<el-table-column
align=
"center"
prop=
"remark"
sortable
label=
"备注"
/>
<el-table-column
align=
"center"
prop=
"remark"
sortable
label=
"备注"
/>
<el-table-column
align=
"center"
fixed=
"right"
label=
"操作"
width=
"
15
0"
>
<el-table-column
align=
"center"
fixed=
"right"
label=
"操作"
width=
"
20
0"
>
<
template
slot-scope=
"scope"
>
<
template
slot-scope=
"scope"
>
<div
v-if=
"scope.row.auditState === '0'"
>
<div
v-if=
"scope.row.auditState === '0'"
>
<el-button
@
click=
"handleExamine(scope.row)"
type=
"text"
size=
"small"
>
提交
</el-button>
<el-button
@
click=
"handleExamine(scope.row)"
type=
"text"
size=
"small"
>
提交
</el-button>
<el-button
@
click=
"handleEdit(scope.row)"
type=
"text"
size=
"small"
>
编辑
</el-button>
<el-button
@
click=
"handleEdit(scope.row)"
type=
"text"
size=
"small"
>
编辑
</el-button>
<el-button
@
click=
"handleLook(scope.row)"
type=
"text"
size=
"small"
>
查看
</el-button>
<el-button
@
click=
"handleDelete(scope.row)"
type=
"text"
size=
"small"
>
删除
</el-button>
<el-button
@
click=
"handleDelete(scope.row)"
type=
"text"
size=
"small"
>
删除
</el-button>
</div>
</div>
<div
v-else
>
<div
v-else
>
<el-button
@
click=
"handleEdit(scope.row)"
type=
"text"
size=
"small"
>
编辑
</el-button>
<el-button
@
click=
"handleLook(scope.row)"
type=
"text"
size=
"small"
>
查看
</el-button>
<el-button
@
click=
"handleDelete(scope.row)"
type=
"text"
size=
"small"
>
删除
</el-button>
</div>
</div>
</
template
>
</
template
>
</el-table-column>
</el-table-column>
...
@@ -425,6 +425,26 @@ export default {
...
@@ -425,6 +425,26 @@ export default {
const
lastDigit
=
parseInt
(
idCard
.
charAt
(
idCard
.
length
-
2
));
// 获取倒数第二位数字
const
lastDigit
=
parseInt
(
idCard
.
charAt
(
idCard
.
length
-
2
));
// 获取倒数第二位数字
return
lastDigit
%
2
===
0
?
'女'
:
'男'
;
// 奇数表示男性,偶数表示女性
return
lastDigit
%
2
===
0
?
'女'
:
'男'
;
// 奇数表示男性,偶数表示女性
},
},
//查看
handleLook
(
row
)
{
console
.
log
(
row
);
const
id
=
row
.
id
||
this
.
ids
;
getDiscipline
(
id
).
then
((
response
)
=>
{
this
.
form
=
response
.
data
;
this
.
isEdit
=
true
;
this
.
dialogTableVisible
=
true
;
this
.
form
.
gradeId
=
response
.
data
.
gradeId
;
const
params
=
{
gradeId
:
this
.
form
.
gradeId
};
getClassList
(
params
).
then
(
response
=>
{
this
.
loading
=
false
;
this
.
classList
=
response
.
data
;
console
.
log
(
"this.classList"
,
this
.
classList
);
});
}).
catch
(
error
=>
{
this
.
$modal
.
closeLoading
();
})
},
//修改
//修改
handleEdit
(
row
)
{
handleEdit
(
row
)
{
...
...
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