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

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", "@toast-ui/editor": "^2.1.2",
"ant-design-vue": "^1.7.2", "ant-design-vue": "^1.7.2",
"axios": "^0.18.0", "axios": "^0.18.0",
"cache-loader": "^4.1.0",
"china-area-data": "^5.0.1", "china-area-data": "^5.0.1",
"clipboard": "^2.0.4", "clipboard": "^2.0.4",
"codemirror": "^5.46.0", "codemirror": "^5.46.0",

View File

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