|
@@ -114,12 +114,12 @@
|
|
|
/>
|
|
|
<el-table-column label="外出事由" align="center" prop="cause" />
|
|
|
<el-table-column
|
|
|
- label="营级审批人"
|
|
|
+ label="所在单位审批人"
|
|
|
align="center"
|
|
|
prop="unitPeopleName"
|
|
|
- width="90"
|
|
|
+ width="120"
|
|
|
/>
|
|
|
- <el-table-column label="营级审批状态" align="center" width="100">
|
|
|
+ <el-table-column label="所在单位审批状态" align="center" width="130">
|
|
|
<template slot-scope="scope">
|
|
|
<el-col v-if="scope.row.unitPeopleState == 1" style="color: #ffba00"
|
|
|
>未处理</el-col
|
|
@@ -252,10 +252,17 @@
|
|
|
label="操作"
|
|
|
align="center"
|
|
|
class-name="small-padding fixed-width"
|
|
|
- width="200"
|
|
|
+ width="220"
|
|
|
>
|
|
|
<template slot-scope="scope">
|
|
|
- <div v-if="scope.row.isTeShu == '1'">
|
|
|
+ <div
|
|
|
+ v-if="
|
|
|
+ scope.row.isTeShu == '1' &&
|
|
|
+ scope.row.peopleoneState != '1' &&
|
|
|
+ scope.row.shenpijiedian != '3' &&
|
|
|
+ scope.row.yingjicaozuoren != 'oneji'
|
|
|
+ "
|
|
|
+ >
|
|
|
<!-- 1 -->
|
|
|
<el-button
|
|
|
size="bts"
|
|
@@ -328,7 +335,8 @@
|
|
|
type="text"
|
|
|
v-if="
|
|
|
scope.row.peopleoneState == '1' &&
|
|
|
- scope.row.shenpijiedian == '3'
|
|
|
+ scope.row.shenpijiedian == '3' &&
|
|
|
+ scope.row.yingjicaozuoren == 'oneji'
|
|
|
"
|
|
|
@click="handleShenPi(scope.row)"
|
|
|
v-hasPermi="['militaryvehicleManagement:thebusApply:edit']"
|
|
@@ -340,7 +348,8 @@
|
|
|
type="text"
|
|
|
v-if="
|
|
|
scope.row.peopletwoState == '1' &&
|
|
|
- scope.row.shenpijiedian == '4'
|
|
|
+ scope.row.shenpijiedian == '4' &&
|
|
|
+ scope.row.yingjicaozuoren == 'twoji'
|
|
|
"
|
|
|
@click="handleShenPi(scope.row)"
|
|
|
v-hasPermi="['militaryvehicleManagement:thebusApply:edit']"
|
|
@@ -352,7 +361,8 @@
|
|
|
type="text"
|
|
|
v-if="
|
|
|
scope.row.peoplethreeState == '1' &&
|
|
|
- scope.row.shenpijiedian == '5'
|
|
|
+ scope.row.shenpijiedian == '5' &&
|
|
|
+ scope.row.yingjicaozuoren == 'threeji'
|
|
|
"
|
|
|
@click="handleShenPi(scope.row)"
|
|
|
v-hasPermi="['militaryvehicleManagement:thebusApply:edit']"
|
|
@@ -832,7 +842,7 @@ import {
|
|
|
listThebusConfig,
|
|
|
getThebusUser,
|
|
|
} from "@/api/militaryvehicleManagement/thebusConfig";
|
|
|
-import { getAll } from "@/api/grassrootsregistration/bdglmeeting";
|
|
|
+import { getAll, getUser } from "@/api/grassrootsregistration/bdglmeeting";
|
|
|
|
|
|
export default {
|
|
|
name: "ThebusApply",
|
|
@@ -908,7 +918,7 @@ export default {
|
|
|
treeList: [],
|
|
|
// 人员列表
|
|
|
renYuan: [],
|
|
|
- // 获取营级审批人
|
|
|
+ // 获取所在单位审批人
|
|
|
userRen: [],
|
|
|
// 审批模板
|
|
|
shenPi: [],
|
|
@@ -1232,6 +1242,12 @@ export default {
|
|
|
selectPeo(data) {
|
|
|
this.form.unitName = data.label;
|
|
|
this.getRen(data.id);
|
|
|
+ this.getSuozaiRen(data.id);
|
|
|
+ },
|
|
|
+ getSuozaiRen(id) {
|
|
|
+ getUser(id).then((res) => {
|
|
|
+ this.userRen = res.data;
|
|
|
+ });
|
|
|
},
|
|
|
/** 查询用车申请列表 */
|
|
|
getList() {
|
|
@@ -1548,6 +1564,7 @@ export default {
|
|
|
/* 审批按钮样式 */
|
|
|
::v-deep .cell {
|
|
|
display: flex !important;
|
|
|
+ margin-top: 10px;
|
|
|
}
|
|
|
.box {
|
|
|
background-color: #ffba00 !important;
|