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
d0f5ef37
Commit
d0f5ef37
authored
Nov 08, 2023
by
zhaopanyu
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
zpy 11.8
parent
66f89d12
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
76 additions
and
32 deletions
+76
-32
ruoyi-ui/src/views/smartSchool/awardsDisciplinary/schoolAwards/awardEntry/index.vue
+12
-1
ruoyi-ui/src/views/smartSchool/awardsDisciplinary/schoolAwards/awardManagement/index.vue
+13
-2
ruoyi-ui/src/views/smartSchool/awardsDisciplinary/schoolAwards/awardReview/index.vue
+12
-18
ruoyi-ui/src/views/smartSchool/awardsDisciplinary/studentViolation/ViolationDiscipline/index.vue
+6
-3
ruoyi-ui/src/views/smartSchool/awardsDisciplinary/studentViolation/disciplinaryManagemen/index.vue
+19
-5
ruoyi-ui/src/views/smartSchool/awardsDisciplinary/studentViolation/violationDisciplineentry/index.vue
+12
-1
ruoyi-ui/src/views/whitePage.vue
+2
-2
No files found.
ruoyi-ui/src/views/smartSchool/awardsDisciplinary/schoolAwards/awardEntry/index.vue
View file @
d0f5ef37
...
...
@@ -298,8 +298,19 @@ export default {
getAwards
(
id
).
then
((
response
)
=>
{
this
.
form
=
response
.
data
;
this
.
accessoryUrl
=
this
.
pev
+
this
.
picUrl
this
.
form
.
competentDeptId
=
response
.
data
.
competentDeptId
;
const
params
=
{
competentDeptId
:
this
.
form
.
competentDeptId
}
getDeptLeader
(
params
).
then
(
response
=>
{
this
.
getDeptLeaders
=
response
.
rows
;
}).
catch
(
error
=>
{
});
this
.
dialogTableVisible
=
true
;
}).
catch
(
error
=>
{
}
).
catch
(
error
=>
{
this
.
$modal
.
closeLoading
();
})
...
...
ruoyi-ui/src/views/smartSchool/awardsDisciplinary/schoolAwards/awardManagement/index.vue
View file @
d0f5ef37
...
...
@@ -301,8 +301,19 @@ export default {
getAwards
(
id
).
then
((
response
)
=>
{
this
.
form
=
response
.
data
;
this
.
accessoryUrl
=
this
.
pev
+
this
.
picUrl
this
.
form
.
competentDeptId
=
response
.
data
.
competentDeptId
;
const
params
=
{
competentDeptId
:
this
.
form
.
competentDeptId
}
getDeptLeader
(
params
).
then
(
response
=>
{
this
.
getDeptLeaders
=
response
.
rows
;
}).
catch
(
error
=>
{
});
this
.
dialogTableVisible
=
true
;
}).
catch
(
error
=>
{
}
).
catch
(
error
=>
{
this
.
$modal
.
closeLoading
();
})
...
...
@@ -445,7 +456,7 @@ export default {
},
getLeader
(
competentDeptId
)
{
getDeptLeader
({
competentDeptId
}).
then
(
response
=>
{
// 使用 ES6 简写对象字面量
getDeptLeader
({
competentDeptId
}).
then
(
response
=>
{
this
.
getDeptLeaders
=
response
.
rows
;
console
.
log
(
response
.
rows
,
'response.rows'
);
console
.
log
(
this
.
getDeptLeaders
,
'getDeptLeaders'
);
...
...
ruoyi-ui/src/views/smartSchool/awardsDisciplinary/schoolAwards/awardReview/index.vue
View file @
d0f5ef37
...
...
@@ -72,7 +72,7 @@
<!-- 查看弹框 -->
<el-dialog
title=
"详细信息"
:visible
.
sync=
"dialogTableVisible"
width=
"1100px"
>
<el-form
:model=
"form"
ref=
"form"
size=
"small"
label-width=
"110px"
:rules=
"rules"
>
<el-form
:model=
"form"
ref=
"form"
size=
"small"
label-width=
"110px"
:rules=
"rules"
:disabled=
"isEdit"
>
<el-row>
<el-col
:span=
"24"
>
<el-form-item
label=
"比赛名称"
prop=
"competitionName"
>
...
...
@@ -91,7 +91,7 @@
</el-row>
<el-row>
<el-col
:span=
"12"
>
<el-form-item
label=
"获奖名称"
prop=
"awardsName
"
>
<el-form-item
label=
"获奖名称"
prop=
"awardsName"
>
<el-input
v-model=
"form.awardsName"
placeholder=
"请输入"
clearable
:style=
"{ width: '100%' }"
></el-input>
</el-form-item>
...
...
@@ -99,8 +99,8 @@
<el-col
:span=
"12"
>
<el-form-item
label=
"主管部门"
prop=
"competentDeptId"
>
<Treeselect
v-model=
"form.competentDeptId"
:options=
"deptOptions"
:show-count=
"true"
placeholder=
"请选择"
:default-expand-level=
1
:style=
"{ width: '100%' }"
@
change=
"onOrgSelec
t"
/>
placeholder=
"请选择"
:default-expand-level=
1
:style=
"{ width: '100%' }"
@
change=
"onOrgSelect"
:disabled=
"isEdi
t"
/>
</el-form-item>
</el-col>
</el-row>
...
...
@@ -168,7 +168,6 @@
</el-row>
</el-form>
<div
slot=
"footer"
class=
"dialog-footer"
style=
"text-align: center;"
>
<el-button
type=
"primary"
@
click=
"submitForm"
>
确 定
</el-button>
<el-button
@
click=
"cancelDialog"
>
取 消
</el-button>
</div>
</el-dialog>
...
...
@@ -192,6 +191,7 @@ import {
import
Treeselect
from
'@riophae/vue-treeselect'
import
'@riophae/vue-treeselect/dist/vue-treeselect.css'
import
picAvatar
from
'@/views/smartSchool/schoolManage/introduce/schoolInfo/profile/picAvatar'
import
{
InsertDropdownListsHeaders
}
from
'@alicloud/dingtalk/dist/doc_1_0/client'
export
default
{
name
:
'index'
,
components
:
{
Treeselect
,
picAvatar
},
...
...
@@ -209,6 +209,7 @@ export default {
competentDeptId
:
null
,
},
isEdit
:
false
,
uploadLoading
:
false
,
pev
:
process
.
env
.
VUE_APP_BASE_API
,
getDeptLeaders
:
[],
...
...
@@ -275,7 +276,7 @@ export default {
},
methods
:
{
//查看
handleEdit
(
row
)
{
console
.
log
(
row
);
const
id
=
row
.
id
||
this
.
ids
;
...
...
@@ -283,6 +284,7 @@ export default {
this
.
form
=
response
.
data
;
this
.
accessoryUrl
=
this
.
pev
+
this
.
picUrl
this
.
dialogTableVisible
=
true
;
this
.
isEdit
=
true
;
}).
catch
(
error
=>
{
this
.
$modal
.
closeLoading
();
})
...
...
@@ -384,26 +386,18 @@ export default {
},
resetQuery
()
{
this
.
form
=
{
pageNum
:
1
,
pageSize
:
10
,
competitionName
:
""
,
organizer
:
""
,
awardsName
:
""
,
competentDeptId
:
null
,
this
.
queryForm
=
{
awardsLevel
:
""
,
deptDirectorId
:
null
,
awardsTime
:
""
,
awardsType
:
""
,
remark
:
""
,
schoolAccessoryList
:
[],
startTime
:
""
,
endTime
:
""
,
competentDeptId
:
null
,
},
this
.
schoolAccessoryList
=
[],
this
.
getList
();
},
},
}
</
script
>
...
...
ruoyi-ui/src/views/smartSchool/awardsDisciplinary/studentViolation/ViolationDiscipline/index.vue
View file @
d0f5ef37
...
...
@@ -45,7 +45,10 @@
<el-input
v-model=
"queryForm.idCard"
placeholder=
"请输入"
clearable
></el-input>
</el-form-item>
<el-form-item
label=
"班主任"
>
<el-input
v-model=
"queryForm.classTeacher"
placeholder=
"请输入"
clearable
></el-input>
<el-select
v-model=
"queryForm.classTeacherId"
placeholder=
"请选择"
:style=
"
{ width: '100%' }">
<el-option
v-for=
"item in deptOptions"
:key=
"item.userId"
:label=
"item.userName"
:value=
"item.userId"
></el-option>
</el-select>
</el-form-item>
<el-form-item
label=
"违纪类别"
>
<el-select
v-model=
"queryForm.violateType"
placeholder=
"请选择"
clearable
style=
"width: 100%;"
>
...
...
@@ -166,8 +169,8 @@
</el-form-item>
</el-col>
<el-col
:span=
"8"
>
<el-form-item
label=
"班级"
prop=
"class
Name
"
>
<el-select
v-model=
"form.class
Name
"
placeholder=
"请选择级部"
clearable
:style=
"{ width: '100%' }"
>
<el-form-item
label=
"班级"
prop=
"class
Id
"
>
<el-select
v-model=
"form.class
Id
"
placeholder=
"请选择级部"
clearable
:style=
"{ width: '100%' }"
>
<el-option
v-for=
"(item, index) in classList"
:key=
"index"
:label=
"item.classValue"
:value=
"item.classId"
></el-option>
</el-select>
...
...
ruoyi-ui/src/views/smartSchool/awardsDisciplinary/studentViolation/disciplinaryManagemen/index.vue
View file @
d0f5ef37
...
...
@@ -45,7 +45,10 @@
<el-input
v-model=
"queryForm.idCard"
placeholder=
"请输入"
clearable
></el-input>
</el-form-item>
<el-form-item
label=
"班主任"
>
<el-input
v-model=
"queryForm.classTeacher"
placeholder=
"请输入"
clearable
></el-input>
<el-select
v-model=
"queryForm.classTeacherId"
placeholder=
"请选择"
:style=
"
{ width: '100%' }">
<el-option
v-for=
"item in deptOptions"
:key=
"item.userId"
:label=
"item.userName"
:value=
"item.userId"
></el-option>
</el-select>
</el-form-item>
<el-form-item
label=
"违纪类别"
>
<el-select
v-model=
"queryForm.violateType"
placeholder=
"请选择"
clearable
style=
"width: 100%;"
>
...
...
@@ -129,13 +132,16 @@
type=
"text"
size=
"small"
>
编辑
</el-button>
<el-button
v-if=
"['1', '3'].includes(scope.row.auditState)"
@
click=
"handleDelete(scope.row)"
type=
"text"
size=
"small"
>
删除
</el-button>
<el-button
v-if=
"['1', '3'].includes(scope.row.auditState)"
@
click=
"handleLook(scope.row)"
type=
"text"
size=
"small"
>
查看
</el-button>
</div>
<div>
<el-button
v-if=
"scope.row.auditState === '2'"
@
click=
"handleEdit(scope.row)"
type=
"text"
size=
"small"
>
编辑
</el-button>
<el-button
@
click=
"handleLook(scope.row)"
type=
"text"
size=
"small"
>
查看
</el-button>
<el-button
v-if=
"scope.row.auditState === '2'"
@
click=
"handleDelete(scope.row)"
type=
"text"
size=
"small"
>
删除
</el-button>
<el-button
v-if=
"scope.row.auditState === '2'"
@
click=
"handleLook(scope.row)"
type=
"text"
size=
"small"
>
查看
</el-button>
</div>
</
template
>
</el-table-column>
...
...
@@ -180,8 +186,8 @@
</el-form-item>
</el-col>
<el-col
:span=
"8"
>
<el-form-item
label=
"班级"
prop=
"class
Name
"
>
<el-select
v-model=
"form.class
Name
"
placeholder=
"请选择级部"
clearable
:style=
"{ width: '100%' }"
>
<el-form-item
label=
"班级"
prop=
"class
Id
"
>
<el-select
v-model=
"form.class
Id
"
placeholder=
"请选择级部"
clearable
:style=
"{ width: '100%' }"
>
<el-option
v-for=
"(item, index) in classList"
:key=
"index"
:label=
"item.classValue"
:value=
"item.classId"
></el-option>
</el-select>
...
...
@@ -435,9 +441,16 @@ export default {
const
id
=
row
.
id
||
this
.
ids
;
getDiscipline
(
id
).
then
((
response
)
=>
{
this
.
form
=
response
.
data
;
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
);
});
this
.
isEdit
=
false
;
this
.
dialogTableVisible
=
true
;
}).
catch
(
error
=>
{
this
.
$modal
.
closeLoading
();
})
...
...
@@ -563,6 +576,7 @@ export default {
},
//确定按钮
submitForm
:
function
()
{
this
.
$refs
[
'form'
].
validate
(
valid
=>
{
if
(
valid
)
{
if
(
this
.
form
.
id
!=
null
)
{
...
...
ruoyi-ui/src/views/smartSchool/awardsDisciplinary/studentViolation/violationDisciplineentry/index.vue
View file @
d0f5ef37
...
...
@@ -45,7 +45,10 @@
<el-input
v-model=
"queryForm.idCard"
placeholder=
"请输入"
clearable
></el-input>
</el-form-item>
<el-form-item
label=
"班主任"
>
<el-input
v-model=
"queryForm.classTeacher"
placeholder=
"请输入"
clearable
></el-input>
<el-select
v-model=
"queryForm.classTeacherId"
placeholder=
"请选择"
:style=
"
{ width: '100%' }">
<el-option
v-for=
"item in deptOptions"
:key=
"item.userId"
:label=
"item.userName"
:value=
"item.userId"
></el-option>
</el-select>
</el-form-item>
<el-form-item
label=
"违纪类别"
>
<el-select
v-model=
"queryForm.violateType"
placeholder=
"请选择"
clearable
style=
"width: 100%;"
>
...
...
@@ -429,8 +432,16 @@ export default {
const
id
=
row
.
id
||
this
.
ids
;
getDiscipline
(
id
).
then
((
response
)
=>
{
this
.
form
=
response
.
data
;
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
);
});
this
.
isEdit
=
false
;
this
.
dialogTableVisible
=
true
;
}).
catch
(
error
=>
{
this
.
$modal
.
closeLoading
();
})
...
...
ruoyi-ui/src/views/whitePage.vue
View file @
d0f5ef37
...
...
@@ -29,8 +29,8 @@ export default {
// 获取code
getCode
()
{
dd
.
getAuthCode
({
//
corpId: 'dingaa3937ff8b7dd267f2c783f7214b6d69',
corpId
:
'dingccea40788226c988f2c783f7214b6d69'
,
corpId
:
'dingaa3937ff8b7dd267f2c783f7214b6d69'
,
//
corpId: 'dingccea40788226c988f2c783f7214b6d69',
success
:
(
res
)
=>
{
console
.
log
(
'获取新的免登码成功'
,
res
);
const
code
=
res
.
code
...
...
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