Commit a255e982 authored by 陈晓晋's avatar 陈晓晋

Merge branch 'xjchen' into 'develop'

任务管理列表修改20230724-1

See merge request !3
parents 44d5e8b3 768fc7ab
<template> <template>
<div class="app-container"> <div class="app-container">
<el-form <el-form :model="queryParams" ref="queryForm" size="small" :inline="true" v-show="showSearch" label-width="68px">
:model="queryParams"
ref="queryForm"
size="small"
:inline="true"
v-show="showSearch"
label-width="68px"
>
<el-form-item label="任务名称" prop="name"> <el-form-item label="任务名称" prop="name">
<el-input <el-input v-model="queryParams.name" placeholder="请输入任务名称" clearable @keyup.enter.native="handleQuery" />
v-model="queryParams.name"
placeholder="请输入任务名称"
clearable
@keyup.enter.native="handleQuery"
/>
</el-form-item> </el-form-item>
<el-form-item> <el-form-item>
<el-button <el-button type="primary" icon="el-icon-search" size="mini" @click="handleQuery">搜索</el-button>
type="primary" <el-button icon="el-icon-refresh" size="mini" @click="resetQuery">重置</el-button>
icon="el-icon-search"
size="mini"
@click="handleQuery"
>搜索</el-button
>
<el-button icon="el-icon-refresh" size="mini" @click="resetQuery"
>重置</el-button
>
</el-form-item> </el-form-item>
</el-form> </el-form>
<el-table <el-table v-loading="loading" :data="planList" @selection-change="handleSelectionChange">
v-loading="loading"
:data="planList"
@selection-change="handleSelectionChange"
>
<el-table-column label="序号" align="center"> <el-table-column label="序号" align="center">
<template slot-scope="scope"> <template slot-scope="scope">
<span>{{ scope.$index + 1 }}</span> <span>{{ scope.$index + 1 }}</span>
...@@ -48,159 +24,139 @@ ...@@ -48,159 +24,139 @@
<el-table-column label="创建单位" align="center" prop="createDeptName" /> <el-table-column label="创建单位" align="center" prop="createDeptName" />
<el-table-column label="负责人" align="center" prop="leaderUserName" /> <el-table-column label="负责人" align="center" prop="leaderUserName" />
<el-table-column label="执行人员" align="center" prop="workUserNames" /> <el-table-column label="执行人员" align="center" prop="workUserNames" />
<el-table-column <el-table-column label="开始时间" align="center" prop="startTime" width="180">
label="开始时间"
align="center"
prop="startTime"
width="180"
>
<template slot-scope="scope"> <template slot-scope="scope">
<span>{{ parseTime(scope.row.startTime, "{y}-{m}-{d}") }}</span> <span>{{ parseTime(scope.row.startTime, "{y}-{m}-{d}") }}</span>
</template> </template>
</el-table-column> </el-table-column>
<el-table-column <el-table-column label="结束时间" align="center" prop="endTime" width="180">
label="结束时间"
align="center"
prop="endTime"
width="180"
>
<template slot-scope="scope"> <template slot-scope="scope">
<span>{{ parseTime(scope.row.endTime, "{y}-{m}-{d}") }}</span> <span>{{ parseTime(scope.row.endTime, "{y}-{m}-{d}") }}</span>
</template> </template>
</el-table-column> </el-table-column>
<el-table-column label="状态" align="center" prop="statusName" /> <el-table-column label="状态" align="center" prop="statusName" />
<el-table-column <el-table-column label="操作" align="center" :show-overflow-tooltip="true">
label="操作"
align="center"
:show-overflow-tooltip="true"
>
<template slot-scope="scope"> <template slot-scope="scope">
<router-link <router-link :to="'/risk/plan/ledgerdata/index/' + scope.row.id" class="link-type">
:to="'/risk/plan/ledgerdata/index/' + scope.row.id" <el-button size="mini" type="text" icon="el-icon-view">详情</el-button>
class="link-type"
>
<el-button size="mini" type="text" icon="el-icon-view"
>详情</el-button
>
</router-link> </router-link>
</template> </template>
</el-table-column> </el-table-column>
</el-table> </el-table>
<pagination <pagination v-show="total > 0" :total="total" :page.sync="queryParams.pageNum" :limit.sync="queryParams.pageSize"
v-show="total > 0" @pagination="getList" />
:total="total"
:page.sync="queryParams.pageNum"
:limit.sync="queryParams.pageSize"
@pagination="getList"
/>
</div> </div>
</template> </template>
<script> <script>
import { listPlan, addPlan, updatePlan } from "@/api/risk/plan"; import {
listPlan,
addPlan,
updatePlan
} from "@/api/risk/plan";
export default { export default {
name: "Plan", name: "Plan",
data() { data() {
return { return {
// 遮罩层 // 遮罩层
loading: true, loading: true,
// 选中数组 // 选中数组
ids: [], ids: [],
// 非单个禁用 // 非单个禁用
single: true, single: true,
// 非多个禁用 // 非多个禁用
multiple: true, multiple: true,
// 显示搜索条件 // 显示搜索条件
showSearch: true, showSearch: true,
// 总条数 // 总条数
total: 0, total: 0,
// 风险计划表格数据 // 风险计划表格数据
planList: [], planList: [],
// 弹出层标题 // 弹出层标题
title: "", title: "",
// 是否显示弹出层 // 是否显示弹出层
open: false, open: false,
// 查询参数 // 查询参数
queryParams: { queryParams: {
pageNum: 1, pageNum: 1,
pageSize: 10, pageSize: 10,
name: null, name: null,
no: null, no: null,
projectId: null, projectId: null,
buildingIds: null, buildingIds: null,
createUserId: null, createUserId: null,
createDeptId: null, createDeptId: null,
leaderUserId: null, leaderUserId: null,
workUserIds: null, workUserIds: null,
startTime: null, startTime: null,
endTime: null, endTime: null,
status: null, status: null,
}, },
// 表单参数 // 表单参数
form: {}, form: {},
// 表单校验 // 表单校验
rules: {}, rules: {},
};
},
created() {
this.getList();
},
methods: {
/** 查询风险计划列表 */
getList() {
this.loading = true;
listPlan(this.queryParams).then((response) => {
this.planList = response.rows;
this.total = response.total;
this.loading = false;
});
},
// 取消按钮
cancel() {
this.open = false;
this.reset();
},
// 表单重置
reset() {
this.form = {
id: null,
name: null,
no: null,
projectId: null,
buildingIds: null,
createUserId: null,
createDeptId: null,
leaderUserId: null,
workUserIds: null,
startTime: null,
endTime: null,
status: null,
delFlag: null,
createBy: null,
createTime: null,
updateBy: null,
updateTime: null,
}; };
this.resetForm("form");
}, },
/** 搜索按钮操作 */ created() {
handleQuery() {
this.queryParams.pageNum = 1;
this.getList(); this.getList();
}, },
/** 重置按钮操作 */ methods: {
resetQuery() { /** 查询风险计划列表 */
this.resetForm("queryForm"); getList() {
this.handleQuery(); this.loading = true;
}, listPlan(this.queryParams).then((response) => {
// 多选框选中数据 this.planList = response.rows;
handleSelectionChange(selection) { this.total = response.total;
this.ids = selection.map((item) => item.id); this.loading = false;
this.single = selection.length !== 1; });
this.multiple = !selection.length; },
// 取消按钮
cancel() {
this.open = false;
this.reset();
},
// 表单重置
reset() {
this.form = {
id: null,
name: null,
no: null,
projectId: null,
buildingIds: null,
createUserId: null,
createDeptId: null,
leaderUserId: null,
workUserIds: null,
startTime: null,
endTime: null,
status: null,
delFlag: null,
createBy: null,
createTime: null,
updateBy: null,
updateTime: null,
};
this.resetForm("form");
},
/** 搜索按钮操作 */
handleQuery() {
this.queryParams.pageNum = 1;
this.getList();
},
/** 重置按钮操作 */
resetQuery() {
this.resetForm("queryForm");
this.handleQuery();
},
// 多选框选中数据
handleSelectionChange(selection) {
this.ids = selection.map((item) => item.id);
this.single = selection.length !== 1;
this.multiple = !selection.length;
},
}, },
}, };
}; </script>
</script> \ No newline at end of file
<template> <template>
<div class="wrapper"> <div class="wrapper">
<el-descriptions <el-descriptions :title="InfoList.detailsDto.name" class="margin-top" :column="3" :size="size" border>
:title="InfoList.detailsDto.name"
class="margin-top" <el-descriptions-item label="所属项目">{{ InfoList.detailsDto.projectName }}</el-descriptions-item>
:column="3" <el-descriptions-item label="所属楼栋">{{ InfoList.detailsDto.buildingNames }}</el-descriptions-item>
:size="size" <el-descriptions-item label="所属单位">{{ InfoList.detailsDto.deptName }}</el-descriptions-item>
border
>
<el-descriptions-item label="所属项目">{{
InfoList.detailsDto.projectName
}}</el-descriptions-item>
<el-descriptions-item label="所属楼栋">{{
InfoList.detailsDto.buildingNames
}}</el-descriptions-item>
<el-descriptions-item label="所属单位">{{
InfoList.detailsDto.deptName
}}</el-descriptions-item>
<el-descriptions-item label="所属省市">苏州市</el-descriptions-item> <el-descriptions-item label="所属省市">苏州市</el-descriptions-item>
<el-descriptions-item label="项目负责人">{{ <el-descriptions-item label="项目负责人">{{ InfoList.detailsDto.leaderUserName }}</el-descriptions-item>
InfoList.detailsDto.leaderUserName <el-descriptions-item label="评估组成员">{{ InfoList.detailsDto.workUserNames }}</el-descriptions-item>
}}</el-descriptions-item> <el-descriptions-item label="开始时间">{{ InfoList.startTime }}</el-descriptions-item>
<el-descriptions-item label="评估组成员">{{ <el-descriptions-item label="结束时间">{{ InfoList.endTime }}</el-descriptions-item>
InfoList.detailsDto.workUserNames <el-descriptions-item label="项目状态">{{ InfoList.status }}</el-descriptions-item>
}}</el-descriptions-item> <el-descriptions-item label="创建人">{{ InfoList.createUserName }}</el-descriptions-item>
<el-descriptions-item label="开始时间">{{ <el-descriptions-item label="创建单位">{{ InfoList.detailsDto.createDeptName }}</el-descriptions-item>
InfoList.startTime <el-descriptions-item label="创建时间">{{ InfoList.detailsDto.createTime }}</el-descriptions-item>
}}</el-descriptions-item>
<el-descriptions-item label="结束时间">{{
InfoList.endTime
}}</el-descriptions-item>
<el-descriptions-item label="项目状态">{{
InfoList.status
}}</el-descriptions-item>
<el-descriptions-item label="创建人">{{
InfoList.createUserName
}}</el-descriptions-item>
<el-descriptions-item label="创建单位">{{
InfoList.detailsDto.createDeptName
}}</el-descriptions-item>
<el-descriptions-item label="创建时间">{{
InfoList.detailsDto.createTime
}}</el-descriptions-item>
</el-descriptions> </el-descriptions>
<el-tabs v-model="activeName" @tab-click="handleClick"> <el-tabs v-model="activeName" type="border-card" style="margin-top: 10px;" @tab-click="handleClick">
<el-tab-pane label="风险评估清单" name="first"> <el-tab-pane label="风险评估清单" name="first">
<!-- <el-form <!-- <el-form :model="queryParams" ref="queryForm" size="small" :inline="true" v-show="showSearch"
:model="queryParams" label-width="82px">
ref="queryForm" <el-form-item label="风险源名称" prop="name">
size="small" <el-input v-model="queryParams.name" placeholder="请输入风险源名称" clearable
:inline="true" @keyup.enter.native="handleQuery" />
v-show="showSearch" </el-form-item>
label-width="82px" <el-form-item label="风险等级" prop="level">
> <el-input v-model="queryParams.level" placeholder="请输入风险等级" clearable
<el-form-item label="风险源名称" prop="name"> @keyup.enter.native="handleQuery" />
<el-input </el-form-item>
v-model="queryParams.name" <el-form-item label="风险类型" prop="factor">
placeholder="请输入风险源名称" <el-input v-model="queryParams.factor" placeholder="请输入风险因素" clearable
clearable @keyup.enter.native="handleQuery" />
@keyup.enter.native="handleQuery" </el-form-item>
/> <el-form-item label="存在部位" prop="referenceBasis">
</el-form-item> <el-input v-model="queryParams.referenceBasis" placeholder="请输入参考依据" clearable
<el-form-item label="风险等级" prop="level"> @keyup.enter.native="handleQuery" />
<el-input </el-form-item>
v-model="queryParams.level" <el-form-item>
placeholder="请输入风险等级" <el-button type="primary" icon="el-icon-search" size="mini" @click="handleQuery">搜索</el-button>
clearable <el-button icon="el-icon-refresh" size="mini" @click="resetQuery">重置</el-button>
@keyup.enter.native="handleQuery" </el-form-item>
/> </el-form> -->
</el-form-item> <el-button type="warning" plain icon="el-icon-download" size="mini" @click="downList(InfoList.detailsDto.id)"
<el-form-item label="风险类型" prop="factor"> style="float: right;margin-bottom: 8px;">导出风险清单</el-button>
<el-input <el-table v-loading="loading" :data="listList" @selection-change="handleSelectionChange">
v-model="queryParams.factor" <el-table-column label="序号" align="center">
placeholder="请输入风险因素" <template slot-scope="scope">
clearable <span>{{ scope.$index + 1 }}</span>
@keyup.enter.native="handleQuery" </template>
/> </el-table-column>
</el-form-item>
<el-form-item label="存在部位" prop="referenceBasis">
<el-input
v-model="queryParams.referenceBasis"
placeholder="请输入参考依据"
clearable
@keyup.enter.native="handleQuery"
/>
</el-form-item>
<el-form-item>
<el-button
type="primary"
icon="el-icon-search"
size="mini"
@click="handleQuery"
>搜索</el-button
>
<el-button icon="el-icon-refresh" size="mini" @click="resetQuery"
>重置</el-button
>
</el-form-item>
</el-form> -->
<el-button
style="margin-bottom: 10px"
@click="downList(InfoList.detailsDto.id)"
>导 出</el-button
>
<el-table v-loading="loading" :data="listList">
<!-- <el-table-column type="selection" width="55" align="center" /> -->
<el-table-column type="index" width="50" label="序号" />
<!-- <el-table-column label="id" align="center" prop="id" /> -->
<el-table-column label="风险名称" align="center" prop="name" /> <el-table-column label="风险名称" align="center" prop="name" />
<el-table-column <el-table-column label="所属建筑" align="center" prop="buildingName" />
label="所属建筑"
align="center"
prop="buildingName"
/>
<el-table-column label="所属楼层" align="center" prop="floorName" /> <el-table-column label="所属楼层" align="center" prop="floorName" />
<el-table-column label="所属房间" align="center" prop="roomName" /> <el-table-column label="所属房间" align="center" prop="roomName" />
<el-table-column <el-table-column label="风险等级(系数)" align="center" prop="level" />
label="风险等级(系数)"
align="center"
prop="level"
/>
<el-table-column label="风险因素" align="center" prop="factor" /> <el-table-column label="风险因素" align="center" prop="factor" />
<el-table-column label="准事故类型" align="center" prop="type" /> <el-table-column label="准事故类型" align="center" prop="type" />
<el-table-column <el-table-column label="存在部位" align="center" prop="presenceLocation" />
label="存在部位"
align="center"
prop="presenceLocation"
/>
<el-table-column label="操作" align="center" prop="describe"> <el-table-column label="操作" align="center" prop="describe">
<template slot-scope="scope"> <template slot-scope="scope">
<div> <div>
<el-button <el-button size="mini" type="text" icon="el-icon-download"
size="mini" @click="exportList(scope.row.id)">下载风险告知卡</el-button>
type="text" <el-button size="mini" type="text" icon="el-icon-view"
icon="el-icon-download" @click="showDrawCanvas(scope.row.floorId)">查看四色图</el-button>
@click="exportList(scope.row.id)"
>下载风险告知卡</el-button
>
<el-button
size="mini"
type="text"
icon="el-icon-view"
@click="showDrawCanvas(scope.row.floorId)"
>查看四色图</el-button
>
</div> </div>
</template> </template>
</el-table-column> </el-table-column>
</el-table> </el-table>
<pagination <pagination v-show="total > 0" :total="total" :page.sync="queryParams.pageNum"
v-show="total > 0" :limit.sync="queryParams.pageSize" @pagination="getRiskList" />
:total="total"
:page.sync="queryParams.pageNum"
:limit.sync="queryParams.pageSize"
@pagination="getRiskList"
/>
</el-tab-pane> </el-tab-pane>
<el-tab-pane label="评估结果审核" name="second"> <el-tab-pane label="评估结果审核" name="second">
<div class="approveResult"> <div class="approveResult">
<div class="approveL"> <div class="approveL">
<div class="titles">审批流程</div> <div class="titles">审批流程</div>
<el-steps direction="vertical" :active="999"> <el-steps direction="vertical" :active="999">
<el-step <el-step v-for="approveDto in InfoList.approveListDtos" :title="approveDto.taskName"
v-for="approveDto in InfoList.approveListDtos" :key="approveDto.taskId" icon="el-icon-success">
:title="approveDto.taskName"
:key="approveDto.taskId"
icon="el-icon-success"
>
<template slot="description"> <template slot="description">
<el-card
class="box-card" <el-card class="box-card" style="line-height: 25px;font-size: 14px;margin: 15px;">
style="line-height: 25px; font-size: 14px; margin: 15px" <span style="display: block;"><b>操作时间: </b>{{ approveDto.startTime}}</span>
> <span style="display: block;"><b> 操作人:</b>{{ approveDto.approvalUserName}}</span>
<span style="display: block" <span style="display: block;"><b>任务节点: </b>{{ approveDto.taskName}}</span>
><b>操作时间: </b>{{ approveDto.startTime }}</span <span style="display: block;" v-if="approveDto.taskOpinion!=null"><b>审批意见:
> </b>{{'' + approveDto.taskOpinion}}</span>
<span style="display: block"
><b> 操作人:</b>{{ approveDto.approvalUserName }}</span
>
<span style="display: block"
><b>任务节点: </b>{{ approveDto.taskName }}</span
>
<span
style="display: block"
v-if="approveDto.taskOpinion != null"
><b>审批意见: </b>{{ "" + approveDto.taskOpinion }}</span
>
</el-card> </el-card>
</template> </template>
</el-step> </el-step>
</el-steps> </el-steps>
</div> </div>
</div> </div>
</el-tab-pane> </el-tab-pane>
<el-tab-pane label="风险评估报告" name="third"> <el-tab-pane label="风险评估报告" name="third">
...@@ -202,54 +108,119 @@ ...@@ -202,54 +108,119 @@
<el-table-column label="所属建筑" align="center" prop="name" /> <el-table-column label="所属建筑" align="center" prop="name" />
<el-table-column label="所属承租户" align="center" prop="type" /> <el-table-column label="所属承租户" align="center" prop="type" />
<el-table-column label="操作" align="center" prop="describe"> <el-table-column label="操作" align="center" prop="describe">
<template> <template slot-scope="scope">
<div> <div>
<el-button size="mini" type="text" icon="el-icon-download" <el-button size="mini" type="text" icon="el-icon-download">下载</el-button>
>下载</el-button
>
</div> </div>
</template> </template>
</el-table-column> </el-table-column>
</el-table> </el-table>
</el-tab-pane> </el-tab-pane>
</el-tabs> </el-tabs>
</div> </div>
</template> </template>
<script> <script>
import { import {
getPlan, getPlan,
riskListInfo, riskListInfo,
riskList, riskList,
exportRiskList, exportRiskList
} from "@/api/risk/plan"; } from "@/api/risk/plan";
export default {
data() {
return {
activeName: 'first',
// 遮罩层
loading: true,
// 选中数组
ids: [],
// 非单个禁用
single: true,
// 非多个禁用
multiple: true,
// 显示搜索条件
showSearch: true,
// 总条数
total: 0,
// 现有风险清单库表格数据
listList: [],
// 弹出层标题
title: "",
// 是否显示弹出层
open: false,
// 查询参数
queryParams: {
pageNum: 1,
pageSize: 10,
inherentId: null,
code: null,
name: null,
type: null,
describe: null,
evaluationModel: null,
evaluationRange: null,
level: null,
factor: null,
measuresProject: null,
measuresProjectFileIds: null,
measuresAdministration: null,
measuresAdministrationFileIds: null,
measuresEmergency: null,
measuresEmergencyFileIds: null,
referenceBasis: null,
},
// 表单参数
form: {},
// 表单校验
rules: {},
reportList: [],
InfoList: {},
}
},
mounted() {
// console.log(this.$route.params, 'lll')
this.getInfo(this.$route.params.id)
this.getRiskList(this.$route.params.id)
},
methods: {
downList(planId) {
this.download("/system/risk/plan/exportExcel/InherentList/" + planId, {});
},
showDrawCanvas(floorId) {
this.$router.push({
name: "drawCanvas",
params: {
floorId: floorId,
},
});
},
getInfo(id) {
riskListInfo(id).then(res => {
this.InfoList = res.data
})
},
getRiskList(id) {
riskList({
planId: id
}).then(res => {
this.loading = false
this.listList = res.rows
})
},
exportList(id) {
console.log(id, 'kkkk')
this.download('system/risk/plan/exportWord/riskNotification/' + id, {}, `风险告知卡.docx`)
}
},
handleClick() {
export default { },
data() { // 表单重置
return { reset() {
activeName: "first", this.form = {
// 遮罩层 id: null,
loading: true,
// 选中数组
ids: [],
// 非单个禁用
single: true,
// 非多个禁用
multiple: true,
// 显示搜索条件
showSearch: true,
// 总条数
total: 0,
// 现有风险清单库表格数据
listList: [],
// 弹出层标题
title: "",
// 是否显示弹出层
open: false,
// 查询参数
queryParams: {
pageNum: 1,
pageSize: 10,
inherentId: null, inherentId: null,
code: null, code: null,
name: null, name: null,
...@@ -266,141 +237,81 @@ export default { ...@@ -266,141 +237,81 @@ export default {
measuresEmergency: null, measuresEmergency: null,
measuresEmergencyFileIds: null, measuresEmergencyFileIds: null,
referenceBasis: null, referenceBasis: null,
}, delFlag: null,
// 表单参数 createBy: null,
form: {}, createTime: null,
// 表单校验 updateBy: null,
rules: {}, updateTime: null
reportList: [], };
InfoList: {}, this.resetForm("form");
};
},
mounted() {
// console.log(this.$route.params, 'lll')
this.getInfo(this.$route.params.id);
this.getRiskList(this.$route.params.id);
},
methods: {
downList(planId) {
this.download("/system/risk/plan/exportExcel/InherentList/" + planId, {});
}, },
showDrawCanvas(floorId) { /** 搜索按钮操作 */
this.$router.push({ handleQuery() {
name: "drawCanvas", this.queryParams.pageNum = 1;
params: { this.getList();
floorId: floorId,
},
});
},
getInfo(id) {
riskListInfo(id).then((res) => {
this.InfoList = res.data;
});
},
getRiskList(id) {
riskList({ planId: id }).then((res) => {
this.loading = false;
this.listList = res.rows;
});
}, },
exportList(id) { /** 重置按钮操作 */
console.log(id, "kkkk"); resetQuery() {
this.download("system/risk/plan/exportWord/riskNotification/" + id, {}); this.resetForm("queryForm");
this.handleQuery();
}, },
}, handleSelectionChange() {
handleClick() {},
// 表单重置 }
reset() { }
this.form = {
id: null,
inherentId: null,
code: null,
name: null,
type: null,
describe: null,
evaluationModel: null,
evaluationRange: null,
level: null,
factor: null,
measuresProject: null,
measuresProjectFileIds: null,
measuresAdministration: null,
measuresAdministrationFileIds: null,
measuresEmergency: null,
measuresEmergencyFileIds: null,
referenceBasis: null,
delFlag: null,
createBy: null,
createTime: null,
updateBy: null,
updateTime: null,
};
this.resetForm("form");
},
/** 搜索按钮操作 */
handleQuery() {
this.queryParams.pageNum = 1;
this.getList();
},
/** 重置按钮操作 */
resetQuery() {
this.resetForm("queryForm");
this.handleQuery();
},
handleSelectionChange() {},
};
</script> </script>
<style lang="scss" scoped> <style lang="scss" scoped>
.wrapper { .wrapper {
height: 100%; height: 100%;
width: 100%; width: 100%;
padding: 10px; padding: 10px;
box-sizing: border-box; box-sizing: border-box;
display: flex; display: flex;
flex-direction: column; flex-direction: column;
} }
::v-deep .el-tabs__content {
height: calc(100vh - 334px) !important;
}
.titles {
position: relative;
font-size: 18px;
font-weight: bold;
margin: 10px 0 10px 20px;
color: #666666;
}
.titles::before { ::v-deep .el-tabs__content {
content: ""; height: calc(100vh - 334px) !important;
width: 8px; }
height: 20px;
background: #3f9eff;
position: absolute;
left: -14px;
top: 0;
}
.approveResult { .titles {
flex: 1; position: relative;
width: 100%; font-size: 18px;
height: calc(100vh - 360px) !important; font-weight: bold;
overflow-y: auto; margin: 10px 0 10px 20px;
display: flex; color: #666666;
justify-content: space-between; }
.approveL { .titles::before {
flex: 3; content: "";
width: 100%; width: 8px;
height: 20px;
background: #3f9eff;
position: absolute;
left: -14px;
top: 0;
} }
.approveR { .approveResult {
flex: 7; flex: 1;
width: 100%; width: 100%;
padding: 0 0 0 30px; height: calc(100vh - 360px) !important;
border-left: 1px solid #d7d7d7d7; overflow-y: auto;
display: flex;
justify-content: space-between;
.approveL {
flex: 3;
width: 100%;
}
.approveR {
flex: 7;
width: 100%;
padding: 0 0 0 30px;
border-left: 1px solid #d7d7d7d7;
}
} }
} </style>
</style> \ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment