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
a8f175e6
Commit
a8f175e6
authored
Aug 01, 2023
by
duxingshan
Browse files
Options
Browse Files
Download
Plain Diff
Merge remote-tracking branch 'origin/master'
parents
258938c0
423a161a
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
1150 additions
and
15 deletions
+1150
-15
ruoyi-ui/src/views/smartSchool/gradeWork/courseSelection/secondaryDivision/index.vue
+285
-3
ruoyi-ui/src/views/smartSchool/gradeWork/courseSelection/springView/index.vue
+204
-4
ruoyi-ui/src/views/smartSchool/gradeWork/courseSelection/summerViewing/index.vue
+286
-3
ruoyi-ui/src/views/smartSchool/gradeWork/courseSelection/taskPublishing/index.vue
+375
-4
ruoyi-ui/src/views/smartSchool/logisticsManage/repairReport/index copy.vue
+0
-1
No files found.
ruoyi-ui/src/views/smartSchool/gradeWork/courseSelection/secondaryDivision/index.vue
View file @
a8f175e6
<
template
>
<
template
>
<div
class=
"app-container"
>
<el-form
:model=
"queryForm"
ref=
"queryForm"
size=
"small"
:inline=
"true"
label-width=
"70px"
>
<el-form-item
prop=
"studentsName"
>
<el-input
clearable
v-model=
"queryForm.studentsName"
placeholder=
"学生姓名"
@
keyup
.
enter
.
native=
"handleQuery"
></el-input>
</el-form-item>
<el-form-item
prop=
"classId"
>
<el-select
v-model=
"queryForm.classId"
placeholder=
"班级"
clearable
>
<el-option
v-for=
"item in classList"
:key=
"item.id"
:label=
"item.className"
:value=
"item.id"
>
</el-option>
</el-select>
</el-form-item>
<el-form-item
prop=
"majorId"
>
<el-select
v-model=
"queryForm.majorId"
placeholder=
"已选课程"
clearable
>
<el-option
v-for=
"item in majorList"
:key=
"item.id"
:label=
"item.majorName"
:value=
"item.id"
>
</el-option>
</el-select>
</el-form-item>
<el-form-item>
<el-button
type=
"primary"
icon=
"el-icon-search"
size=
"mini"
@
click=
"handleQuery"
>
搜索
</el-button>
<el-button
icon=
"el-icon-refresh"
size=
"mini"
@
click=
"resetQuery"
>
重置
</el-button>
<el-button
icon=
"el-icon-user"
size=
"mini"
@
click=
"shiftRules"
>
分班规则
</el-button>
<el-button
type=
"warning"
plain
icon=
"el-icon-download"
size=
"mini"
@
click=
"handleExport"
>
导出
</el-button>
</el-form-item>
</el-form>
<!-- 表单信息 -->
<el-table
border
v-loading=
"loading"
:row-style=
"
{ height: '35px' }" :cell-style="{ padding: '0' }"
:data="studentsList" style="font-size: 14px" stripe>
<el-table-column
label=
"学生姓名"
prop=
"xsxm"
align=
"center"
width=
"150px"
/>
<el-table-column
label=
"学号"
prop=
"xh"
align=
"center"
/>
<el-table-column
label=
"身份证号"
prop=
"sfzh"
width=
"300px"
align=
"center"
/>
<el-table-column
label=
"成绩"
prop=
"cj"
align=
"center"
/>
<el-table-column
label=
"已选课程"
prop=
"yxkc"
align=
"center"
/>
<el-table-column
label=
"所分班级"
prop=
"sfbj"
align=
"center"
/>
</el-table>
<!-- 分班规则弹窗 -->
<el-dialog
:title=
"title"
:visible
.
sync=
"open"
width=
"800px"
append-to-body
>
<el-form
ref=
"form"
:model=
"form"
:rules=
"rules"
label-width=
"110px"
>
<div>
<div>
<h2>
二次分班
</h2>
<el-row>
<el-col
:span=
"12"
>
<el-form-item
label=
"分班规则"
prop=
"fbgz"
>
<el-radio-group
v-model=
"postForm.fbgz"
>
<el-radio
label=
'1'
>
平行分班
</el-radio>
<el-radio
label=
'0'
>
分层分班
</el-radio>
</el-radio-group>
</el-form-item>
</el-col>
</el-row>
<el-row>
<!-- :label="` $
{postForm.yxkc}`" -->
<el-col
:span=
"8"
>
<el-form-item
prop=
"yxkc"
label=
"史政地"
:style=
"
{ width: '100%' }">
<el-input
v-model=
"postForm.classCount"
placeholder=
"班级数量"
></el-input>
</el-form-item>
</el-col>
<el-col
:span=
"5"
>
<el-input
v-model=
"postForm.studentCount"
placeholder=
"每班人数"
></el-input>
</el-col>
</el-row>
<el-row>
<!-- :label="` $
{postForm.yxkc}`" -->
<el-col
:span=
"8"
>
<el-form-item
prop=
"yxkc"
label=
"物理化"
:style=
"
{ width: '100%' }">
<el-input
v-model=
"postForm.classCount"
placeholder=
"班级数量"
></el-input>
</el-form-item>
</el-col>
<el-col
:span=
"5"
>
<el-input
v-model=
"postForm.studentCount"
placeholder=
"每班人数"
></el-input>
</el-col>
</el-row>
</div>
</el-form>
<div
style=
"text-align: center"
>
<el-button
type=
"primary"
@
click=
"submitForm"
>
确 定
</el-button>
<el-button
@
click=
"cancel"
>
取 消
</el-button>
</div>
</el-dialog>
<!--
<pagination
v-show=
"total > 0"
:total=
"total"
:page
.
sync=
"queryForm.pageNum"
:limit
.
sync=
"queryForm.pageSize"
@
pagination=
"getList"
/>
-->
</div>
</div>
</
template
>
</
template
>
<
script
>
<
script
>
import
{
getksBudgetList
,
//查询科室预算填报项目明细列表
depBudget
//查看详情
}
from
'@/api/smartSchool/logisticsManage/departmentBudgetview'
export
default
{
export
default
{
name
:
"springView"
,
data
()
{
return
{
// 已选课程
yxkc
:
""
,
//人数
rs
:
''
,
majorList
:
[],
classList
:
[],
// 查询表单
queryForm
:
{
studentsName
:
''
,
classId
:
''
,
majorId
:
''
,
pageNum
:
1
,
pageSize
:
10
},
form
:
{
rwfb
:
''
,
sj
:
''
,
jb
:
''
},
// 遮罩层
loading
:
false
,
total
:
0
,
// 信息列表
studentsList
:
[
{
id
:
1
,
bj
:
'一班'
,
xsxm
:
'张三'
,
xh
:
'2018001'
,
sfzh
:
'123456789012345678'
,
cj
:
'500'
,
yxkc
:
'物理化'
,
sfbj
:
'物理化一班'
},
{
id
:
2
,
bj
:
'一班'
,
xsxm
:
'张三'
,
xh
:
'2018001'
,
sfzh
:
'123456789012345678'
,
cj
:
'500'
,
yxkc
:
'物理化'
,
sfbj
:
'物理化一班'
},
{
id
:
3
,
bj
:
'一班'
,
xsxm
:
'张三'
,
xh
:
'2018001'
,
sfzh
:
'123456789012345678'
,
cj
:
'500'
,
yxkc
:
'物理化'
,
sfbj
:
'物理化一班'
}
],
// 新增/编辑表单
postForm
:
{
},
fbgz
:
''
,
// 查看表格
lookTable
:
[],
options
:
[],
// 是否显示弹出层
open
:
false
,
// 查看弹窗
openLook
:
false
,
// 校验规则
rules
:
{
},
// 弹出层标题
title
:
''
,
// 是否禁用删除按钮--项目明细
multiple
:
false
,
// 选中数据的值数组
selectItems
:
[],
// 科室列表
deptOptions
:
[],
}
},
created
()
{
// this.getList();
},
methods
:
{
// 获取列表
// getList() {
// getksBudgetList(this.queryForm).then(response => {
// this.loading = false;
// this.studentsList = response.rows;
// console.log(111, response.rows);
// this.total = response.total;
// }).catch(err => {
// this.loading = false;
// })
// },
// 分班规则
shiftRules
()
{
this
.
reset
();
this
.
open
=
true
;
this
.
title
=
"分班规则"
;
},
// 搜索按钮
handleQuery
()
{
this
.
getList
();
},
// 重置按钮
resetQuery
()
{
this
.
queryForm
=
{
pageNum
:
1
,
pageSize
:
10
};
this
.
resetForm
(
"queryForm"
);
this
.
handleQuery
();
},
// 重置
reset
()
{
this
.
postForm
=
{
}
this
.
resetForm
(
'postForm'
);
},
// 取消按钮
cancel
()
{
this
.
open
=
false
;
this
.
openLook
=
false
;
this
.
reset
();
this
.
resetForm
(
'postForm'
);
},
// 导出
handleExport
()
{
this
.
download
(
'/departmentBudgetProjectmx/export'
,
{
...
this
.
queryParams
},
`科室预算查看_
${
Date
.
now
()}
.xlsx`
)
},
// 分班按钮
submitForm
()
{
this
.
$refs
.
form
.
validate
((
valid
)
=>
{
if
(
valid
)
{
submitRepairs
(
this
.
form
)
.
then
((
response
)
=>
{
this
.
$modal
.
msgSuccess
(
"反馈成功"
);
this
.
openfk
=
false
;
this
.
formfk
.
maintainResult
=
''
;
this
.
getList
();
})
.
catch
((
error
)
=>
{
// 处理错误
});
}
else
{
return
false
;
}
});
},
}
}
}
</
script
>
</
script
>
<
style
lang=
"scss"
scoped
></
style
>
<
style
lang=
"scss"
scoped
>
\ No newline at end of file
::v-deep
.inline-table
.cell
{
padding
:
0
;
}
.title
{
font-size
:
20px
;
text-align
:
center
;
}
.el-col
{
margin-right
:
10px
;
}
</
style
>
ruoyi-ui/src/views/smartSchool/gradeWork/courseSelection/springView/index.vue
View file @
a8f175e6
<
template
>
<
template
>
<div>
<div
class=
"app-container"
>
<h2>
春季查看
</h2>
<el-form
:model=
"queryForm"
ref=
"queryForm"
size=
"small"
:inline=
"true"
label-width=
"70px"
>
<el-form-item
prop=
"studentsName"
>
<el-input
clearable
v-model=
"queryForm.studentsName"
placeholder=
"学生姓名"
@
keyup
.
enter
.
native=
"handleQuery"
></el-input>
</el-form-item>
<el-form-item
prop=
"classId"
>
<el-select
v-model=
"queryForm.classId"
placeholder=
"班级"
clearable
>
<el-option
v-for=
"item in classList"
:key=
"item.id"
:label=
"item.className"
:value=
"item.id"
>
</el-option>
</el-select>
</el-form-item>
<el-form-item
prop=
"majorId"
>
<el-select
v-model=
"queryForm.majorId"
placeholder=
"已选专业"
clearable
>
<el-option
v-for=
"item in majorList"
:key=
"item.id"
:label=
"item.majorName"
:value=
"item.id"
>
</el-option>
</el-select>
</el-form-item>
<el-form-item>
<el-button
type=
"primary"
icon=
"el-icon-search"
size=
"mini"
@
click=
"handleQuery"
>
搜索
</el-button>
<el-button
icon=
"el-icon-refresh"
size=
"mini"
@
click=
"resetQuery"
>
重置
</el-button>
<el-button
type=
"warning"
plain
icon=
"el-icon-download"
size=
"mini"
@
click=
"handleExport"
>
导出
</el-button>
</el-form-item>
</el-form>
<!-- 表单信息 -->
<el-table
border
v-loading=
"loading"
:row-style=
"
{ height: '35px' }" :cell-style="{ padding: '0' }"
:data="studentsList" style="font-size: 14px" stripe>
<el-table-column
label=
"班级"
prop=
"bj"
align=
"center"
width=
"150px"
/>
<el-table-column
label=
"学生姓名"
prop=
"xsxm"
align=
"center"
width=
"150px"
/>
<el-table-column
label=
"学号"
prop=
"xh"
align=
"center"
/>
<el-table-column
label=
"身份证号"
prop=
"sfzh"
width=
"300px"
align=
"center"
/>
<el-table-column
label=
"课程类型"
prop=
"kclx"
align=
"center"
/>
<el-table-column
label=
"选课时间"
prop=
"xksj"
align=
"center"
/>
<el-table-column
label=
"已选专业"
prop=
"yxzy"
align=
"center"
/>
</el-table>
<pagination
v-show=
"total > 0"
:total=
"total"
:page
.
sync=
"queryForm.pageNum"
:limit
.
sync=
"queryForm.pageSize"
@
pagination=
"getList"
/>
</div>
</div>
</
template
>
</
template
>
<
script
>
<
script
>
import
{
getksBudgetList
,
//查询科室预算填报项目明细列表
depBudget
//查看详情
}
from
'@/api/smartSchool/logisticsManage/departmentBudgetview'
export
default
{
export
default
{
name
:
"springView"
,
data
()
{
return
{
majorList
:
[],
classList
:
[],
// 查询表单
queryForm
:
{
studentsName
:
''
,
classId
:
''
,
majorId
:
''
,
pageNum
:
1
,
pageSize
:
10
},
// 遮罩层
loading
:
false
,
total
:
0
,
// 信息列表
studentsList
:
[
{
id
:
1
,
bj
:
'一班'
,
xsxm
:
'张三'
,
xh
:
'2018001'
,
sfzh
:
'123456789012345678'
,
kclx
:
'春季选课'
,
xksj
:
'2020-09-01'
,
yxzy
:
'会计 护理 幼师 机电 电子商务 导游'
},
{
id
:
2
,
bj
:
'一班'
,
xsxm
:
'张三'
,
xh
:
'2018001'
,
sfzh
:
'123456789012345678'
,
kclx
:
'春季选课'
,
xksj
:
'2020-09-01'
,
yxzy
:
'会计 护理 幼师 机电 电子商务 导游'
},
{
id
:
3
,
bj
:
'一班'
,
xsxm
:
'张三'
,
xh
:
'2018001'
,
sfzh
:
'123456789012345678'
,
kclx
:
'春季选课'
,
xksj
:
'2020-09-01'
,
yxzy
:
'会计 护理 幼师 机电 电子商务 导游'
}
],
// 新增/编辑表单
postForm
:
{
},
// 查看表格
lookTable
:
[],
options
:
[],
// 是否显示弹出层
open
:
false
,
// 查看弹窗
openLook
:
false
,
// 校验规则
rules
:
{
},
// 弹出层标题
title
:
''
,
// 是否禁用删除按钮--项目明细
multiple
:
false
,
// 选中数据的值数组
selectItems
:
[],
// 科室列表
deptOptions
:
[],
}
},
created
()
{
this
.
getList
();
// 获取科室信息
},
methods
:
{
// 获取列表
// getList() {
// getksBudgetList(this.queryForm).then(response => {
// this.loading = false;
// this.studentsList = response.rows;
// console.log(111, response.rows);
// this.total = response.total;
// }).catch(err => {
// this.loading = false;
// })
// },
// 搜索按钮
handleQuery
()
{
this
.
getList
();
},
// 重置按钮
resetQuery
()
{
this
.
queryForm
=
{
pageNum
:
1
,
pageSize
:
10
};
this
.
resetForm
(
"queryForm"
);
this
.
handleQuery
();
},
// 重置
reset
()
{
this
.
postForm
=
{
}
this
.
resetForm
(
'postForm'
);
},
// 取消按钮
cancel
()
{
this
.
open
=
false
;
this
.
openLook
=
false
;
this
.
reset
();
this
.
resetForm
(
'postForm'
);
},
// 导出
handleExport
()
{
this
.
download
(
'/departmentBudgetProjectmx/export'
,
{
...
this
.
queryParams
},
`科室预算查看_
${
Date
.
now
()}
.xlsx`
)
}
}
}
}
</
script
>
</
script
>
<
style
lang=
"scss"
scoped
></
style
>
<
style
lang=
"scss"
scoped
>
\ No newline at end of file
::v-deep
.inline-table
.cell
{
padding
:
0
;
}
.title
{
font-size
:
20px
;
text-align
:
center
;
}
</
style
>
ruoyi-ui/src/views/smartSchool/gradeWork/courseSelection/summerViewing/index.vue
View file @
a8f175e6
<
template
>
<
template
>
<div
class=
"app-container"
>
<el-form
:model=
"queryForm"
ref=
"queryForm"
size=
"small"
:inline=
"true"
label-width=
"70px"
>
<el-form-item
prop=
"studentsName"
>
<el-input
clearable
v-model=
"queryForm.studentsName"
placeholder=
"学生姓名"
@
keyup
.
enter
.
native=
"handleQuery"
></el-input>
</el-form-item>
<el-form-item
prop=
"classId"
>
<el-select
v-model=
"queryForm.classId"
placeholder=
"班级"
clearable
>
<el-option
v-for=
"item in classList"
:key=
"item.id"
:label=
"item.className"
:value=
"item.id"
>
</el-option>
</el-select>
</el-form-item>
<el-form-item
prop=
"majorId"
>
<el-select
v-model=
"queryForm.majorId"
placeholder=
"已选课程"
clearable
>
<el-option
v-for=
"item in majorList"
:key=
"item.id"
:label=
"item.majorName"
:value=
"item.id"
>
</el-option>
</el-select>
</el-form-item>
<el-form-item>
<el-button
type=
"primary"
icon=
"el-icon-search"
size=
"mini"
@
click=
"handleQuery"
>
搜索
</el-button>
<el-button
icon=
"el-icon-refresh"
size=
"mini"
@
click=
"resetQuery"
>
重置
</el-button>
<el-button
icon=
"el-icon-user"
size=
"mini"
@
click=
"shiftRules"
>
分班规则
</el-button>
<el-button
type=
"warning"
plain
icon=
"el-icon-download"
size=
"mini"
@
click=
"handleExport"
>
导出
</el-button>
</el-form-item>
</el-form>
<!-- 表单信息 -->
<el-table
border
v-loading=
"loading"
:row-style=
"
{ height: '35px' }" :cell-style="{ padding: '0' }"
:data="studentsList" style="font-size: 14px" stripe>
<el-table-column
label=
"班级"
prop=
"bj"
align=
"center"
width=
"150px"
/>
<el-table-column
label=
"学生姓名"
prop=
"xsxm"
align=
"center"
width=
"150px"
/>
<el-table-column
label=
"学号"
prop=
"xh"
align=
"center"
/>
<el-table-column
label=
"身份证号"
prop=
"sfzh"
width=
"300px"
align=
"center"
/>
<el-table-column
label=
"成绩"
prop=
"cj"
align=
"center"
/>
<el-table-column
label=
"已选课程"
prop=
"yxkc"
align=
"center"
/>
<el-table-column
label=
"所分班级"
prop=
"sfbj"
align=
"center"
/>
</el-table>
<!-- 分班规则弹窗 -->
<el-dialog
:title=
"title"
:visible
.
sync=
"open"
width=
"800px"
append-to-body
>
<el-form
ref=
"form"
:model=
"form"
:rules=
"rules"
label-width=
"110px"
>
<div>
<div>
<h2>
夏季查看
</h2>
<el-row>
<el-col
:span=
"12"
>
<el-form-item
label=
"分班规则"
prop=
"fbgz"
>
<el-radio-group
v-model=
"postForm.fbgz"
>
<el-radio
label=
'1'
>
平行分班
</el-radio>
<el-radio
label=
'0'
>
分层分班
</el-radio>
</el-radio-group>
</el-form-item>
</el-col>
</el-row>
<el-row>
<!-- :label="` $
{postForm.yxkc}`" -->
<el-col
:span=
"8"
>
<el-form-item
prop=
"yxkc"
label=
"史政地"
:style=
"
{ width: '100%' }">
<el-input
v-model=
"postForm.classCount"
placeholder=
"班级数量"
></el-input>
</el-form-item>
</el-col>
<el-col
:span=
"5"
>
<el-input
v-model=
"postForm.studentCount"
placeholder=
"每班人数"
></el-input>
</el-col>
</el-row>
<el-row>
<!-- :label="` $
{postForm.yxkc}`" -->
<el-col
:span=
"8"
>
<el-form-item
prop=
"yxkc"
label=
"物理化"
:style=
"
{ width: '100%' }">
<el-input
v-model=
"postForm.classCount"
placeholder=
"班级数量"
></el-input>
</el-form-item>
</el-col>
<el-col
:span=
"5"
>
<el-input
v-model=
"postForm.studentCount"
placeholder=
"每班人数"
></el-input>
</el-col>
</el-row>
</div>
</el-form>
<div
style=
"text-align: center"
>
<el-button
type=
"primary"
@
click=
"submitForm"
>
确 定
</el-button>
<el-button
@
click=
"cancel"
>
取 消
</el-button>
</div>
</el-dialog>
<!--
<pagination
v-show=
"total > 0"
:total=
"total"
:page
.
sync=
"queryForm.pageNum"
:limit
.
sync=
"queryForm.pageSize"
@
pagination=
"getList"
/>
-->
</div>
</div>
</
template
>
</
template
>
<
script
>
<
script
>
import
{
getksBudgetList
,
//查询科室预算填报项目明细列表
depBudget
//查看详情
}
from
'@/api/smartSchool/logisticsManage/departmentBudgetview'
export
default
{
export
default
{
name
:
"springView"
,
data
()
{
return
{
// 已选课程
yxkc
:
""
,
//人数
rs
:
''
,
majorList
:
[],
classList
:
[],
// 查询表单
queryForm
:
{
studentsName
:
''
,
classId
:
''
,
majorId
:
''
,
pageNum
:
1
,
pageSize
:
10
},
form
:
{
rwfb
:
''
,
sj
:
''
,
jb
:
''
},
// 遮罩层
loading
:
false
,
total
:
0
,
// 信息列表
studentsList
:
[
{
id
:
1
,
bj
:
'一班'
,
xsxm
:
'张三'
,
xh
:
'2018001'
,
sfzh
:
'123456789012345678'
,
cj
:
'500'
,
yxkc
:
'物理化'
,
sfbj
:
'物理化一班'
},
{
id
:
2
,
bj
:
'一班'
,
xsxm
:
'张三'
,
xh
:
'2018001'
,
sfzh
:
'123456789012345678'
,
cj
:
'500'
,
yxkc
:
'物理化'
,
sfbj
:
'物理化一班'
},
{
id
:
3
,
bj
:
'一班'
,
xsxm
:
'张三'
,
xh
:
'2018001'
,
sfzh
:
'123456789012345678'
,
cj
:
'500'
,
yxkc
:
'物理化'
,
sfbj
:
'物理化一班'
}
],
// 新增/编辑表单
postForm
:
{
yxkc
:
'物理化'
,
},
fbgz
:
''
,
// 查看表格
lookTable
:
[],
options
:
[],
// 是否显示弹出层
open
:
false
,
// 查看弹窗
openLook
:
false
,
// 校验规则
rules
:
{
},
// 弹出层标题
title
:
''
,
// 是否禁用删除按钮--项目明细
multiple
:
false
,
// 选中数据的值数组
selectItems
:
[],
// 科室列表
deptOptions
:
[],
}
},
created
()
{
// this.getList();
},
methods
:
{
// 获取列表
// getList() {
// getksBudgetList(this.queryForm).then(response => {
// this.loading = false;
// this.studentsList = response.rows;
// this.postForm.yxkc = response.rows.yxkc;
// console.log(111, response.rows);
// this.total = response.total;
// }).catch(err => {
// this.loading = false;
// })
// },
// 分班规则
shiftRules
()
{
this
.
reset
();
this
.
open
=
true
;
this
.
title
=
"分班规则"
;
},
// 搜索按钮
handleQuery
()
{
this
.
getList
();
},
// 重置按钮
resetQuery
()
{
this
.
queryForm
=
{
pageNum
:
1
,
pageSize
:
10
};
this
.
resetForm
(
"queryForm"
);
this
.
handleQuery
();
},
// 重置
reset
()
{
this
.
postForm
=
{
}
this
.
resetForm
(
'postForm'
);
},
// 取消按钮
cancel
()
{
this
.
open
=
false
;
this
.
openLook
=
false
;
this
.
reset
();
this
.
resetForm
(
'postForm'
);
},
// 导出
handleExport
()
{
this
.
download
(
'/departmentBudgetProjectmx/export'
,
{
...
this
.
queryParams
},
`科室预算查看_
${
Date
.
now
()}
.xlsx`
)
},
// 分班按钮
submitForm
()
{
this
.
$refs
.
form
.
validate
((
valid
)
=>
{
if
(
valid
)
{
submitRepairs
(
this
.
form
)
.
then
((
response
)
=>
{
this
.
$modal
.
msgSuccess
(
"反馈成功"
);
this
.
openfk
=
false
;
this
.
formfk
.
maintainResult
=
''
;
this
.
getList
();
})
.
catch
((
error
)
=>
{
// 处理错误
});
}
else
{
return
false
;
}
});
},
}
}
}
</
script
>
</
script
>
<
style
lang=
"scss"
scoped
></
style
>
<
style
lang=
"scss"
scoped
>
\ No newline at end of file
::v-deep
.inline-table
.cell
{
padding
:
0
;
}
.title
{
font-size
:
20px
;
text-align
:
center
;
}
.el-col
{
margin-right
:
10px
;
}
</
style
>
ruoyi-ui/src/views/smartSchool/gradeWork/courseSelection/taskPublishing/index.vue
View file @
a8f175e6
<
template
>
<
template
>
<div
class=
"app-container"
>
<el-form
:model=
"queryForm"
ref=
"queryForm"
size=
"small"
:inline=
"true"
label-width=
"100px"
>
<el-form-item
prop=
"rwmc"
>
<el-input
v-model=
"queryForm.activityName"
placeholder=
"任务名称"
></el-input>
</el-form-item>
<el-form-item
prop=
"jb"
>
<el-input
v-model=
"queryForm.activityName"
placeholder=
"级部"
></el-input>
</el-form-item>
<el-form-item>
<el-button
type=
"primary"
icon=
"el-icon-circle-plus"
size=
"mini"
@
click=
"handleAdd"
>
新增
</el-button>
<el-button
type=
"primary"
icon=
"el-icon-search"
size=
"mini"
@
click=
"handleQuery"
>
搜索
</el-button>
<el-button
icon=
"el-icon-refresh"
size=
"mini"
@
click=
"resetQuery"
>
重置
</el-button>
</el-form-item>
</el-form>
<!-- 列表 -->
<div>
<div>
<h2>
任务发布
</h2>
<el-row>
<el-col
:span=
"24"
>
<el-card
v-for=
"(task, index) in tasks"
:key=
"index"
class=
"task-card"
>
<!-- 任务详细信息 -->
<div
class=
"task-info"
>
<div
class=
"left"
>
<div
class=
"task-name"
>
<div>
{{
task
.
name
}}
</div>
</div>
<div
class=
"task-level"
>
<span>
级部:
{{
task
.
level
}}
</span>
<span>
创建人:
{{
task
.
creator
}}
</span>
</div>
<div
class=
"task-time"
>
<div>
创建时间:
{{
task
.
createTime
}}
</div>
</div>
</div>
<div
class=
"right"
>
<!-- 右上角显示已选人数/全部人数 -->
<div
class=
"task-count"
>
<div
class=
"count"
>
{{
task
.
selectedCount
}}
/
{{
task
.
totalCount
}}
</div>
<div
class=
"sun"
>
已选人数/总人数
</div>
</div>
<!-- 右下角按钮 -->
<div
class=
"task-buttons"
>
<el-button
size=
"mini"
type=
"text"
icon=
"el-icon-edit"
@
click=
"handleUpdate()"
>
修改
</el-button>
<el-button
type=
"text"
size=
"small"
icon=
"el-icon-edit"
@
click=
"performance()"
>
成绩管理
</el-button>
<el-button
type=
"text"
size=
"small"
@
click=
"courseSelectionsituation()"
>
选课情况
</el-button>
<el-button
type=
"text"
size=
"small"
@
click=
"springView()"
>
春季选课情况
</el-button>
<el-button
type=
"text"
size=
"small"
@
click=
"artisticView()"
>
艺体选课情况
</el-button>
<el-button
type=
"text"
size=
"small"
@
click=
"summerViewing()"
>
夏季选课情况
</el-button>
<el-button
type=
"text"
size=
"small"
@
click=
"secondaryDivision()"
>
夏季二次选课
</el-button>
</div>
</div>
</div>
</el-card>
</el-col>
</el-row>
</div>
<!-- 新增/修改弹窗 -->
<el-dialog
:title=
"title"
:visible
.
sync=
"open"
width=
"900px"
append-to-body
>
<el-form
ref=
"form"
:model=
"form"
:rules=
"rules"
label-width=
"110px"
>
<div>
<el-row>
<el-col
:span=
"12"
>
<el-form-item
label=
"任务发布"
prop=
"rwfb"
>
<el-input
v-model=
"form.rwfb"
placeholder=
"请输入"
></el-input>
</el-form-item>
</el-col>
</el-row>
<el-row>
<el-col
:span=
"12"
>
<el-form-item
label=
"发布时间"
prop=
"rwfb"
>
<el-date-picker
v-model=
"form.sj"
type=
"daterange"
range-separator=
"至"
start-placeholder=
"开始日期"
end-placeholder=
"结束日期"
:style=
"
{ width: '100%' }">
</el-date-picker>
</el-form-item>
</el-col>
</el-row>
<el-row>
<el-col
:span=
"12"
>
<el-form-item
label=
"级部"
prop=
"jb"
>
<el-input
v-model=
"form.jb"
placeholder=
"请输入"
></el-input>
</el-form-item>
</el-col>
</el-row>
</div>
</el-form>
<div
style=
"text-align: center"
>
<el-button
type=
"primary"
@
click=
"submitForm"
>
确 定
</el-button>
<el-button
@
click=
"cancel"
>
取 消
</el-button>
</div>
</el-dialog>
</div>
</div>
</
template
>
</
template
>
<
script
setup
>
<
script
>
export
default
{
name
:
'courseSelection'
,
data
()
{
return
{
tasks
:
[{
name
:
'高一选课'
,
level
:
'高一'
,
creator
:
'张三'
,
createTime
:
'2020-09-01'
,
selectedCount
:
100
,
totalCount
:
200
,
},
{
name
:
'高一选课'
,
level
:
'高一'
,
creator
:
'张三'
,
createTime
:
'2021-09-01'
,
selectedCount
:
100
,
totalCount
:
200
,
},
],
queryForm
:
{
startTime
:
""
,
endTime
:
""
,
pageNum
:
1
,
pageSize
:
10
,
},
form
:
{
},
//新增弹窗
open
:
false
,
rules
:
{},
// 加载遮罩
loading
:
true
,
// 记录条数
total
:
0
,
title
:
""
,
// 记录列表
AppointmentList
:
[],
// 详情
look
:
false
,
};
},
methods
:
{
/** 获取列表数据 */
getList
()
{
listAuditor
(
params
).
then
(
response
=>
{
this
.
loading
=
false
;
this
.
infoList
=
response
.
rows
;
console
.
log
(
111
,
response
.
rows
);
this
.
total
=
response
.
total
;
}).
catch
(
err
=>
{
this
.
loading
=
false
;
})
},
//新增按钮操作
handleAdd
()
{
this
.
reset
();
this
.
open
=
true
;
this
.
title
=
"新增任务发布"
;
},
// 成绩管理按钮
performance
()
{
this
.
$router
.
push
({
path
:
"/performance"
,
query
:
{
// id: this.task.id
}
});
},
// 选课情况按钮
courseSelectionsituation
()
{
this
.
$router
.
push
({
path
:
"/courseSelectionsituation"
,
query
:
{
// id: this.task.id
}
});
},
// 春季选课按钮
springView
()
{
this
.
$router
.
push
({
path
:
"/springView"
,
query
:
{
// id: this.task.id
}
});
},
//艺体选课按钮
artisticView
()
{
this
.
$router
.
push
({
path
:
"/artisticView"
,
query
:
{
// id: this.task.id
}
});
},
//夏季选课按钮
summerViewing
()
{
this
.
$router
.
push
({
path
:
"/summerViewing"
,
query
:
{
// id: this.task.id
}
});
},
//夏季二次选课按钮
secondaryDivision
()
{
this
.
$router
.
push
({
path
:
"/secondaryDivision"
,
query
:
{
// id: this.task.id
}
});
},
// 取消按钮
cancel
()
{
this
.
open
=
false
;
// this.resetQuery();
this
.
reset
();
},
// 搜索按钮
handleQuery
()
{
this
.
throttle
(()
=>
{
this
.
queryForm
.
pageNum
=
1
;
this
.
getList
();
});
},
/** 重置按钮操作 */
resetQuery
()
{
this
.
dateRange
=
[];
this
.
resetForm
(
"queryForm"
);
this
.
handleQuery
();
},
// 提交表单
submitForm
()
{
this
.
throttle
(()
=>
{
this
.
$refs
[
"postForm"
].
validate
(
valid
=>
{
if
(
valid
)
{
this
.
$modal
.
loading
(
'正在上传数据,请稍等...'
);
if
(
this
.
postForm
.
id
!=
null
)
{
// 编辑
this
.
postForm
.
isGov
=
this
.
postForm
.
isGov
;
// 设置 isGov 字段的值
editBudget
(
this
.
postForm
).
then
(
response
=>
{
this
.
$modal
.
closeLoading
();
this
.
$modal
.
msgSuccess
(
"修改成功"
);
this
.
open
=
false
;
this
.
getList
();
}).
catch
(
err
=>
{
this
.
$modal
.
closeLoading
();
});
}
else
{
// 新增
this
.
postForm
.
isGov
=
this
.
postForm
.
isGov
;
// 设置 isGov 字段的值
addBudget
(
this
.
postForm
).
then
(
response
=>
{
console
.
log
(
'this.postForm'
,
this
.
postForm
);
this
.
$modal
.
closeLoading
();
console
.
log
(
this
);
this
.
$modal
.
msgSuccess
(
"新增成功"
);
this
.
open
=
false
;
this
.
getList
();
}).
catch
(
err
=>
{
this
.
$modal
.
closeLoading
();
});
}
}
});
})
},
// 编辑按钮
handleUpdate
()
{
this
.
title
=
'修改'
;
this
.
open
=
true
;
// queryBudget(row.id).then(response => {
// this.postForm = response.data;
// console.log('this.postForm', this.postForm);
// this.$modal.closeLoading();
// }).catch(err => {
// this.$modal.closeLoading();
// })
},
// 重置表单
reset
()
{
// 这里需要重置对话框表单
this
.
postForm
=
{
};
this
.
resetForm
(
'postForm'
);
},
},
};
</
script
>
</
script
>
<
style
lang=
"scss"
scoped
></
style
>
<
style
lang=
"scss"
scoped
>
\ No newline at end of file
.task-name
{
color
:
rgba
(
136
,
136
,
136
,
1
);
font-size
:
42px
;
text-align
:
left
;
font-family
:
SourceHanSansSC-regular
;
margin-bottom
:
40px
;
}
.task-level
{
margin-bottom
:
10px
;
color
:
rgba
(
108
,
108
,
108
,
1
);
font-size
:
13px
;
text-align
:
left
;
font-family
:
SourceHanSansSC-regular
;
}
.task-level
>
span
{
margin-right
:
25px
;
}
.task-time
{
color
:
rgba
(
108
,
108
,
108
,
1
);
font-size
:
13px
;
text-align
:
left
;
font-family
:
SourceHanSansSC-regular
;
}
.task-info
{
display
:
flex
;
flex-direction
:
row
;
justify-content
:
space-between
;
}
.right
{
margin-top
:
1.5rem
;
display
:
flex
;
flex-direction
:
column
;
margin-top
:
12px
;
}
.task-count
{
margin-left
:
50%
;
//
margin-top
:
-10px
;
}
.task-count
>
.count
{
color
:
rgba
(
90
,
123
,
244
,
1
);
font-size
:
38px
;
font-weight
:
bold
;
//
text-align
:
center
;
margin-left
:
-8%
;
font-family
:
PMZDBiaoTi-regular
;
}
.task-count
>
.sun
{
color
:
rgba
(
16
,
16
,
16
,
1
);
font-size
:
18px
;
text-align
:
left
;
font-weight
:
bold
;
font-family
:
SourceHanSansSC-regular
;
}
.task-buttons
{
margin-top
:
20px
;
}
.el-card
{
margin-bottom
:
20px
;
}
.left
{
margin-left
:
30px
;
}
</
style
>
ruoyi-ui/src/views/smartSchool/logisticsManage/repairReport/index copy.vue
View file @
a8f175e6
...
@@ -320,7 +320,6 @@
...
@@ -320,7 +320,6 @@
<!--反馈结果对话框 -->
<!--反馈结果对话框 -->
<el-dialog
:title=
"title"
:visible
.
sync=
"openfk"
width=
"1100px"
append-to-body
@
close=
"cancel"
>
<el-dialog
:title=
"title"
:visible
.
sync=
"openfk"
width=
"1100px"
append-to-body
@
close=
"cancel"
>
<el-form
ref=
"formfk"
:model=
"formfk"
:rules=
"rules"
label-width=
"100px"
>
<el-form
ref=
"formfk"
:model=
"formfk"
:rules=
"rules"
label-width=
"100px"
>
<el-form-item
label=
"报修单号"
prop=
"id"
>
<el-form-item
label=
"报修单号"
prop=
"id"
>
...
...
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