Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
A
attendance-performance-platform
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
赵啸非
attendance-performance-platform
Commits
defbf877
Commit
defbf877
authored
1 year ago
by
姬鋆屾
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
推更新
parent
18785865
Changes
6
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
549 additions
and
336 deletions
+549
-336
attendance-performance-manager-ui/admin/src/components/DataTable.vue
...performance-manager-ui/admin/src/components/DataTable.vue
+0
-2
attendance-performance-manager-ui/admin/src/components/tools/TableButtons.vue
...ce-manager-ui/admin/src/components/tools/TableButtons.vue
+3
-1
attendance-performance-manager-ui/admin/src/views/perform/staff/conf/deptdrawershow.vue
...-ui/admin/src/views/perform/staff/conf/deptdrawershow.vue
+70
-43
attendance-performance-manager-ui/admin/src/views/perform/staff/conf/drawershow.vue
...ager-ui/admin/src/views/perform/staff/conf/drawershow.vue
+287
-192
attendance-performance-manager-ui/admin/src/views/perform/staff/conf/list.vue
...ce-manager-ui/admin/src/views/perform/staff/conf/list.vue
+30
-15
attendance-performance-manager-ui/admin/src/views/perform/staff/conf/windowdrawershow.vue
...i/admin/src/views/perform/staff/conf/windowdrawershow.vue
+159
-83
No files found.
attendance-performance-manager-ui/admin/src/components/DataTable.vue
View file @
defbf877
...
...
@@ -113,8 +113,6 @@ export default {
},
},
mounted
()
{
console
.
log
(
this
.
tableData
);
console
.
log
(
this
.
loading
);
},
watch
:
{
tableData
(
val
)
{
...
...
This diff is collapsed.
Click to expand it.
attendance-performance-manager-ui/admin/src/components/tools/TableButtons.vue
View file @
defbf877
...
...
@@ -22,9 +22,11 @@
<span>
</span>
<el-switch
v-if=
"switchBtn"
v-model=
"row.check"
@
change=
"$emit('view', row)"
title=
"核查"
v-model=
"row.check"
:active-value=
"true"
:inactive-value=
"false"
></el-switch>
<span>
</span>
<el-button
...
...
This diff is collapsed.
Click to expand it.
attendance-performance-manager-ui/admin/src/views/perform/staff/conf/deptdrawershow.vue
View file @
defbf877
...
...
@@ -66,6 +66,7 @@
notAdd
notDel
notSearch
notPagination
:config=
"tableConfig"
>
</LayoutTable>
...
...
@@ -107,6 +108,7 @@
notAdd
notDel
notSearch
notPagination
:config=
"tableConfig"
>
</LayoutTable>
...
...
@@ -148,6 +150,7 @@
notAdd
notDel
notSearch
notPagination
:config=
"tableConfig"
>
</LayoutTable>
...
...
@@ -189,6 +192,7 @@
notAdd
notDel
notSearch
notPagination
:config=
"tableConfig"
>
</LayoutTable>
...
...
@@ -230,6 +234,7 @@
notAdd
notDel
notSearch
notPagination
:config=
"tableConfig"
>
</LayoutTable>
...
...
@@ -310,7 +315,7 @@ export default {
mixins
:
[
form
,
table
],
components
:
{},
created
()
{
this
.
changePath
(
"
perform/
dept
/conf
"
);
this
.
changePath
(
"
perform/
/staff
/conf
"
);
// 获取部门列表
this
.
$post
(
"
/dept/list
"
,
{
page
:
1
,
size
:
-
1
}).
then
((
res
)
=>
{
if
(
res
.
code
==
1
)
{
...
...
@@ -319,6 +324,7 @@ export default {
this
.
deptArr
=
[];
}
});
this
.
checkArr
=
[];
// this.getKaoQin();
},
data
()
{
...
...
@@ -333,30 +339,17 @@ export default {
direction
:
"
rtl
"
,
toString
:
[],
toDate
:
[],
tableData
:
[
{
core
:
"
-0.5
"
,
name
:
"
迟到
"
,
simple
:
"
迟到5分钟以内(包含5分钟)
"
,
check
:
false
,
},
],
tableData
:
[],
// 表单校验
rules
:
{},
activeName
:
"
1
"
,
options
:
[
{
value
:
"
1
"
,
label
:
"
工作纪律
"
,
},
{
value
:
"
2
"
,
label
:
"
工作效能
"
,
},
],
options
:
[],
type
:
""
,
keywords
:
""
,
deptArr
:
[],
urls
:
{
saveUrl
:
"
/perform/dept/conf/save
"
,
},
config
:
{
isshowTabPane
:
false
,
search
:
[],
...
...
@@ -373,36 +366,39 @@ export default {
label
:
"
操作
"
,
width
:
100
,
formatter
:
(
row
)
=>
{
return
(
<
table
-
buttons
noAdd
noView
noEdit
noDel
switchBtn
row
=
{
row
}
onEdit
=
{
this
.
eddRules
}
onDel
=
{
this
.
toDelRules
}
onView
=
{
this
.
switchChange
}
/
>
);
if
(
row
.
check
)
{
return
<
span
>
不选择
<
/span>
;
}
else
{
return
<
span
style
=
"
cursor:pointer
"
>
选择
<
/span>
;
}
},
},
],
},
cateObj
:
{},
dataArr
:
[],
checkArr
:
[],
};
},
// watch: {
// query: {
// deep,
// handler(val) {
// console.log(val);
// },
// },
// },
methods
:
{
handleRowClick
(
val
)
{
val
.
check
=
!
val
.
check
;
val
.
check
?
this
.
checkArr
.
push
(
val
)
:
(
this
.
checkArr
=
this
.
checkArr
.
filter
((
v
)
=>
v
.
id
!==
val
.
id
));
this
.
checkArr
.
length
>
0
?
this
.
checkArr
.
forEach
((
val
)
=>
{
val
.
ruleId
=
val
.
id
;
val
.
ruleName
=
val
.
name
;
this
.
tableData
.
data
.
forEach
((
v
)
=>
{
val
.
id
==
v
.
id
?
(
v
.
check
=
val
.
check
)
:
""
;
});
})
:
""
;
this
.
form
.
deptConfDetail
=
this
.
checkArr
;
this
.
tableData
.
data
=
[...
this
.
tableData
.
data
];
this
.
$forceUpdate
(
this
.
tableData
.
data
);
},
typeSelect
(
val
)
{
this
.
getKaoQin
(
val
);
},
...
...
@@ -423,29 +419,56 @@ export default {
categoryId
,
type
:
this
.
activeName
,
page
:
this
.
query
.
page
,
size
:
-
1
,
orderColList
:
this
.
typeArr
,
name
:
this
.
searchValue
,
}).
then
((
res
)
=>
{
if
(
res
.
code
==
1
)
{
this
.
tableData
=
res
.
data
;
this
.
checkArr
.
length
>
0
?
this
.
checkArr
.
forEach
((
val
)
=>
{
this
.
tableData
.
data
.
forEach
((
v
)
=>
{
val
.
id
==
v
.
id
?
(
v
.
check
=
val
.
check
)
:
""
;
});
})
:
this
.
tableData
.
data
.
forEach
((
v
)
=>
{
v
.
check
=
false
;
});
this
.
tableData
.
data
=
[...
this
.
tableData
.
data
];
this
.
$forceUpdate
(
this
.
tableData
);
}
else
{
this
.
tableData
=
{};
}
});
},
switchChange
(
val
)
{},
handleClick
(
val
)
{
this
.
getData
();
this
.
cateObj
=
{};
this
.
type
=
""
;
},
/** 编辑 */
edit
(
row
)
{
this
.
reset
();
this
.
query
=
{
id
:
row
.
id
};
// this.urls.currUrl = "perform/dept/conf/edit";
this
.
checkArr
=
[];
this
.
type
=
""
;
this
.
activeName
=
"
1
"
;
this
.
$get
(
"
/perform/dept/conf/info
"
,
{
id
:
row
.
id
}).
then
((
res
)
=>
{
if
(
res
.
code
==
1
)
{
this
.
form
=
res
.
data
;
this
.
checkArr
=
res
.
data
.
deptConfDetail
;
res
.
data
.
deptConfDetail
.
length
>
0
?
res
.
data
.
deptConfDetail
.
forEach
((
val
)
=>
{
val
.
check
=
true
;
val
.
id
=
val
.
ruleId
;
this
.
tableData
.
data
.
forEach
((
v
)
=>
{
v
.
check
=
false
;
val
.
ruleId
==
v
.
id
?
(
v
.
check
=
true
)
:
""
;
});
})
:
""
;
this
.
tableData
.
data
=
[...
this
.
tableData
.
data
];
this
.
$forceUpdate
(
this
.
tableData
);
}
else
{
this
.
form
=
{};
}
...
...
@@ -459,14 +482,18 @@ export default {
/** 新增 */
add
(
row
)
{
this
.
reset
();
// this.urls.currUrl = "perform/dept/conf/add";
this
.
getData
();
this
.
open
=
true
;
this
.
checkArr
=
[];
this
.
type
=
""
;
this
.
activeName
=
"
1
"
;
this
.
pageInfo
.
type
=
"
add
"
;
this
.
title
=
"
新增部门自动考核信息
"
;
},
/** 查看*/
view
(
row
)
{
console
.
log
(
123
);
return
;
this
.
reset
();
this
.
query
=
{
id
:
row
.
id
};
this
.
urls
.
currUrl
=
"
perform/dept/conf/view
"
;
...
...
This diff is collapsed.
Click to expand it.
attendance-performance-manager-ui/admin/src/views/perform/staff/conf/drawershow.vue
View file @
defbf877
This diff is collapsed.
Click to expand it.
attendance-performance-manager-ui/admin/src/views/perform/staff/conf/list.vue
View file @
defbf877
...
...
@@ -17,7 +17,7 @@
<div
class=
"goal_title"
>
<img
src=
"../../../../assets/images/u17641.svg"
alt=
""
/>
<span>
{{
val
.
deptName
?
val
.
deptName
:
"
--
"
}}
{{
val
.
deptName
?
val
.
deptName
:
val
.
staffNames
}}
</span>
</div>
<p
class=
"goal_txt"
>
...
...
@@ -25,19 +25,19 @@
</p>
<p>
<el-tag
style=
"margin: 0 5px 5px 0"
>
考勤绩效指标
/工作纪律
:
{{
val
.
attendCount
}}
</el-tag
>
考勤绩效指标:
{{
val
.
attendCount
}}
</el-tag
>
<el-tag
style=
"margin: 0 5px 5px 0"
>
评价绩效指标
/工作纪律
:
{{
val
.
assessCount
}}
</el-tag
>
评价绩效指标:
{{
val
.
assessCount
}}
</el-tag
>
<el-tag
style=
"margin: 0 5px 5px 0"
>
办件绩效指标
/工作效能
:
{{
val
.
workCount
}}
</el-tag
>
办件绩效指标:
{{
val
.
workCount
}}
</el-tag
>
<el-tag
style=
"margin: 0 5px 5px 0"
>
效能绩效指标
/工作纪律
:
{{
val
.
effectCount
}}
</el-tag
>
效能绩效指标:
{{
val
.
effectCount
}}
</el-tag
>
<el-tag
style=
"margin: 0 5px 5px 0"
>
其他绩效指标
/工作纪律
:
{{
val
.
otherCount
}}
</el-tag
>
其他绩效指标:
{{
val
.
otherCount
}}
</el-tag
>
</p>
<p
class=
"goal_txt"
>
...
...
@@ -68,7 +68,7 @@
</el-tab-pane>
<el-tab-pane
label=
"窗口负责人管理"
name=
"2"
>
<div
class=
"content"
>
<LayoutTable
:data=
"tableData"
notSearch
:config=
"tableConfig"
>
<LayoutTable
:data=
"tableData"
notSearch
notDel
:config=
"tableConfig"
>
</LayoutTable>
</div>
</el-tab-pane>
...
...
@@ -99,7 +99,6 @@ export default {
},
mixins
:
[
table
],
created
()
{
console
.
log
(
this
.
tableData
);
sessionStorage
.
removeItem
(
"
type
"
);
sessionStorage
.
setItem
(
"
type
"
,
this
.
type
);
},
...
...
@@ -168,6 +167,13 @@ export default {
})
:
""
;
},
// 窗口负责人删除方法
toDel
(
row
)
{
this
.
$get
(
"
/window/owner/delete
"
,
{
id
:
row
}).
then
((
res
)
=>
{
this
.
$message
.
success
(
res
.
msg
);
this
.
getData
();
});
},
},
data
()
{
return
{
...
...
@@ -182,13 +188,11 @@ export default {
{
type
:
"
selection
"
,
width
:
60
},
{
type
:
"
index
"
,
label
:
"
序号
"
,
width
:
50
},
{
label
:
"
部门名称
"
,
prop
:
"
deptName
"
},
{
label
:
"
姓名
"
,
prop
:
"
name
"
},
{
label
:
"
负责人姓名
"
,
prop
:
"
name
"
},
{
label
:
"
工号
"
,
prop
:
"
number
"
},
{
label
:
"
所属部门
"
,
prop
:
"
deptName
"
},
{
label
:
"
电话号码
"
,
prop
:
"
phone
"
},
{
label
:
"
联系电话
"
,
prop
:
"
phone
"
},
{
label
:
"
负责窗口数量
"
,
...
...
@@ -197,10 +201,17 @@ export default {
},
{
label
:
"
创建
时间
"
,
prop
:
"
cre
ateTime
"
,
label
:
"
更新
时间
"
,
prop
:
"
upd
ateTime
"
,
formatter
:
this
.
formatterDate
,
},
{
label
:
"
更新人员
"
,
prop
:
"
updateUserId
"
,
formatter
:
this
.
formatter
,
},
{
label
:
"
操作
"
,
width
:
240
,
...
...
@@ -208,6 +219,7 @@ export default {
return
(
<
table
-
buttons
noAdd
noView
row
=
{
row
}
onEdit
=
{
this
.
toEdit
}
onView
=
{
this
.
toView
}
...
...
@@ -319,6 +331,9 @@ export default {
margin-right: 10px;
}
}
/deep/.el-tag {
width: 114px !important;
}
.goal_txt {
font-family: "微软雅黑", sans-serif;
font-weight: 400;
...
...
This diff is collapsed.
Click to expand it.
attendance-performance-manager-ui/admin/src/views/perform/staff/conf/windowdrawershow.vue
View file @
defbf877
...
...
@@ -23,18 +23,22 @@
<Field
label=
"联系电话:"
prop=
"phone"
maxLength=
"11"
v-model=
"form.phone"
placeholder=
"请输入联系电话"
/>
<el-col
style=
"width: 100%;"
:span=
"24"
>
<Field
label=
"选择部门:"
prop=
"deptId"
v-model=
"form.deptId"
placeholder=
"选择部门"
:enumData=
"deptGroup"
type=
"select"
/>
<el-col
style=
"width: 100%;"
:span=
"12"
>
<el-form-item
label=
"选择部门"
>
<el-select
v-model=
"form.deptId"
style=
"width: 100%;"
>
<el-option
v-for=
"item in deptArr"
:key=
"item.id"
:label=
"item.deptName"
:value=
"item.id"
>
</el-option
></el-select>
</el-form-item>
</el-col>
</el-row>
<el-row>
...
...
@@ -42,48 +46,33 @@
<div
class=
"content_top"
>
<span>
请选择窗口工作人员:
</span>
<div
class=
"search_box"
>
<el-select
v-model=
"
type"
placeholder=
"请选择部门
"
>
<el-select
v-model=
"
deptValue"
style=
"width: 100%;
"
>
<el-option
v-for=
"item in options"
:key=
"item.value"
:label=
"item.label"
:value=
"item.value"
style=
"width: 200px;"
v-for=
"item in deptArr"
:key=
"item.id"
:label=
"item.deptName"
:value=
"item.id"
>
</el-option
>
</el-select>
</el-option
>
</el-select>
<el-input
v-model=
"keywords"
placeholder=
"请输入姓名关键字搜索"
style=
"width: 200px;margin: 0 10px;"
></el-input>
<el-button
type=
"primary"
>
搜索
</el-button>
<el-button
type=
"primary"
@
click=
"handleSearch"
>
搜索
</el-button>
</div>
</div>
<div
class=
"table_box"
>
<
el-t
able
<
LayoutT
able
:data=
"tableData"
border
style=
"width: 100%"
height=
"520"
@
selection-change=
"handleSelectionChange"
notAdd
notDel
notSearch
notPagination
:config=
"tableConfig"
>
<el-table-column
type=
"selection"
width=
"55"
>
</el-table-column>
<el-table-column
type=
"index"
label=
"序号"
width=
"50"
>
</el-table-column>
<el-table-column
prop=
"name"
label=
"姓名"
width=
"180"
>
</el-table-column>
<el-table-column
prop=
"id"
label=
"工号"
>
</el-table-column>
<el-table-column
prop=
"deptaName"
label=
"部门"
>
</el-table-column>
<el-table-column
prop=
"zhiwei"
label=
"职位"
>
</el-table-column>
<el-table-column
prop=
"status"
label=
"状态"
>
</el-table-column>
<el-table-column
prop=
"phone"
label=
"手机号"
>
</el-table-column>
<el-table-column
fixed=
"right"
label=
"操作"
width=
"120"
>
<template
slot-scope=
"scope"
>
<span>
{{
scope
.
row
.
check
?
"
已选择
"
:
"
选择
"
}}
</span>
</
template
>
</el-table-column>
</el-table>
</LayoutTable>
</div>
</div>
</el-row>
...
...
@@ -143,12 +132,23 @@
<
script
>
import
form
from
"
@/assets/mixins/formdialog
"
;
import
table
from
"
@/assets/mixins/table
"
;
export
default
{
name
:
"
WindowOwnerDetail
"
,
mixins
:
[
form
],
mixins
:
[
form
,
table
],
components
:
{},
created
()
{
this
.
changePath
(
"
window/owner
"
);
// 获取部门列表
this
.
$post
(
"
/dept/list
"
,
{
page
:
1
,
size
:
-
1
}).
then
((
res
)
=>
{
if
(
res
.
code
==
1
)
{
this
.
deptArr
=
res
.
data
.
data
;
}
else
{
this
.
deptArr
=
[];
}
});
// this.getData();
},
data
()
{
return
{
...
...
@@ -159,68 +159,144 @@ export default {
// 是否显示弹出层
open
:
false
,
direction
:
"
rtl
"
,
deptValue
:
""
,
toString
:
[],
toDate
:
[],
deptArr
:
[],
// 表单校验
rules
:
{},
deptGroup
:
{
1
:
"
部门1
"
,
2
:
"
部门2
"
,
3
:
"
部门3
"
,
4
:
"
部门4
"
,
5
:
"
部门5
"
},
options
:
[
{
value
:
"
1
"
,
label
:
"
部门1
"
,
},
{
value
:
"
2
"
,
label
:
"
部门2
"
,
},
],
type
:
""
,
keywords
:
""
,
tableData
:
[
{
id
:
"
123456
"
,
name
:
"
xxx
"
,
deptName
:
"
部门1
"
,
zhiwei
:
"
工作人员
"
,
status
:
"
正式
"
,
phone
:
"
130****8888
"
,
check
:
false
,
},
{
id
:
"
123456
"
,
name
:
"
xxx
"
,
deptName
:
"
部门1
"
,
zhiwei
:
"
工作人员
"
,
status
:
"
正式
"
,
phone
:
"
130****8888
"
,
check
:
false
,
},
],
checkArr
:
[],
urls
:
{
saveUrl
:
"
/window/owner/save
"
,
},
config
:
{
isshowTabPane
:
false
,
search
:
[],
columns
:
[
{
type
:
"
index
"
,
label
:
"
序号
"
,
width
:
50
},
{
label
:
"
姓名
"
,
prop
:
"
name
"
},
{
label
:
"
工号
"
,
prop
:
"
workNum
"
},
{
label
:
"
部门
"
,
prop
:
"
deptName
"
},
{
label
:
"
职位
"
,
prop
:
"
positionName
"
},
{
label
:
"
员工状态
"
,
prop
:
"
status
"
,
formatter
:
this
.
formatter
},
{
label
:
"
手机号码
"
,
prop
:
"
phoneNumber
"
},
{
label
:
"
操作
"
,
width
:
100
,
formatter
:
(
row
)
=>
{
if
(
row
.
check
)
{
return
<
span
>
不选择
<
/span>
;
}
else
{
return
<
span
style
=
"
cursor:pointer
"
>
选择
<
/span>
;
}
},
},
],
},
};
},
methods
:
{
handleSelectionChange
(
val
)
{
console
.
log
(
val
);
this
.
tableData
.
forEach
((
v
)
=>
(
v
.
check
=
false
));
val
.
forEach
((
v
)
=>
{
v
.
check
=
true
;
handleSearch
()
{
this
.
getData
();
},
getData
()
{
this
.
$post
(
"
/staff/list
"
,
{
page
:
1
,
size
:
-
1
,
deptId
:
this
.
deptValue
,
name
:
this
.
keywords
,
}).
then
((
res
)
=>
{
if
(
res
.
code
==
1
)
{
this
.
tableData
=
res
.
data
;
this
.
checkArr
.
length
>
0
?
this
.
checkArr
.
forEach
((
val
)
=>
{
this
.
tableData
.
data
.
forEach
((
v
)
=>
{
val
.
id
==
v
.
id
?
(
v
.
check
=
val
.
check
)
:
""
;
});
})
:
this
.
tableData
.
data
.
forEach
((
v
)
=>
{
v
.
check
=
false
;
});
this
.
tableData
.
data
=
[...
this
.
tableData
.
data
];
this
.
$forceUpdate
(
this
.
tableData
);
}
else
{
this
.
deptArr
=
[];
}
});
},
handleRowClick
(
val
)
{
val
.
check
=
!
val
.
check
;
val
.
check
?
this
.
checkArr
.
push
(
val
)
:
(
this
.
checkArr
=
this
.
checkArr
.
filter
((
v
)
=>
v
.
id
!==
val
.
id
));
this
.
checkArr
.
length
>
0
?
this
.
checkArr
.
forEach
((
val
)
=>
{
val
.
staffId
=
val
.
id
;
this
.
tableData
.
data
.
forEach
((
v
)
=>
{
val
.
id
==
v
.
id
?
(
v
.
check
=
val
.
check
)
:
""
;
});
})
:
""
;
this
.
tableData
.
data
=
[...
this
.
tableData
.
data
];
this
.
form
.
windowOwnerDetailList
=
this
.
checkArr
;
this
.
$forceUpdate
(
this
.
tableData
.
data
);
},
/** 编辑 */
edit
(
row
)
{
this
.
reset
();
this
.
query
=
{
id
:
row
.
id
};
this
.
urls
.
currUrl
=
"
window/owner/edit
"
;
this
.
deptValue
=
""
;
this
.
keywords
=
""
;
this
.
checkArr
=
[];
this
.
$get
(
"
/window/owner/info
"
,
{
id
:
row
.
id
}).
then
((
res
)
=>
{
if
(
res
.
code
==
1
)
{
this
.
form
=
res
.
data
;
this
.
checkArr
=
res
.
data
.
windowOwnerDetailList
;
res
.
data
.
windowOwnerDetailList
.
length
>
0
?
res
.
data
.
windowOwnerDetailList
.
forEach
((
val
)
=>
{
val
.
check
=
true
;
val
.
id
=
val
.
staffId
;
this
.
tableData
.
data
.
forEach
((
v
)
=>
{
v
.
check
=
false
;
val
.
staffId
==
v
.
id
?
(
v
.
check
=
true
)
:
""
;
});
})
:
""
;
this
.
tableData
.
data
=
[...
this
.
tableData
.
data
];
this
.
$forceUpdate
(
this
.
tableData
);
}
else
{
this
.
form
=
{};
}
this
.
open
=
true
;
});
this
.
getData
();
// this.urls.currUrl = "window/owner/edit";
// this.getData();
this
.
pageInfo
.
type
=
"
edit
"
;
this
.
title
=
"
修改窗口负责人
"
;
},
/** 新增 */
add
(
row
)
{
this
.
reset
();
this
.
urls
.
currUrl
=
"
window/owner/add
"
;
// this.urls.currUrl = "window/owner/add";
// this.getData();
this
.
deptValue
=
""
;
this
.
checkArr
=
[];
this
.
keywords
=
""
;
this
.
getData
();
this
.
open
=
true
;
this
.
pageInfo
.
type
=
"
add
"
;
this
.
title
=
"
新增窗口负责人
"
;
},
...
...
@@ -228,8 +304,8 @@ export default {
view
(
row
)
{
this
.
reset
();
this
.
query
=
{
id
:
row
.
id
};
this
.
urls
.
currUrl
=
"
window/owner/view
"
;
this
.
getData
();
//
this.urls.currUrl = "window/owner/view";
//
this.getData();
this
.
pageInfo
.
type
=
"
view
"
;
this
.
title
=
"
窗口负责人详细
"
;
},
...
...
@@ -250,7 +326,7 @@ export default {
// 表单重置
reset
()
{
this
.
form
=
{
deptId
:
0
,
deptId
:
""
,
deptName
:
""
,
name
:
""
,
number
:
""
,
...
...
@@ -275,7 +351,7 @@ export default {
padding: 0 20px;
.bottom_content {
width: 100%;
height: 6
0
0px;
height: 6
8
0px;
background-color: rgba(242, 246, 252, 1);
box-sizing: border-box;
border-width: 1px;
...
...
This diff is collapsed.
Click to expand it.
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