安全风险清单,列表改为输入

This commit is contained in:
liaoboping 2024-08-20 17:50:57 +08:00
parent 295de0909d
commit ccaf0dbeae
3 changed files with 76 additions and 95 deletions

View File

@ -16,6 +16,7 @@
"@toast-ui/editor": "^2.1.2",
"ant-design-vue": "^1.7.2",
"axios": "^0.18.0",
"cache-loader": "^4.1.0",
"china-area-data": "^5.0.1",
"clipboard": "^2.0.4",
"codemirror": "^5.46.0",

View File

@ -344,7 +344,7 @@
<br />
<h2 style="text-align: left; font-size: 13.5pt !important; font-family: 'MicrosoftYaHei'">安全策划</h2>
<div
<!-- <div
style="
width: 100%;
text-align: center;
@ -355,29 +355,8 @@
"
>
安全风险清单
</div>
<table style="width: 100%; border: 1px solid rgb(0, 0, 0); margin-bottom: 20px">
<tr>
<td class="plan_td">序号</td>
<td class="plan_td">作业活动</td>
<td class="plan_td">地点/场所/位置</td>
<td class="plan_td">风险描述</td>
<td class="plan_td">可能导致的事故类型</td>
<td class="plan_td">应对措施</td>
<td class="plan_td">责任人</td>
<td class="plan_td">备注</td>
</tr>
<tr style="border-top: 1px solid rgb(0, 0, 0)" v-for="(l, i) in busAqfxqdList">
<td class="plan_td">{{ i + 1 }}</td>
<td class="plan_td">{{ l.name }}</td>
<td class="plan_td">{{ l.weizhiName }}</td>
<td class="plan_td">{{ l.fxks }}</td>
<td class="plan_td">{{ l.kndzsglx }}</td>
<td class="plan_td">{{ l.ydcs }}</td>
<td class="plan_td">{{ l.zrrName }}</td>
<td class="plan_td">{{ l.note }}</td>
</tr>
</table>
</div> -->
<div class="duanluocss_csx">&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;{{ busAqfxqd }}</div>
<h2 style="text-align: left; font-size: 13.5pt !important; font-family: 'MicrosoftYaHei'">资源保障策划</h2>
<div class="duanluocss_csx" style="margin-bottom: 20px">
@ -467,7 +446,7 @@ export default {
divisionDutiesList: [],
busContractGjchList: [],
busContractZscqList: [],
busAqfxqdList: [],
busAqfxqd: '',
externalCollaborationList: [],
vhtml: '',
vhtmlc: '',
@ -927,8 +906,8 @@ export default {
getActionAwait('/busContractZscq/queryByProjectId', { projectId: record.projectId }).then((res) => {
that.busContractZscqList = res.result
})
getActionAwait('/busAqfxqd/queryByProjectId', { projectId: record.projectId }).then((res) => {
that.busAqfxqdList = res.result
getActionAwait('/busPlanning/queryById', { id: record.id }).then((res) => {
that.busAqfxqd = res.result.busAqfxqd
})
//id
getActionAwait('/busExternalCollaboration/queryByProjectId', { projectId: record.projectId }).then((res) => {

View File

@ -150,7 +150,8 @@
&nbsp;可参考质量管理体系文件中DKSY/Q8.1-01-2020/DKSY技术服务控制程/QP8.1-02-2020综合保障控制程序部分可单独成册
</a-tab-pane>
<a-tab-pane tab="安全风险清单" key="12" :forceRender="true">
<j-editable-table
<a-textarea v-model="model.busAqfxqd" rows="16" placeholder="请输入安全风险清单" />
<!-- <j-editable-table
ref="editableTable12"
:loading="table12.loading"
:columns="table12.columns"
@ -164,7 +165,7 @@
<template v-slot:action="props">
<a @click="handleDelete(props)">删除</a>
</template>
</j-editable-table>
</j-editable-table> -->
依据CB 30022-2018武器装备生产策划安全要求CB
30023-2018型号工程方案阶段安全风险评估要求等要求针对型号项目设计试验生产服务保障等全寿期开展安全生产工作策划按过程识别各阶段安全风险并制定应对措施
</a-tab-pane>
@ -848,68 +849,68 @@ export default {
},
],
},
table12: {
loading: false,
dataSource: [],
columns: [
{
title: '作业活动',
key: 'name',
width: '13%',
type: FormTypes.input,
defaultValue: '',
},
{
title: '地点/场所/位置',
key: 'weizhiName',
width: '13%',
type: FormTypes.input,
defaultValue: '',
},
{
title: '风险描述',
key: 'fxks',
width: '13%',
type: FormTypes.input,
defaultValue: '',
},
{
title: '可能导致的事故类型',
key: 'kndzsglx',
width: '13%',
type: FormTypes.input,
defaultValue: '',
},
{
title: '应对措施',
key: 'ydcs',
width: '13%',
type: FormTypes.input,
defaultValue: '',
},
{
title: '责任人',
key: 'zrrName',
width: '13%',
type: FormTypes.input,
defaultValue: '',
},
{
title: '备注',
key: 'note',
width: '13%',
type: FormTypes.input,
defaultValue: '',
},
{
title: '操作',
key: 'action',
width: '100px',
type: FormTypes.slot,
slotName: 'action',
},
],
},
// table12: {
// loading: false,
// dataSource: [],
// columns: [
// {
// title: '',
// key: 'name',
// width: '13%',
// type: FormTypes.input,
// defaultValue: '',
// },
// {
// title: '//',
// key: 'weizhiName',
// width: '13%',
// type: FormTypes.input,
// defaultValue: '',
// },
// {
// title: '',
// key: 'fxks',
// width: '13%',
// type: FormTypes.input,
// defaultValue: '',
// },
// {
// title: '',
// key: 'kndzsglx',
// width: '13%',
// type: FormTypes.input,
// defaultValue: '',
// },
// {
// title: '',
// key: 'ydcs',
// width: '13%',
// type: FormTypes.input,
// defaultValue: '',
// },
// {
// title: '',
// key: 'zrrName',
// width: '13%',
// type: FormTypes.input,
// defaultValue: '',
// },
// {
// title: '',
// key: 'note',
// width: '13%',
// type: FormTypes.input,
// defaultValue: '',
// },
// {
// title: '',
// key: 'action',
// width: '100px',
// type: FormTypes.slot,
// slotName: 'action',
// },
// ],
// },
model: {},
labelCol: {
xs: { span: 24 },
@ -1031,7 +1032,7 @@ export default {
busProjectOutsourcingExpenditurePlanningList: '/busProjectOutsourcingExpenditurePlanning/queryByProjectId',
busContractGjchList: '/busContractGjch/queryByProjectId',
busContractZscqList: '/busContractZscq/queryByProjectId',
busAqfxqdList: '/busAqfxqd/queryByProjectId',
// busAqfxqdList: '/busAqfxqd/queryByProjectId',
},
}
},
@ -1154,7 +1155,7 @@ export default {
getRefPromise(this, 'editableTable9'),
getRefPromise(this, 'editableTable10'),
getRefPromise(this, 'editableTable11'),
getRefPromise(this, 'editableTable12'),
// getRefPromise(this, 'editableTable12'),
])
},
/** 查询某个tab的数据 */
@ -1181,7 +1182,7 @@ export default {
busProjectOutsourcingExpenditurePlanningList: allValues.tablesValue[5].values,
busContractGjchList: allValues.tablesValue[6].values,
busContractZscqList: allValues.tablesValue[7].values,
busAqfxqdList: allValues.tablesValue[8].values,
// busAqfxqdList: allValues.tablesValue[8].values,
}
},
@ -1233,7 +1234,7 @@ export default {
that.requestTableData(that.url.busContractAcceptanceList, params, that.table7)
that.requestTableData(that.url.busContractGjchList, params, that.table10)
that.requestTableData(that.url.busContractZscqList, params, that.table11)
that.requestTableData(that.url.busAqfxqdList, params, that.table12)
// that.requestTableData(that.url.busAqfxqdList, params, that.table12)
let paramsv = { busPlanningId: record.id }
that.requestTableData(that.url.busProjectFinancialPlanningList, paramsv, that.table8)