|
@@ -189,9 +189,9 @@ export const personnelLoading = {
|
|
if (response.code == 200) {
|
|
if (response.code == 200) {
|
|
this.personnelList.loading = false;
|
|
this.personnelList.loading = false;
|
|
if (!type) {
|
|
if (!type) {
|
|
- if (this.form.handler) {
|
|
|
|
|
|
+ if (this.form.headId) {
|
|
var index = response.data.findIndex(item => {
|
|
var index = response.data.findIndex(item => {
|
|
- return item.id == this.form.handler
|
|
|
|
|
|
+ return item.id == this.form.headId
|
|
})
|
|
})
|
|
if (index != -1) {
|
|
if (index != -1) {
|
|
response.data.splice(index, 1)
|
|
response.data.splice(index, 1)
|