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
51fd68fa
Commit
51fd68fa
authored
Jul 19, 2023
by
zhaopanyu
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
zpy 7.19
parent
2a23e4fd
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
18 changed files
with
403 additions
and
141 deletions
+403
-141
ruoyi-ui/src/api/smartSchool/indexMould/myTask/audApplicationapproval/index.js
+29
-0
ruoyi-ui/src/api/smartSchool/indexMould/myTask/depBudgetapproval/index.js
+29
-0
ruoyi-ui/src/api/smartSchool/personWork/auditoriumReservation/index.js
+5
-11
ruoyi-ui/src/enums/home/index.js
+2
-2
ruoyi-ui/src/views/smartSchool/indexMould/myTask/audApplicationapproval/components/auhandleResolv.vue
+1
-0
ruoyi-ui/src/views/smartSchool/indexMould/myTask/audApplicationapproval/components/auhishandleResolve.vue
+1
-0
ruoyi-ui/src/views/smartSchool/indexMould/myTask/audApplicationapproval/components/auinfo.vue
+33
-20
ruoyi-ui/src/views/smartSchool/indexMould/myTask/audApplicationapproval/components/autaskResolve.vue
+6
-3
ruoyi-ui/src/views/smartSchool/indexMould/myTask/audApplicationapproval/index.vue
+47
-39
ruoyi-ui/src/views/smartSchool/indexMould/myTask/depBudgetapproval/components/deinfo.vue
+11
-9
ruoyi-ui/src/views/smartSchool/indexMould/myTask/depBudgetapproval/components/detaskResolve.vue
+1
-1
ruoyi-ui/src/views/smartSchool/indexMould/myTask/depBudgetapproval/index.vue
+26
-27
ruoyi-ui/src/views/smartSchool/officialWork/budgetFilling/components/SelectUser.vue
+193
-0
ruoyi-ui/src/views/smartSchool/officialWork/budgetFilling/index.vue
+0
-0
ruoyi-ui/src/views/smartSchool/personWork/auditoriumReservation/components/SelectUser.vue
+19
-29
ruoyi-ui/src/views/smartSchool/personWork/auditoriumReservation/index.vue
+0
-0
ruoyi-ui/src/views/smartSchool/personWork/recordingroomAppointment/IdleSituation/index.vue
+0
-0
ruoyi-ui/src/views/smartSchool/personWork/recordingroomAppointment/myAppointment/index.vue
+0
-0
No files found.
ruoyi-ui/src/api/smartSchool/indexMould/myTask/audApplicationapproval/index.js
0 → 100644
View file @
51fd68fa
import
request
from
"@/utils/request"
;
// 礼堂申请审批待办列表
export
function
audiDetail
(
data
)
{
return
request
({
url
:
"/auditorium/taskList"
,
method
:
"get"
,
data
:
data
,
});
}
/** 礼堂预约申请审批*/
export
function
completelt
({
taskId
,
instanceId
,
comment
,
pass
})
{
return
request
({
url
:
`/auditorium/complete/
${
taskId
}
/
${
instanceId
}
`
,
method
:
"post"
,
data
:
{
comment
,
pass
,
},
});
}
// 查询礼堂申请已办列表
export
function
taskDoneList
()
{
return
request
({
url
:
"/auditorium/taskDoneList"
,
method
:
"get"
,
});
}
ruoyi-ui/src/api/smartSchool/indexMould/myTask/depBudgetapproval/index.js
0 → 100644
View file @
51fd68fa
import
request
from
"@/utils/request"
;
// 查看科室预算待办列表
export
function
departiDetail
(
data
)
{
return
request
({
url
:
"/departmentBudget/taskList"
,
method
:
"get"
,
data
:
data
,
});
}
/** 科室预算填报审批*/
export
function
complete
({
taskId
,
instanceId
,
comment
,
pass
})
{
return
request
({
url
:
`departmentBudget/complete/
${
taskId
}
/
${
instanceId
}
`
,
method
:
"post"
,
data
:
{
comment
,
pass
,
},
});
}
// 查看科室预算已办列表
export
function
taskDoneList
()
{
return
request
({
url
:
"/departmentBudget/taskDoneList"
,
method
:
"get"
,
});
}
ruoyi-ui/src/api/smartSchool/personWork/auditoriumReservation/index.js
View file @
51fd68fa
...
...
@@ -3,13 +3,12 @@ import request from "@/utils/request";
// 查询礼堂预约列表
export
function
listAuditor
(
query
)
{
return
request
({
url
:
"/auditorium/list"
,
url
:
"/auditorium/list
Gr
"
,
method
:
"get"
,
params
:
query
,
});
}
// 新增礼堂预约
export
function
addAuditor
(
data
)
{
return
request
({
...
...
@@ -49,18 +48,13 @@ export function submitAuditor(id) {
url
:
"/auditorium/submitApply/"
+
id
,
method
:
"post"
,
});
}
}
//获取校领导下拉框
export
function
get
GradeOfficeDirectorList
(
)
{
export
function
get
LeaderList
(
data
)
{
return
request
({
url
:
"/school/teacherLeave/getSchoolLeader"
,
params
:
form
,
url
:
"/school/teacherLeave/getSchoolLeader"
,
method
:
"get"
,
params
:
data
,
});
}
ruoyi-ui/src/enums/home/index.js
View file @
51fd68fa
...
...
@@ -46,13 +46,13 @@ export const approves = [
},
{
label
:
"礼堂申请审批"
,
name
:
"aud
Applicationapproval
"
,
name
:
"aud
itoriumNum
"
,
icon
:
"food"
,
path
:
"/indexMould/myTask/audApplicationapproval"
,
},
{
label
:
"科室预算审批"
,
name
:
"dep
Budgetapproval
"
,
name
:
"dep
artmentBudgetNum
"
,
icon
:
"teacher"
,
path
:
"/indexMould/myTask/depBudgetapproval"
,
},
...
...
ruoyi-ui/src/views/smartSchool/indexMould/myTask/audApplicationapproval/components/auhandleResolv.vue
View file @
51fd68fa
<
template
>
<!-- 办理 -->
<div
style=
"height: 100%;"
>
<el-dialog
:visible
.
sync=
"open"
:modal=
"false"
:fullscreen=
"true"
:modal-append-to-body=
"false"
:show-close=
"false"
>
<template
slot=
"title"
>
...
...
ruoyi-ui/src/views/smartSchool/indexMould/myTask/audApplicationapproval/components/auhishandleResolve.vue
View file @
51fd68fa
<
template
>
<!-- 历史 -->
<div
style=
"height: 100%;"
>
<el-dialog
:visible
.
sync=
"open"
:modal=
"false"
:fullscreen=
"true"
:modal-append-to-body=
"false"
:show-close=
"false"
>
<template
slot=
"title"
>
...
...
ruoyi-ui/src/views/smartSchool/indexMould/myTask/audApplicationapproval/components/auinfo.vue
View file @
51fd68fa
...
...
@@ -8,32 +8,40 @@
<el-row
:gutter=
"20"
>
<el-col
:span=
"12"
>
<el-form-item
label=
"活动名称"
>
<el-input
:value=
"infoForm.
purchase
Name"
></el-input>
<el-input
:value=
"infoForm.
activity
Name"
></el-input>
</el-form-item>
<el-form-item
label=
"活动
地点
"
>
<el-input
:value=
"infoForm.
budgetName
"
></el-input>
<el-form-item
label=
"活动
场地
"
>
<el-input
:value=
"infoForm.
activityArea
"
></el-input>
</el-form-item>
<el-form-item
label=
"负责人"
>
<el-input
:value=
"infoForm.purchaseMoney"
></el-input>
<el-input
:value=
"infoForm.specificUserName"
></el-input>
</el-form-item>
<el-form-item
label=
"活动人数"
>
<el-input
:value=
"infoForm.activityNumber"
></el-input>
</el-form-item>
<el-form-item
label=
"活动人数"
>
<el-input
:value=
"infoForm.deptName"
></el-input>
</el-form-item>
</el-col>
<el-col
:span=
"12"
>
<el-form-item
label=
"是否彩排"
>
<el-input
:value=
"infoForm.
deptName
"
></el-input>
<el-input
:value=
"infoForm.
isRehearsal
"
></el-input>
</el-form-item>
<el-form-item
label=
"书否录像"
>
<el-input
:value=
"infoForm.applyUser"
></el-input>
</el-col>
<el-col
:span=
"12"
>
<el-form-item
label=
"是否录像"
>
<el-input
:value=
"infoForm.isRehearsal"
></el-input>
</el-form-item>
<el-form-item
label=
"是否直播"
>
<el-input
:value=
"infoForm.expectedDate"
></el-input>
<el-input
:value=
"infoForm.isLive"
></el-input>
</el-form-item>
<el-form-item
label=
"申请部门"
>
<el-input
:value=
"infoForm.applyDept"
></el-input>
</el-form-item>
<el-form-item
label=
"申请人"
>
<el-input
:value=
"infoForm.applyName"
></el-input>
</el-form-item>
<el-form-item
label=
"申请部门
"
>
<el-input
:value=
"infoForm.expectedDat
e"
></el-input>
</el-form-item>
<el-form-item
label=
"申请时间
"
>
<el-input
:value=
"infoForm.applyTim
e"
></el-input>
</el-form-item>
</el-col>
</el-row>
</el-form>
...
...
@@ -45,8 +53,12 @@
</
template
>
<
script
>
import
{
purchaseApprovalDetail
}
from
"@/api/smartSchool/indexMould/myTask/teacherLeaveInfo"
;
import
TaskResolve
from
"@/views/smartSchool/indexMould/myTask/purchaseApproval/components/TaskResolve.vue"
import
{
getAuditor
,
// 查看详情
}
from
"@/api/smartSchool/personWork/auditoriumReservation"
;
import
TaskResolve
from
"@/views/smartSchool/indexMould/myTask/audApplicationapproval/components/autaskResolve.vue"
export
default
{
name
:
"auinfo"
,
...
...
@@ -104,8 +116,9 @@ export default {
methods
:
{
/** 获取详情 */
getDetailInfo
()
{
purchaseApprovalDetail
(
this
.
id
).
then
(
res
=>
{
getAuditor
(
this
.
id
).
then
(
res
=>
{
this
.
infoForm
=
res
.
data
console
.
log
(
111
,
this
.
infoForm
);
})
},
...
...
ruoyi-ui/src/views/smartSchool/indexMould/myTask/audApplicationapproval/components/autaskResolve.vue
View file @
51fd68fa
...
...
@@ -35,8 +35,11 @@
</
template
>
<
script
>
import
{
complete
}
from
"@/api/smartSchool/index/purchaseApproval.js"
;
import
{
completelt
,
/** 礼堂预约申请审批*/
}
from
"@/api/smartSchool/indexMould/myTask/audApplicationapproval"
;
export
default
{
name
:
"TaskResolve"
,
dicts
:
[
'template_comments'
,
'apply_results'
],
...
...
@@ -54,7 +57,7 @@ export default {
return
{
postForm
:
{
comment
:
''
,
pass
:
"
1
"
,
pass
:
"
true
"
,
},
// 意见模板
templateComment
:
''
,
...
...
@@ -86,7 +89,7 @@ export default {
if
(
valid
)
{
this
.
$modal
.
loading
(
'正在提交数据,请稍等...'
);
complete
({
complete
lt
({
taskId
:
this
.
$attrs
.
taskId
,
instanceId
:
this
.
instanceId
,
comment
:
this
.
postForm
.
comment
,
...
...
ruoyi-ui/src/views/smartSchool/indexMould/myTask/audApplicationapproval/index.vue
View file @
51fd68fa
...
...
@@ -11,22 +11,22 @@
</el-tab-pane>
</el-tabs>
</div>
<div
class=
"task-right-content"
>
<el-form
:model=
"queryParams"
:inline=
"true"
style=
"padding:0 0 0 0"
size=
"small"
>
</el-form>
<el-table
:data=
"tableData"
v-loading=
"loading"
>
<el-table
:data=
"tableData"
>
<el-table-column
prop=
"lesson"
label=
"序号"
width=
"60"
type=
"index"
align=
"center"
style=
"height: 20px;"
/>
<el-table-column
prop=
"
hdmc
"
label=
"活动名称"
align=
"center"
/>
<el-table-column
label=
"活动地点"
align=
"center"
prop=
"
budgetName
"
/>
<el-table-column
label=
"负责人"
align=
"center"
prop=
"
purchaseMoney
"
/>
<el-table-column
label=
"活动人数"
align=
"center"
prop=
"
expectedDate
"
/>
<el-table-column
prop=
"
deptName
"
label=
"是否彩排"
align=
"center"
/>
<el-table-column
label=
"是否录像"
align=
"center"
prop=
"
applyUser
"
/>
<el-table-column
label=
"是否直播"
align=
"center"
prop=
"
sfzb
"
/>
<el-table-column
label=
"申请部门"
align=
"center"
prop=
"apply
depar
t"
/>
<el-table-column
label=
"申请人"
align=
"center"
prop=
"apply
peopl
e"
/>
<el-table-column
prop=
"
activityName
"
label=
"活动名称"
align=
"center"
/>
<el-table-column
label=
"活动地点"
align=
"center"
prop=
"
activityArea
"
/>
<el-table-column
label=
"负责人"
align=
"center"
prop=
"
specificUserName
"
/>
<el-table-column
label=
"活动人数"
align=
"center"
prop=
"
activityNumber
"
/>
<el-table-column
prop=
"
isRehearsal
"
label=
"是否彩排"
align=
"center"
/>
<el-table-column
label=
"是否录像"
align=
"center"
prop=
"
isVideo
"
/>
<el-table-column
label=
"是否直播"
align=
"center"
prop=
"
isVideo
"
/>
<el-table-column
label=
"申请部门"
align=
"center"
prop=
"apply
Dep
t"
/>
<el-table-column
label=
"申请人"
align=
"center"
prop=
"apply
Nam
e"
/>
<el-table-column
label=
"申请时间"
align=
"center"
prop=
"applyTime"
/>
<el-table-column
label=
"操作"
align=
"center"
width=
"80"
>
<template
slot-scope=
"scope"
>
...
...
@@ -61,11 +61,9 @@
<
script
>
import
{
queryMyClaim
,
getTaskDoneList
,
complete
,
getTaskListe
,
}
from
"@/api/smartSchool/index/purchaseApproval.js"
;
taskDoneList
,
//查询礼堂申请已办列表
audiDetail
,
// 礼堂申请审批待办列表
}
from
"@/api/smartSchool/indexMould/myTask/audApplicationapproval"
;
import
auhandleResolv
from
"@/views/smartSchool/indexMould/myTask/audApplicationapproval/components/auhandleResolv.vue"
;
import
hisHandleResolve
from
"@/views/smartSchool/indexMould/myTask/audApplicationapproval/components/auhishandleResolve.vue"
;
...
...
@@ -84,9 +82,7 @@ export default {
// pageSize: 10,
},
tableData
:
[
{
hdmc
:
'活动'
,
}
],
// 存储行数据
rowData
:
{},
...
...
@@ -115,7 +111,7 @@ export default {
console
.
log
(
"历史人物"
)
this
.
isTaskListe
=
false
this
.
loading
=
true
;
getT
askDoneList
().
then
((
response
)
=>
{
t
askDoneList
().
then
((
response
)
=>
{
this
.
tableData
=
response
.
rows
this
.
total
=
response
.
total
this
.
loading
=
false
...
...
@@ -124,7 +120,7 @@ export default {
console
.
log
(
"金额人物"
)
this
.
loading
=
true
;
this
.
isTaskListe
=
true
getTaskListe
().
then
((
response
)
=>
{
audiDetail
().
then
((
response
)
=>
{
this
.
tableData
=
response
.
rows
this
.
total
=
response
.
total
this
.
loading
=
false
...
...
@@ -140,12 +136,12 @@ export default {
pageSize
:
10
,
}
this
.
isTaskListe
=
true
// getTaskListe
().then((response) => {
//
this.tableData = response.rows
//
// console.log(response.rows);
//
this.loading = false
audiDetail
().
then
((
response
)
=>
{
this
.
tableData
=
response
.
rows
// console.log(response.rows);
this
.
loading
=
false
//
});
});
},
// 搜索查询
...
...
@@ -154,7 +150,7 @@ export default {
this
.
isTaskListe
=
true
// console.log(445566);
getTaskListe
(
this
.
queryParams
.
purchaseName
).
then
((
response
)
=>
{
audiDetail
(
this
.
queryParams
.
purchaseName
).
then
((
response
)
=>
{
// this.tableData = response.rows
console
.
log
(
response
.
rows
);
// this.loading = false
...
...
@@ -178,12 +174,18 @@ export default {
this
.
process
.
id
=
row
.
id
;
this
.
process
.
taskId
=
row
.
taskId
;
this
.
process
.
readOnly
=
readOnly
;
// 主要用来判断是否为历史任务。或者是申请人查看
this
.
rowData
.
purchaseName
=
row
.
purchaseName
this
.
rowData
.
applyUser
=
row
.
applyUser
this
.
rowData
.
deptName
=
row
.
deptName
this
.
rowData
.
expectedDate
=
row
.
expectedDate
this
.
rowData
.
purchaseMoney
=
row
.
purchaseMoney
this
.
rowData
.
budgetName
=
row
.
budgetName
this
.
rowData
.
applyUserName
=
row
.
applyUserName
;
this
.
rowData
.
activityName
=
row
.
activityName
;
this
.
rowData
.
activityArea
=
row
.
activityArea
;
this
.
rowData
.
activityTime
=
row
.
activityTime
;
this
.
rowData
.
htNumber
=
row
.
htNumber
;
this
.
rowData
.
specificUserName
=
row
.
specificUserName
;
this
.
rowData
.
activityNumber
=
row
.
activityNumber
;
this
.
rowData
.
isRehearsal
=
row
.
isRehearsal
;
this
.
rowData
.
isVideo
=
row
.
isVideo
;
this
.
rowData
.
isBigScreen
=
row
.
isBigScreen
;
this
.
rowData
.
applyName
=
row
.
applyName
;
this
.
rowData
.
applyDept
=
row
.
applyDept
;
},
/**历史 */
...
...
@@ -194,12 +196,18 @@ export default {
this
.
process
.
id
=
row
.
id
;
this
.
process
.
taskId
=
row
.
taskId
;
this
.
process
.
readOnly
=
readOnly
;
// 主要用来判断是否为历史任务。或者是申请人查看
this
.
rowData
.
purchaseName
=
row
.
purchaseName
this
.
rowData
.
applyUser
=
row
.
applyUser
this
.
rowData
.
deptName
=
row
.
deptName
this
.
rowData
.
expectedDate
=
row
.
expectedDate
this
.
rowData
.
purchaseMoney
=
row
.
purchaseMoney
this
.
rowData
.
budgetName
=
row
.
budgetName
this
.
rowData
.
applyUserName
=
row
.
applyUserName
;
this
.
rowData
.
activityName
=
row
.
activityName
;
this
.
rowData
.
activityArea
=
row
.
activityArea
;
this
.
rowData
.
activityTime
=
row
.
activityTime
;
this
.
rowData
.
htNumber
=
row
.
htNumber
;
this
.
rowData
.
specificUserName
=
row
.
specificUserName
;
this
.
rowData
.
activityNumber
=
row
.
activityNumber
;
this
.
rowData
.
isRehearsal
=
row
.
isRehearsal
;
this
.
rowData
.
isVideo
=
row
.
isVideo
;
this
.
rowData
.
isBigScreen
=
row
.
isBigScreen
;
this
.
rowData
.
applyName
=
row
.
applyName
;
this
.
rowData
.
applyDept
=
row
.
applyDept
;
},
},
...
...
ruoyi-ui/src/views/smartSchool/indexMould/myTask/depBudgetapproval/components/deinfo.vue
View file @
51fd68fa
...
...
@@ -8,18 +8,18 @@
<el-row
:gutter=
"20"
>
<el-col
:span=
"12"
>
<el-form-item
label=
"科室"
>
<el-input
:value=
"infoForm.
purchase
Name"
></el-input>
<el-input
:value=
"infoForm.
dept
Name"
></el-input>
</el-form-item>
<el-form-item
label=
"填报人"
>
<el-input
:value=
"infoForm.
budgetName
"
></el-input>
<el-input
:value=
"infoForm.
informant
"
></el-input>
</el-form-item>
</el-col>
<el-col
:span=
"12"
>
<el-form-item
label=
"分管领导"
>
<el-input
:value=
"infoForm.
dept
Name"
></el-input>
<el-input
:value=
"infoForm.
leadership
Name"
></el-input>
</el-form-item>
<el-form-item
label=
"填报时间"
>
<el-input
:value=
"infoForm.
applyUser
"
></el-input>
<el-input
:value=
"infoForm.
tbTime
"
></el-input>
</el-form-item>
</el-col>
...
...
@@ -33,13 +33,15 @@
</
template
>
<
script
>
import
{
purchaseApprovalDetail
}
from
"@/api/smartSchool/indexMould/myTask/teacherLeaveInfo"
;
import
detaskResolve
from
"@/views/smartSchool/indexMould/myTask/depBudgetapproval/components/detaskResolve.vue"
import
{
queryDepart
,
//查看本单位预算填报列表;
}
from
'@/api/smartSchool/officialWork/budgetFilling'
import
TaskResolve
from
"@/views/smartSchool/indexMould/myTask/depBudgetapproval/components/detaskResolve.vue"
export
default
{
name
:
"
au
info"
,
name
:
"
de
info"
,
dicts
:
[
'biz_leave_type'
,
'course_num'
],
components
:
{
det
askResolve
},
components
:
{
T
askResolve
},
props
:
{
id
:
{
type
:
[
String
,
Number
],
...
...
@@ -92,7 +94,7 @@ export default {
methods
:
{
/** 获取详情 */
getDetailInfo
()
{
purchaseApprovalDetail
(
this
.
id
).
then
(
res
=>
{
queryDepart
(
this
.
id
).
then
(
res
=>
{
this
.
infoForm
=
res
.
data
})
},
...
...
ruoyi-ui/src/views/smartSchool/indexMould/myTask/depBudgetapproval/components/detaskResolve.vue
View file @
51fd68fa
...
...
@@ -35,7 +35,7 @@
</
template
>
<
script
>
import
{
complete
}
from
"@/api/smartSchool/index
/purchaseApproval.js
"
;
import
{
complete
}
from
"@/api/smartSchool/index
Mould/myTask/depBudgetapproval
"
;
export
default
{
name
:
"TaskResolve"
,
...
...
ruoyi-ui/src/views/smartSchool/indexMould/myTask/depBudgetapproval/index.vue
View file @
51fd68fa
...
...
@@ -15,12 +15,11 @@
<el-form
:model=
"queryParams"
:inline=
"true"
style=
"padding:0 0 0 0"
size=
"small"
>
</el-form>
<el-table
:data=
"tableData"
v-loading=
"loading"
>
<el-table-column
prop=
"nd"
label=
"年度"
width=
"60"
type=
"index"
align=
"center"
style=
"height: 20px;"
/>
<el-table-column
prop=
"ks"
label=
"科室"
align=
"center"
/>
<el-table-column
label=
"填报人"
align=
"center"
prop=
"budgetName"
/>
<el-table-column
label=
"分管领导"
align=
"center"
prop=
"purchaseMoney"
/>
<el-table-column
label=
"填报时间"
align=
"center"
prop=
"applyTime"
/>
<el-table-column
prop=
"year"
label=
"年度"
width=
"60"
type=
"index"
align=
"center"
style=
"height: 20px;"
/>
<el-table-column
prop=
"deptName"
label=
"科室"
align=
"center"
/>
<el-table-column
label=
"填报人"
align=
"center"
prop=
"informant"
/>
<el-table-column
label=
"分管领导"
align=
"center"
prop=
"leadershipName"
/>
<el-table-column
label=
"填报时间"
align=
"center"
prop=
"tbTime"
/>
<el-table-column
label=
"操作"
align=
"center"
width=
"80"
>
<template
slot-scope=
"scope"
>
<el-button
v-if=
"isTaskListe"
type=
"text"
size=
"mini"
icon=
"el-icon-edit"
...
...
@@ -54,11 +53,11 @@
<
script
>
import
{
queryMyClaim
,
getTaskDoneList
,
taskDoneList
,
// 查看科室预算已办列表
complete
,
getTaskListe
,
}
from
"@/api/smartSchool/index/purchaseApproval.js"
;
departiDetail
,
// 查看科室预算待办列表
}
from
"@/api/smartSchool/indexMould/myTask/depBudgetapproval"
;
import
HandleResolve
from
"@/views/smartSchool/indexMould/myTask/depBudgetapproval/components/dehandleResolv.vue"
;
import
hisHandleResolve
from
"@/views/smartSchool/indexMould/myTask/depBudgetapproval/components/dehishandleResolve.vue"
;
...
...
@@ -108,7 +107,7 @@ export default {
console
.
log
(
"历史人物"
)
this
.
isTaskListe
=
false
this
.
loading
=
true
;
getT
askDoneList
().
then
((
response
)
=>
{
t
askDoneList
().
then
((
response
)
=>
{
this
.
tableData
=
response
.
rows
this
.
total
=
response
.
total
this
.
loading
=
false
...
...
@@ -117,7 +116,7 @@ export default {
console
.
log
(
"金额人物"
)
this
.
loading
=
true
;
this
.
isTaskListe
=
true
getTaskListe
().
then
((
response
)
=>
{
departiDetail
().
then
((
response
)
=>
{
this
.
tableData
=
response
.
rows
this
.
total
=
response
.
total
this
.
loading
=
false
...
...
@@ -133,12 +132,12 @@ export default {
pageSize
:
10
,
}
this
.
isTaskListe
=
true
// getTaskListe
().then((response) => {
//
this.tableData = response.rows
//
// console.log(response.rows);
//
this.loading = false
departiDetail
().
then
((
response
)
=>
{
this
.
tableData
=
response
.
rows
// console.log(response.rows);
this
.
loading
=
false
//
});
});
},
// 搜索查询
...
...
@@ -146,8 +145,8 @@ export default {
// this.loading = true;
this
.
isTaskListe
=
true
// console.log(445566);
getTaskListe
(
this
.
queryParams
.
purchaseName
).
then
((
response
)
=>
{
//
this.tableData = response.rows
departiDetail
(
).
then
((
response
)
=>
{
this
.
tableData
=
response
.
rows
console
.
log
(
response
.
rows
);
// this.loading = false
...
...
@@ -170,12 +169,12 @@ export default {
this
.
process
.
id
=
row
.
id
;
this
.
process
.
taskId
=
row
.
taskId
;
this
.
process
.
readOnly
=
readOnly
;
// 主要用来判断是否为历史任务。或者是申请人查看
this
.
rowData
.
purchaseName
=
row
.
purchaseName
this
.
rowData
.
applyUser
=
row
.
applyUser
this
.
rowData
.
year
=
row
.
year
this
.
rowData
.
deptName
=
row
.
deptName
this
.
rowData
.
informant
=
row
.
informant
this
.
rowData
.
expectedDate
=
row
.
expectedDate
this
.
rowData
.
purchaseMoney
=
row
.
purchaseMoney
this
.
rowData
.
budgetName
=
row
.
budgetNa
me
this
.
rowData
.
leadershipName
=
row
.
leadershipName
this
.
rowData
.
tbTime
=
row
.
tbTi
me
},
/**历史 */
...
...
@@ -186,12 +185,12 @@ export default {
this
.
process
.
id
=
row
.
id
;
this
.
process
.
taskId
=
row
.
taskId
;
this
.
process
.
readOnly
=
readOnly
;
// 主要用来判断是否为历史任务。或者是申请人查看
this
.
rowData
.
purchaseName
=
row
.
purchaseName
this
.
rowData
.
applyUser
=
row
.
applyUser
this
.
rowData
.
year
=
row
.
year
this
.
rowData
.
deptName
=
row
.
deptName
this
.
rowData
.
informant
=
row
.
informant
this
.
rowData
.
expectedDate
=
row
.
expectedDate
this
.
rowData
.
purchaseMoney
=
row
.
purchaseMoney
this
.
rowData
.
budgetName
=
row
.
budgetNa
me
this
.
rowData
.
leadershipName
=
row
.
leadershipName
this
.
rowData
.
tbTime
=
row
.
tbTi
me
},
},
...
...
ruoyi-ui/src/views/smartSchool/officialWork/budgetFilling/components/SelectUser.vue
0 → 100644
View file @
51fd68fa
<
template
>
<el-dialog
:visible
.
sync=
"openDialog"
:title=
"title"
:width=
"width"
@
close=
"dialogClose"
>
<!-- 模糊查询-->
<el-form
:model=
"form"
ref=
"form"
size=
"small"
inline
>
<el-form-item
prop=
"teacherName"
label=
"姓名"
>
<el-input
v-model
.
trim=
"form.teacherName"
placeholder=
"请输入姓名"
clearable
@
keyup
.
enter
.
native=
"search"
></el-input>
</el-form-item>
<el-form-item
prop=
"teacherTel"
label=
"联系电话"
>
<el-input
v-model
.
trim=
"form.teacherTel"
placeholder=
"请输入联系电话"
clearable
@
keyup
.
enter
.
native=
"search"
></el-input>
</el-form-item>
<el-form-item>
<el-button
@
click=
"search"
type=
"primary"
icon=
"el-icon-search"
size=
"mini"
>
搜索
</el-button>
<el-button
@
click=
"reset"
icon=
"el-icon-refresh"
size=
"mini"
>
重置
</el-button>
</el-form-item>
</el-form>
<!-- 列表数据-->
<el-table
ref=
"tableList"
v-loading=
"loading"
:data=
"userList"
@
selection-change=
"selectionChange"
@
row-click=
"rowClick"
>
<el-table-column
type=
"selection"
align=
"center"
></el-table-column>
<el-table-column
v-if=
"execute === 'leaderList'"
key=
"avatar"
prop=
"avatar"
label=
"头像"
align=
"center"
>
<template
slot-scope=
"scope"
>
<el-image
:src=
"baseURL + scope.row.avatar"
:preview-src-list=
"[baseURL + scope.row.avatar]"
class=
"custom-image radius-image"
>
<template
slot=
"error"
>
{{
}}
</
template
>
</el-image>
</template>
</el-table-column>
<el-table-column
v-if=
"execute != 'leaderList'"
key=
"teacherCode"
prop=
"teacherCode"
label=
"教师编号"
align=
"center"
></el-table-column>
<el-table-column
key=
"teacherName"
prop=
"teacherName"
label=
"姓名"
align=
"center"
></el-table-column>
<el-table-column
key=
"teacherTel"
prop=
"teacherTel"
label=
"联系电话"
align=
"center"
></el-table-column>
<el-table-column
key=
"sex"
prop=
"sex"
label=
"性别"
align=
"center"
>
<
template
slot-scope=
"scope"
>
<dict-tag
:options=
"dict.type.sys_user_sex"
:value=
"scope.row.sex"
></dict-tag>
</
template
>
</el-table-column>
</el-table>
<!-- 分页-->
<pagination
v-show=
"total > 0"
:total=
"total"
:limit
.
sync=
"form.pageSize"
:page
.
sync=
"form.pageNum"
@
pagination=
"search"
></pagination>
<!-- 底部-->
<div
slot=
"footer"
>
<el-button
:disabled=
"!selectUser"
@
click=
"submit"
type=
"primary"
size=
"small"
>
确 定
</el-button>
<el-button
@
click=
"quit"
size=
"small"
>
取 消
</el-button>
</div>
</el-dialog>
</template>
<
script
>
import
{
getLeaderList
,
//获取校领导下拉框
}
from
"@/api/smartSchool/personWork/auditoriumReservation"
;
export
default
{
name
:
"SelectUser"
,
dicts
:
[
'sys_user_sex'
],
props
:
{
open
:
{
type
:
Boolean
,
require
:
true
},
title
:
{
type
:
String
,
default
:
''
},
width
:
{
type
:
[
Number
,
String
],
default
:
'50%'
},
execute
:
{
type
:
[
String
]
},
// 选择级部、处室主任
id
:
{
type
:
[
Number
,
String
]
}
},
data
()
{
return
{
baseURL
:
process
.
env
.
VUE_APP_BASE_API
,
form
:
{
teacherName
:
''
,
teacherTel
:
''
,
pageNum
:
1
,
pageSize
:
10
},
total
:
0
,
loading
:
false
,
userList
:
[],
selectUser
:
null
}
},
computed
:
{
openDialog
:
{
get
()
{
return
this
.
open
;
},
set
(
value
)
{
this
.
$emit
(
'update:open'
,
value
);
}
}
},
watch
:
{
open
(
value
)
{
if
(
value
)
{
this
.
$nextTick
(()
=>
{
this
.
reset
();
})
}
}
},
methods
:
{
/** 搜索(交给子组件维护,当然也可以把接口交给父组件处理) */
async
search
()
{
if
(
isNaN
(
Number
(
this
.
id
)))
{
console
.
error
(
'Invalid ID'
);
return
;
}
try
{
this
.
loading
=
true
;
const
response
=
await
this
[
this
.
execute
]({
applyOrgid
:
this
.
id
,
...
this
.
form
});
this
.
userList
=
response
.
rows
||
[];
this
.
total
=
response
.
total
;
this
.
loading
=
false
;
}
catch
(
exception
)
{
this
.
loading
=
false
;
throw
new
Error
(
exception
);
}
},
/** 重置表单 */
reset
()
{
this
.
form
=
{
teacherName
:
''
,
teacherTel
:
''
,
pageNum
:
1
,
pageSize
:
10
};
this
.
resetForm
(
'form'
);
this
.
search
();
},
/** 选项选中发生变化 */
selectionChange
(
selections
)
{
this
.
selectUser
=
selections
[
0
];
},
/** 点击选中、取消 */
rowClick
(
row
,
column
)
{
this
.
$refs
[
'tableList'
].
clearSelection
();
this
.
$refs
[
'tableList'
].
toggleRowSelection
(
row
,
true
);
},
/** 提交选中 */
submit
()
{
this
.
$emit
(
'select'
,
{
id
:
this
.
selectUser
.
id
,
name
:
this
.
selectUser
.
teacherName
,
tel
:
this
.
selectUser
.
teacherTel
});
this
.
quit
();
},
/** 取消 */
quit
()
{
this
.
openDialog
=
false
;
},
/** 分管领导、主要领导 */
leaderList
(
form
)
{
return
getLeaderList
(
form
);
},
dialogClose
()
{
this
.
userList
=
[]
}
}
}
</
script
>
<
style
scoped
>
.footer
{
display
:
flex
;
justify-content
:
center
;
margin-top
:
30px
;
}
.radius-image
{
border-radius
:
40px
;
}
</
style
>
ruoyi-ui/src/views/smartSchool/officialWork/budgetFilling/index.vue
View file @
51fd68fa
This diff is collapsed.
Click to expand it.
ruoyi-ui/src/views/smartSchool/personWork/auditoriumReservation/components/SelectUser.vue
View file @
51fd68fa
...
...
@@ -3,12 +3,10 @@
<!-- 模糊查询-->
<el-form
:model=
"form"
ref=
"form"
size=
"small"
inline
>
<el-form-item
prop=
"teacherName"
label=
"姓名"
>
<el-input
v-model
.
trim=
"form.teacherName"
placeholder=
"请输入姓名"
clearable
@
keyup
.
enter
.
native=
"search"
></el-input>
<el-input
v-model
.
trim=
"form.teacherName"
placeholder=
"请输入姓名"
clearable
@
keyup
.
enter
.
native=
"search"
></el-input>
</el-form-item>
<el-form-item
prop=
"teacherTel"
label=
"联系电话"
>
<el-input
v-model
.
trim=
"form.teacherTel"
placeholder=
"请输入联系电话"
clearable
@
keyup
.
enter
.
native=
"search"
></el-input>
<el-input
v-model
.
trim=
"form.teacherTel"
placeholder=
"请输入联系电话"
clearable
@
keyup
.
enter
.
native=
"search"
></el-input>
</el-form-item>
<el-form-item>
<el-button
@
click=
"search"
type=
"primary"
icon=
"el-icon-search"
size=
"mini"
>
搜索
</el-button>
...
...
@@ -16,18 +14,13 @@
</el-form-item>
</el-form>
<!-- 列表数据-->
<el-table
ref=
"tableList"
v-loading=
"loading"
:data=
"userList"
@
selection-change=
"selectionChange"
@
row-click=
"rowClick"
>
<el-table
ref=
"tableList"
v-loading=
"loading"
:data=
"userList"
@
selection-change=
"selectionChange"
@
row-click=
"rowClick"
>
<el-table-column
type=
"selection"
align=
"center"
></el-table-column>
<el-table-column
v-if=
"execute === 'leaderList'"
key=
"avatar"
prop=
"avatar"
label=
"头像"
align=
"center"
>
<template
slot-scope=
"scope"
>
<el-image
:src=
"baseURL + scope.row.avatar"
:preview-src-list=
"[baseURL + scope.row.avatar]"
class=
"custom-image radius-image"
>
class=
"custom-image radius-image"
>
<template
slot=
"error"
>
{{
}}
</
template
>
...
...
@@ -35,7 +28,7 @@
</template>
</el-table-column>
<el-table-column
v-if=
"execute != 'leaderList'"
key=
"teacherCode"
prop=
"teacherCode"
label=
"教师编号"
align=
"center"
></el-table-column>
align=
"center"
></el-table-column>
<el-table-column
key=
"teacherName"
prop=
"teacherName"
label=
"姓名"
align=
"center"
></el-table-column>
<el-table-column
key=
"teacherTel"
prop=
"teacherTel"
label=
"联系电话"
align=
"center"
></el-table-column>
<el-table-column
key=
"sex"
prop=
"sex"
label=
"性别"
align=
"center"
>
...
...
@@ -45,13 +38,8 @@
</el-table-column>
</el-table>
<!-- 分页-->
<pagination
v-show=
"total > 0"
:total=
"total"
:limit
.
sync=
"form.pageSize"
:page
.
sync=
"form.pageNum"
@
pagination=
"search"
></pagination>
<pagination
v-show=
"total > 0"
:total=
"total"
:limit
.
sync=
"form.pageSize"
:page
.
sync=
"form.pageNum"
@
pagination=
"search"
></pagination>
<!-- 底部-->
<div
slot=
"footer"
>
<el-button
:disabled=
"!selectUser"
@
click=
"submit"
type=
"primary"
size=
"small"
>
确 定
</el-button>
...
...
@@ -62,8 +50,10 @@
<
script
>
import
{
getGradeOfficeDirectorList
,
getLeaderList
}
from
"@/api/smartSchool/personWork/leaveApply"
;
import
{
getLeaderList
,
//获取校领导下拉框
}
from
"@/api/smartSchool/personWork/auditoriumReservation"
;
export
default
{
name
:
"SelectUser"
,
dicts
:
[
'sys_user_sex'
],
...
...
@@ -126,13 +116,14 @@ export default {
methods
:
{
/** 搜索(交给子组件维护,当然也可以把接口交给父组件处理) */
async
search
()
{
// if (!this.id || Number(this.id) === NaN
) {
if
(
!
this
.
id
||
isNaN
(
this
.
id
))
{
throw
TypeError
(
'级部/处室id应为非空数字类型!'
)
;
if
(
isNaN
(
Number
(
this
.
id
))
)
{
console
.
error
(
'Invalid ID'
);
return
;
}
try
{
this
.
loading
=
true
;
const
response
=
await
this
[
this
.
execute
]({
applyOrgid
:
this
.
id
,
...
this
.
form
});
const
response
=
await
this
[
this
.
execute
]({
applyOrgid
:
this
.
id
,
...
this
.
form
});
this
.
userList
=
response
.
rows
||
[];
this
.
total
=
response
.
total
;
this
.
loading
=
false
;
...
...
@@ -141,6 +132,7 @@ export default {
throw
new
Error
(
exception
);
}
},
/** 重置表单 */
reset
()
{
this
.
form
=
{
...
...
@@ -158,6 +150,7 @@ export default {
},
/** 点击选中、取消 */
rowClick
(
row
,
column
)
{
console
.
log
(
'row'
,
row
);
this
.
$refs
[
'tableList'
].
clearSelection
();
this
.
$refs
[
'tableList'
].
toggleRowSelection
(
row
,
true
);
},
...
...
@@ -175,10 +168,7 @@ export default {
this
.
openDialog
=
false
;
},
/** 级部、处室主任选择 */
gradeOfficeDirector
(
form
)
{
return
getGradeOfficeDirectorList
(
form
);
},
/** 分管领导、主要领导 */
leaderList
(
form
)
{
...
...
ruoyi-ui/src/views/smartSchool/personWork/auditoriumReservation/index.vue
View file @
51fd68fa
This diff is collapsed.
Click to expand it.
ruoyi-ui/src/views/smartSchool/personWork/recordingroomAppointment
/IdleSituation/index.vue
→
ruoyi-ui/src/views/smartSchool/personWork/recordingroomAppointment/IdleSituation/index.vue
View file @
51fd68fa
File moved
ruoyi-ui/src/views/smartSchool/personWork/recordingroomAppointment
/myAppointment/index.vue
→
ruoyi-ui/src/views/smartSchool/personWork/recordingroomAppointment/myAppointment/index.vue
View file @
51fd68fa
File moved
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