|
|
@ -120,7 +120,7 @@
|
|
|
|
<span>{{ operationTypes[scope.row.operationType] }}</span>
|
|
|
|
<span>{{ operationTypes[scope.row.operationType] }}</span>
|
|
|
|
</template>
|
|
|
|
</template>
|
|
|
|
</el-table-column>
|
|
|
|
</el-table-column>
|
|
|
|
<el-table-column label="结果处理" prop="checkInsert" width="100">
|
|
|
|
<el-table-column label="结果处理" prop="checkInsert" width="120">
|
|
|
|
<template slot-scope="scope">
|
|
|
|
<template slot-scope="scope">
|
|
|
|
<span>{{ checkInserts[scope.row.checkInsert] }}</span>
|
|
|
|
<span>{{ checkInserts[scope.row.checkInsert] }}</span>
|
|
|
|
</template>
|
|
|
|
</template>
|
|
|
@ -132,8 +132,8 @@
|
|
|
|
</el-table-column>
|
|
|
|
</el-table-column>
|
|
|
|
<el-table-column label="负责人" prop="employeeName" width="90"></el-table-column>
|
|
|
|
<el-table-column label="负责人" prop="employeeName" width="90"></el-table-column>
|
|
|
|
<el-table-column label="往来单位标题" prop="unitTittle" width="120"></el-table-column>
|
|
|
|
<el-table-column label="往来单位标题" prop="unitTittle" width="120"></el-table-column>
|
|
|
|
<el-table-column label="创建时间" prop="createTime" width="120"></el-table-column>
|
|
|
|
<el-table-column label="创建时间" prop="createTime" width="140"></el-table-column>
|
|
|
|
<el-table-column label="备注" prop="remake" width="120"></el-table-column>
|
|
|
|
<el-table-column label="备注" prop="remake" width="140"></el-table-column>
|
|
|
|
<el-table-column label="操作" fixed="right" width="120">
|
|
|
|
<el-table-column label="操作" fixed="right" width="120">
|
|
|
|
<template slot-scope="scope">
|
|
|
|
<template slot-scope="scope">
|
|
|
|
<el-button
|
|
|
|
<el-button
|
|
|
@ -356,23 +356,23 @@
|
|
|
|
</el-select>
|
|
|
|
</el-select>
|
|
|
|
</el-form-item>
|
|
|
|
</el-form-item>
|
|
|
|
</el-col>
|
|
|
|
</el-col>
|
|
|
|
<!--<el-col :span="24" class="el-col">-->
|
|
|
|
<el-col :span="12" class="el-col">
|
|
|
|
<!-- <el-form-item label="所属组别:" prop="grouping" class="query-form-item">-->
|
|
|
|
<el-form-item label="所属组别:" prop="grouping" class="query-form-item">
|
|
|
|
<!-- <el-select v-model="formData.constituencies" placeholder="请选择所属组别"-->
|
|
|
|
<el-select v-model="formData.constituencies" placeholder="请选择所属组别"
|
|
|
|
<!-- style="width: 80%"-->
|
|
|
|
style="width: 80%"
|
|
|
|
<!-- clearable-->
|
|
|
|
clearable
|
|
|
|
<!-- >-->
|
|
|
|
>
|
|
|
|
<!-- <el-option-->
|
|
|
|
<el-option
|
|
|
|
<!-- v-for="item in fromDeptOptions"-->
|
|
|
|
v-for="item in fromDeptOptions"
|
|
|
|
<!-- :key="item.code"-->
|
|
|
|
:key="item.code"
|
|
|
|
<!-- :label="item.label"-->
|
|
|
|
:label="item.label"
|
|
|
|
<!-- :value="item.code"-->
|
|
|
|
:value="item.code"
|
|
|
|
<!-- >-->
|
|
|
|
>
|
|
|
|
<!-- <span style="float: left">{{ item.label }}</span>-->
|
|
|
|
<span style="float: left">{{ item.label }}</span>
|
|
|
|
<!-- </el-option>-->
|
|
|
|
</el-option>
|
|
|
|
<!-- </el-select>-->
|
|
|
|
</el-select>
|
|
|
|
<!-- </el-form-item>-->
|
|
|
|
</el-form-item>
|
|
|
|
<!--</el-col>-->
|
|
|
|
</el-col>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<el-col :span="12" class="el-col">
|
|
|
|
<el-col :span="12" class="el-col">
|
|
|
@ -578,12 +578,17 @@ export default {
|
|
|
|
total: 0,
|
|
|
|
total: 0,
|
|
|
|
userTotal: 0
|
|
|
|
userTotal: 0
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
},
|
|
|
|
|
|
|
|
computed: {
|
|
|
|
|
|
|
|
|
|
|
|
},
|
|
|
|
},
|
|
|
|
methods: {
|
|
|
|
methods: {
|
|
|
|
hideSearch() {
|
|
|
|
hideSearch() {
|
|
|
|
this.showSearch = !this.showSearch
|
|
|
|
this.showSearch = !this.showSearch
|
|
|
|
},
|
|
|
|
},
|
|
|
|
onSubmit() {
|
|
|
|
onSubmit() {
|
|
|
|
|
|
|
|
this.userList = []
|
|
|
|
|
|
|
|
this.rowData.workplaceName = "工位"
|
|
|
|
this.query.page = 1
|
|
|
|
this.query.page = 1
|
|
|
|
this.getList()
|
|
|
|
this.getList()
|
|
|
|
},
|
|
|
|
},
|
|
|
@ -600,7 +605,7 @@ export default {
|
|
|
|
getList() {
|
|
|
|
getList() {
|
|
|
|
listPage(this.query).then(res => {
|
|
|
|
listPage(this.query).then(res => {
|
|
|
|
if (res.code != 20000) {
|
|
|
|
if (res.code != 20000) {
|
|
|
|
return this.$message.error('错误错误')
|
|
|
|
return this.$message.error(res.message)
|
|
|
|
}
|
|
|
|
}
|
|
|
|
this.list = res.data.list || []
|
|
|
|
this.list = res.data.list || []
|
|
|
|
this.total = res.data.total || 0
|
|
|
|
this.total = res.data.total || 0
|
|
|
@ -647,7 +652,7 @@ export default {
|
|
|
|
})
|
|
|
|
})
|
|
|
|
},
|
|
|
|
},
|
|
|
|
formSubmit() {
|
|
|
|
formSubmit() {
|
|
|
|
this.formData.constituencies = this.groupData.code
|
|
|
|
// this.formData.constituencies = this.groupData.code
|
|
|
|
if (this.fromName == 'add') {
|
|
|
|
if (this.fromName == 'add') {
|
|
|
|
this.$refs['dataForm'].validate((valid) => {
|
|
|
|
this.$refs['dataForm'].validate((valid) => {
|
|
|
|
if (!valid) {
|
|
|
|
if (!valid) {
|
|
|
@ -665,8 +670,7 @@ export default {
|
|
|
|
}
|
|
|
|
}
|
|
|
|
this.getList()
|
|
|
|
this.getList()
|
|
|
|
}).catch(() => {
|
|
|
|
}).catch(() => {
|
|
|
|
this.addWorkplaceDialogVisible = false
|
|
|
|
|
|
|
|
this.$message.error('新增错误')
|
|
|
|
|
|
|
|
})
|
|
|
|
})
|
|
|
|
}
|
|
|
|
}
|
|
|
|
})
|
|
|
|
})
|
|
|
@ -687,7 +691,17 @@ export default {
|
|
|
|
},
|
|
|
|
},
|
|
|
|
edit(row) {
|
|
|
|
edit(row) {
|
|
|
|
this.formData = row
|
|
|
|
this.formData = row
|
|
|
|
|
|
|
|
this.formData.invCode = String(row.invCode)
|
|
|
|
|
|
|
|
this.formData.chargeUser = Number(row.chargeUser)
|
|
|
|
this.fromName = 'edit'
|
|
|
|
this.fromName = 'edit'
|
|
|
|
|
|
|
|
this.invQuery.invCode = row.invCode
|
|
|
|
|
|
|
|
getUsers(this.invQuery).then(res => {
|
|
|
|
|
|
|
|
if (res.code == 20000) {
|
|
|
|
|
|
|
|
this.users = res.data.list || []
|
|
|
|
|
|
|
|
} else {
|
|
|
|
|
|
|
|
this.$message.error('错误')
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
})
|
|
|
|
this.addWorkplaceDialogVisible = true
|
|
|
|
this.addWorkplaceDialogVisible = true
|
|
|
|
},
|
|
|
|
},
|
|
|
|
deleteWorkplace(row) {
|
|
|
|
deleteWorkplace(row) {
|
|
|
|