| | |
| | | if (!formEl) return; |
| | | await formEl.validate((valid, fields) => { |
| | | if (valid) { |
| | | if (titleT.value == '新建') { |
| | | if (titleT.value == '新增') { |
| | | delete form.value.id; |
| | | dialogVisible.value = false; |
| | | accidentManagementSystemApi() |
| | |
| | | <div class="minCenter"> |
| | | <div class="btns"> |
| | | <div> |
| | | <el-button size="default" type="primary" :icon="Plus" @click="openD('新建')">新建</el-button> |
| | | <el-button size="default" type="primary" :icon="Plus" @click="openD('新增')">新增</el-button> |
| | | <!-- <el-button size="default" type="warning" :disabled="warning" :icon="EditPen" plain @click="openD('修改', deletAll[0])">修改</el-button> --> |
| | | <el-button size="default" type="danger" :disabled="danger" :icon="Delete" plain @click="onDeleteAll">删除</el-button> |
| | | </div> |
| | |
| | | if(!ruleForm.value.fileList){ |
| | | ruleForm.value.fileList = [] |
| | | } |
| | | if (title == '新建事故快报') { |
| | | if (title == '新增事故快报') { |
| | | if (!formEl) return; |
| | | await formEl.validate((valid, fields) => { |
| | | if (valid) { |
| | |
| | | <div class="button_Line"> |
| | | <div class="button_Left"> |
| | | <el-button size="default" type="primary" @click="onOpenAdd"> |
| | | <el-icon> <Plus /> </el-icon>新建 |
| | | <el-icon> <Plus /> </el-icon>新增 |
| | | </el-button> |
| | | <el-button size="default" type="warning" plain :disabled="warning" @click="onEdit('修改', deletAll[0])"> |
| | | <el-icon> <Edit /> </el-icon>修改 |
| | |
| | | // 打开新增弹窗 |
| | | const addRef = ref(); |
| | | const onOpenAdd = () => { |
| | | addRef.value.openDialog('新建事故快报',false); |
| | | addRef.value.openDialog('新增事故快报',false); |
| | | }; |
| | | // 新增后刷新 |
| | | const onMyAdd = (e: boolean) => { |
| | |
| | | if (!ruleForm.value.fileList) { |
| | | ruleForm.value.fileList = []; |
| | | } |
| | | if (title == '新建事故报告') { |
| | | if (title == '新增事故报告') { |
| | | if (!formEl) return; |
| | | await formEl.validate((valid, fields) => { |
| | | if (valid) { |
| | |
| | | <el-button size="default" type="primary" @click="onOpenAdd"> |
| | | <el-icon> |
| | | <Plus /> |
| | | </el-icon>新建 |
| | | </el-icon>新增 |
| | | </el-button> |
| | | <el-button size="default" type="warning" plain :disabled="warning" @click="onEdit('修改', deletAll[0])"> |
| | | <el-icon> |
| | |
| | | onMounted(() => { |
| | | listApi(); |
| | | }); |
| | | // 打开新建用户弹窗 |
| | | // 打开新增用户弹窗 |
| | | const addRef = ref(); |
| | | const onOpenAdd = () => { |
| | | addRef.value.openDialog('新建事故报告','',false,statusDisabledFlag); |
| | | addRef.value.openDialog('新增事故报告','',false,statusDisabledFlag); |
| | | }; |
| | | // 新增后刷新 |
| | | const onMyAdd = (e: boolean) => { |
| | |
| | | if(!ruleForm.value.fileList){ |
| | | ruleForm.value.fileList = [] |
| | | } |
| | | if (title == '新建工伤申报') { |
| | | if (title == '新增工伤申报') { |
| | | if (!formEl) return; |
| | | await formEl.validate((valid, fields) => { |
| | | if (valid) { |
| | |
| | | <template> |
| | | <div class="system-edit-user-container"> |
| | | <el-dialog |
| | | title="新建事故快报" |
| | | title="新增事故快报" |
| | | v-model="isShowDialog" |
| | | width="769px" |
| | | draggable |
| | |
| | | <el-icon> |
| | | <Plus /> |
| | | </el-icon> |
| | | 新建 |
| | | 新增 |
| | | </el-button> |
| | | <el-button size="default" type="warning" plain :disabled="warning" @click="onEdit('修改', deletAll[0])"> |
| | | <el-icon> |
| | |
| | | // 打开新增弹窗 |
| | | const addRef = ref(); |
| | | const onOpenAdd = () => { |
| | | addRef.value.openDialog('新建工伤申报', false); |
| | | addRef.value.openDialog('新增工伤申报', false); |
| | | }; |
| | | // 新增后刷新 |
| | | const onMyAdd = (e: boolean) => { |
| | |
| | | const titles = ref(); |
| | | const disabled = ref(); |
| | | const submitForm = async (title: string, formEl: FormInstance | undefined) => { |
| | | if (title == '新建应急队伍人员') { |
| | | if (title == '新增应急队伍人员') { |
| | | if (!formEl) return; |
| | | await formEl.validate((valid, fields) => { |
| | | if (valid) { |
| | |
| | | if(!ruleForm.value.fileList){ |
| | | ruleForm.value.fileList = [] |
| | | } |
| | | if (title == '新建应急队伍管理') { |
| | | if (title == '新增应急队伍管理') { |
| | | if (!formEl) return; |
| | | await formEl.validate((valid, fields) => { |
| | | if (valid) { |
| | |
| | | type: 'success', |
| | | }); |
| | | teamId.value = res.data.data.id |
| | | addRef.value.openDialog('新建应急队伍人员','',teamId.value); |
| | | addRef.value.openDialog('新增应急队伍人员','',teamId.value); |
| | | } else { |
| | | ElMessage({ |
| | | showClose: true, |
| | |
| | | .catch(() => {}); |
| | | |
| | | }else { |
| | | addRef.value.openDialog('新建应急队伍人员','',teamId.value); |
| | | addRef.value.openDialog('新增应急队伍人员','',teamId.value); |
| | | } |
| | | |
| | | |
| | |
| | | <el-button size="default" type="primary" @click="onOpenAdd"> |
| | | <el-icon> |
| | | <Plus /> |
| | | </el-icon>新建 |
| | | </el-icon>新增 |
| | | </el-button> |
| | | <el-button size="default" type="warning" plain :disabled="warning" @click="onEdit('修改', deleteAll[0])"> |
| | | <el-icon> |
| | |
| | | // 打开新增应急队伍弹窗 |
| | | const addRef = ref(); |
| | | const onOpenAdd = () => { |
| | | addRef.value.openDialog('新建应急队伍管理'); |
| | | addRef.value.openDialog('新增应急队伍管理'); |
| | | }; |
| | | // 新增后刷新 |
| | | const onMyAdd = (e: boolean) => { |
| | |
| | | const submitForm = async (title: string, formEl: FormInstance | undefined) => { |
| | | delete ruleForm.value.drillName |
| | | delete ruleForm.value.autualUserListString |
| | | if (title == '新建应急演练实施') { |
| | | if (title == '新增应急演练实施') { |
| | | if (!formEl) return; |
| | | await formEl.validate((valid, fields) => { |
| | | if (valid) { |
| | |
| | | <el-button size="default" type="primary" @click="onOpenAdd"> |
| | | <el-icon> |
| | | <Plus /> |
| | | </el-icon>新建 |
| | | </el-icon>新增 |
| | | </el-button> |
| | | <el-button size="default" type="danger" plain :disabled="danger" @click="onDeleteAll"> |
| | | <el-icon> |
| | |
| | | // 打开新增用户弹窗 |
| | | const addRef = ref(); |
| | | const onOpenAdd = () => { |
| | | addRef.value.openDialog('新建应急演练实施',false); |
| | | addRef.value.openDialog('新增应急演练实施',false); |
| | | }; |
| | | // 新增后刷新 |
| | | const onMyAdd = (e: boolean) => { |
| | |
| | | delete ruleForm.value.userListString |
| | | delete ruleForm.value.chargeUserList |
| | | delete ruleForm.value.gmtModitify |
| | | if (title == '新建应急演练计划发布') { |
| | | if (title == '新增应急演练计划发布') { |
| | | if (!formEl) return; |
| | | await formEl.validate((valid, fields) => { |
| | | if (valid) { |
| | |
| | | <el-button size="default" type="primary" @click="onOpenAdd"> |
| | | <el-icon> |
| | | <Plus /> |
| | | </el-icon>新建 |
| | | </el-icon>新增 |
| | | </el-button> |
| | | <el-button size="default" type="danger" plain :disabled="danger" @click="onDeleteAll"> |
| | | <el-icon> |
| | |
| | | // 打开新增弹窗 |
| | | const addRef = ref(); |
| | | const onOpenAdd = () => { |
| | | addRef.value.openDialog('新建应急演练计划发布',false); |
| | | addRef.value.openDialog('新增应急演练计划发布',false); |
| | | }; |
| | | // 新增后刷新 |
| | | const onMyAdd = (e: boolean) => { |
| | |
| | | }); |
| | | // 表单提交验证必填项 |
| | | const submitForm = async (title: string, formEl: FormInstance | undefined) => { |
| | | if (title == '新建应急物资检查') { |
| | | if (title == '新增应急物资检查') { |
| | | if (!formEl) return; |
| | | await formEl.validate((valid, fields) => { |
| | | if (valid) { |
| | |
| | | <div class="button_Line"> |
| | | <div class="button_Left"> |
| | | <el-button size="default" type="primary" @click="onOpenAdd"> |
| | | <el-icon> <Plus /> </el-icon>新建 |
| | | <el-icon> <Plus /> </el-icon>新增 |
| | | </el-button> |
| | | <el-button size="default" type="warning" plain :disabled="warning" @click="onEdit('修改', deletAll[0])"> |
| | | <el-icon> <Edit /> </el-icon>修改 |
| | |
| | | danger.value = false; |
| | | } |
| | | }; |
| | | // 打开新建用户弹窗 |
| | | // 打开新增用户弹窗 |
| | | const addRef = ref(); |
| | | const onOpenAdd = () => { |
| | | addRef.value.openDialog('新建应急物资检查'); |
| | | addRef.value.openDialog('新增应急物资检查'); |
| | | }; |
| | | // 新增后刷新 |
| | | const onMyAdd = (e: boolean) => { |
| | |
| | | }); |
| | | // 表单提交验证必填项 |
| | | const submitForm = async (title: string, formEl: FormInstance | undefined) => { |
| | | if (title == '新建应急物资代码') { |
| | | if (title == '新增应急物资代码') { |
| | | if (!formEl) return; |
| | | await formEl.validate((valid, fields) => { |
| | | if (valid) { |
| | |
| | | }); |
| | | // 表单提交验证必填项 |
| | | const submitForm = async (title: string, formEl: FormInstance | undefined) => { |
| | | if (title == '新建应急物资代码') { |
| | | if (title == '新增应急物资代码') { |
| | | if (!formEl) return; |
| | | await formEl.validate((valid, fields) => { |
| | | if (valid) { |
| | |
| | | <div class="button_Line"> |
| | | <div class="button_Left"> |
| | | <el-button size="default" type="primary" @click="onOpenAdd"> |
| | | <el-icon> <Plus /> </el-icon>新建 |
| | | <el-icon> <Plus /> </el-icon>新增 |
| | | </el-button> |
| | | <el-button size="default" type="warning" plain :disabled="warning" @click="onEdit('修改', deletAll[0])"> |
| | | <el-icon> <Edit /> </el-icon>修改 |
| | |
| | | listApi(); |
| | | } |
| | | }; |
| | | // 新建应急物资代码弹窗 |
| | | // 新增应急物资代码弹窗 |
| | | const addRef = ref(); |
| | | const onOpenAdd = () => { |
| | | addRef.value.openDialog('新建应急物资代码', false); |
| | | addRef.value.openDialog('新增应急物资代码', false); |
| | | }; |
| | | // 新增后刷新 |
| | | const onMyAdd = (e: boolean) => { |
| | |
| | | if (!formEl) return; |
| | | await formEl.validate((valid, fields) => { |
| | | if (valid) { |
| | | if (titles.value == '新建应急物资保养') { |
| | | if (titles.value == '新增应急物资保养') { |
| | | isShowDialog.value = false; |
| | | delete ruleForm.value.suppliesName |
| | | delete ruleForm.value.userName |
| | |
| | | </div> |
| | | <div class="button_Line"> |
| | | <div class="button_Left"> |
| | | <el-button size="default" type="primary" @click="onOpenAdd('新建')"> |
| | | <el-icon> <Plus /> </el-icon>新建 |
| | | <el-button size="default" type="primary" @click="onOpenAdd('新增')"> |
| | | <el-icon> <Plus /> </el-icon>新增 |
| | | </el-button> |
| | | <el-button size="default" type="warning" plain :disabled="warning" @click="onEdit('修改', deletAll[0])"> |
| | | <el-icon> <Edit /> </el-icon>修改 |
| | |
| | | } |
| | | }; |
| | | |
| | | // 打开新建用户弹窗 |
| | | // 打开新增用户弹窗 |
| | | const addRef = ref(); |
| | | const onOpenAdd = (data: any) => { |
| | | addRef.value.openDialog(data); |
| | |
| | | if(!ruleForm.value.fileList){ |
| | | ruleForm.value.fileList = [] |
| | | } |
| | | if (title == '新建应急预案管理') { |
| | | if (title == '新增应急预案管理') { |
| | | if (!formEl) return; |
| | | await formEl.validate((valid, fields) => { |
| | | if (valid) { |
| | |
| | | <div class="button_Line"> |
| | | <div class="button_Left"> |
| | | <el-button size="default" type="primary" @click="onOpenAdd"> |
| | | <el-icon> <Plus /> </el-icon>新建 |
| | | <el-icon> <Plus /> </el-icon>新增 |
| | | </el-button> |
| | | <el-button size="default" type="warning" plain :disabled="warning" @click="onEdit('修改', deleteAll[0])"> |
| | | <el-icon> <Edit /> </el-icon>修改 |
| | |
| | | // 打开新增用户弹窗 |
| | | const addRef = ref(); |
| | | const onOpenAdd = () => { |
| | | addRef.value.openDialog('新建应急预案管理', false); |
| | | addRef.value.openDialog('新增应急预案管理', false); |
| | | }; |
| | | // 新增后刷新 |
| | | const onMyAdd = (e: boolean) => { |
| | |
| | | <el-col :span="20"> |
| | | <div class="btns"> |
| | | <div> |
| | | <el-button size="default" type="primary" :icon="Plus" @click="openD('新建')">新建</el-button> |
| | | <el-button size="default" type="primary" :icon="Plus" @click="openD('新增')">新增</el-button> |
| | | <el-button size="default" :disabled="warning" type="warning" plain :icon="EditPen" |
| | | @click="openD('修改', deletAll[0])">修改</el-button> |
| | | <el-button size="default" :disabled="danger" type="danger" :icon="Delete" @click="onDeleteAll" plain>删除</el-button> |
| | |
| | | <el-col :span="20"> |
| | | <div class="btns"> |
| | | <div> |
| | | <el-button size="default" type="primary" :icon="Plus" @click="openD('新建')">新建</el-button> |
| | | <el-button size="default" type="primary" :icon="Plus" @click="openD('新增')">新增</el-button> |
| | | <el-button size="default" :disabled="warning" type="warning" plain :icon="EditPen" |
| | | @click="openD('修改', deletAll[0])">修改</el-button> |
| | | <el-button size="default" :disabled="danger" type="danger" :icon="Delete" @click="onDeleteAll" plain>删除</el-button> |
| | |
| | | if (!formEl) return; |
| | | await formEl.validate((valid, fields) => { |
| | | if (valid) { |
| | | if (titleT.value == '新建') { |
| | | if (titleT.value == '新增') { |
| | | delete form.value.id; |
| | | } |
| | | facilityManagementApi() |
| | |
| | | <template> |
| | | <div class="box"> |
| | | <el-button type="primary" :icon="Plus" @click="openD('新建', 0)" size="default">新建</el-button> |
| | | <el-button type="primary" :icon="Plus" @click="openD('新增', 0)" size="default">新增</el-button> |
| | | <el-table :data="tableData" style="width: 100%" row-key="id" :tree-props="propse"> |
| | | <el-table-column align="center" label="是否为设备内容"> |
| | | <template #default="scope"> |
| | |
| | | <el-col :span="20"> |
| | | <div class="btns"> |
| | | <div> |
| | | <el-button size="default" type="primary" :icon="Plus" @click="openD('新建')">新建</el-button> |
| | | <el-button size="default" type="primary" :icon="Plus" @click="openD('新增')">新增</el-button> |
| | | <el-button size="default" :disabled="warning" type="warning" plain :icon="EditPen" |
| | | @click="openD('修改', deletAll[0])">修改</el-button> |
| | | <el-button size="default" :disabled="danger" type="danger" :icon="Delete" @click="onDeleteAll" |
| | |
| | | <el-col :span="20"> |
| | | <div class="btns"> |
| | | <div> |
| | | <el-button size="default" type="primary" :icon="Plus" @click="openD('新建')">新建</el-button> |
| | | <el-button size="default" type="primary" :icon="Plus" @click="openD('新增')">新增</el-button> |
| | | <el-button size="default" :disabled="warning" type="warning" plain :icon="EditPen" |
| | | @click="openD('修改', deletAll[0])">修改</el-button> |
| | | <el-button size="default" :disabled="danger" type="danger" :icon="Delete" @click="onDeleteAll" plain>删除</el-button> |
| | |
| | | <div class="minCenter"> |
| | | <div class="btns"> |
| | | <div> |
| | | <el-button size="default" type="primary" :icon="Plus" @click="openD('新建')">新建</el-button> |
| | | <el-button size="default" type="primary" :icon="Plus" @click="openD('新增')">新增</el-button> |
| | | <el-button size="default" :disabled="warning" type="warning" plain :icon="EditPen" |
| | | @click="openD('修改', editRow)">修改</el-button> |
| | | <el-button size="default" :disabled="danger" type="danger" :icon="Delete" plain @click="onDeleteAll">删除 </el-button> |
| | |
| | | <div class="minCenter"> |
| | | <div class="btns"> |
| | | <div> |
| | | <el-button size="default" type="primary" :icon="Plus" @click="openD('新建')" >新建</el-button> |
| | | <el-button size="default" type="primary" :icon="Plus" @click="openD('新增')" >新增</el-button> |
| | | <el-button size="default" type="warning" :disabled="warning" plain :icon="EditPen" |
| | | @click="openD('修改', deletAll[0])">修改 </el-button> |
| | | <el-button size="default" type="danger" :disabled="danger" :icon="Delete" plain @click="handleSelectionChange">删除</el-button> |
| | |
| | | <div class="minCenter"> |
| | | <div class="btns"> |
| | | <div> |
| | | <el-button size="default" type="primary" :icon="Plus" @click="openD('新建')">新建</el-button> |
| | | <el-button size="default" type="primary" :icon="Plus" @click="openD('新增')">新增</el-button> |
| | | <el-button size="default" :disabled="warning" type="warning" plain :icon="EditPen" |
| | | @click="openD('修改', deletAll[0])">修改</el-button> |
| | | <el-button size="default" :disabled="danger" type="danger" :icon="Delete" plain @click="onDeleteAll">删除</el-button> |
| | |
| | | if (!formEl) return; |
| | | await formEl.validate((valid, fields) => { |
| | | if (valid) { |
| | | if(titleT.value=='新建'){ |
| | | if(titleT.value=='新增'){ |
| | | delete form.value.id |
| | | } |
| | | dialogVisible.value = false; |
| | |
| | | <template> |
| | | <el-dialog v-model="dialogVisible" :before-close="resetForm" :fullscreen="full" title="新建考核标准设定" width="60%" draggable> |
| | | <el-dialog v-model="dialogVisible" :before-close="resetForm" :fullscreen="full" title="新增考核标准设定" width="60%" draggable> |
| | | <el-button @click="toggleFullscreen" size="small" class="pot" :icon="FullScreen"></el-button> |
| | | <el-form :model="form" label-width="120px"> |
| | | <el-row> |
| | |
| | | }; |
| | | // 提交 |
| | | const submitForm = () => { |
| | | if(titleT.value=='新建'){ |
| | | if(titleT.value=='新增'){ |
| | | delete form.value.id |
| | | } |
| | | dialogVisible.value = false; |
| | |
| | | </el-form> |
| | | <div class="btns"> |
| | | <div> |
| | | <el-button size="default" type="primary" :icon="Plus" @click="openD('新建')">新建</el-button> |
| | | <el-button size="default" type="primary" :icon="Plus" @click="openD('新增')">新增</el-button> |
| | | <el-button size="default" :disabled="warning" type="warning" plain :icon="EditPen" |
| | | @click="openD('修改', deletAll[0])">修改</el-button> |
| | | <el-button size="default" :disabled="danger" type="danger" plain :icon="Delete" @click="onDeleteAll">删除</el-button> |
| | |
| | | </el-form> |
| | | <div class="btns"> |
| | | <div> |
| | | <el-button size="default" type="primary" :icon="Plus" @click="openDs('新建')">新建</el-button> |
| | | <el-button size="default" type="primary" :icon="Plus" @click="openDs('新增')">新增</el-button> |
| | | <!-- <el-button size="default" :disabled="warnings" type="warning" plain :icon="EditPen">修改</el-button> --> |
| | | <el-button size="default" :disabled="dangers" type="danger" plain :icon="Delete" @click="onDeleteAlls">删除</el-button> |
| | | </div> |
| | |
| | | <el-tabs v-model="ruleForm.searchParams.targetType" class="demo-tabs" @tab-click="handleClick"> |
| | | <div class="btns"> |
| | | <div> |
| | | <!-- <el-button size="default" type="primary" :icon="Plus" @click="openD('新建')">新建</el-button> --> |
| | | <!-- <el-button size="default" type="primary" :icon="Plus" @click="openD('新增')">新增</el-button> --> |
| | | </div> |
| | | <div> |
| | | <!-- <el-button size="default" :icon="Refresh"></el-button> --> |
| | |
| | | <div class="minCenter"> |
| | | <div class="btns"> |
| | | <div> |
| | | <el-button size="default" type="primary" :icon="Plus" @click="openD('新建')">新建</el-button> |
| | | <el-button size="default" type="primary" :icon="Plus" @click="openD('新增')">新增</el-button> |
| | | <el-button size="default" type="warning" :disabled="warning" :icon="EditPen" plain @click="openD('修改', deletAll[0])">修改</el-button> |
| | | <el-button size="default" type="danger" :disabled="danger" :icon="Delete" plain @click="onDeleteAll">删除</el-button> |
| | | </div> |
| | |
| | | <div class="minCenter"> |
| | | <div class="btns"> |
| | | <div> |
| | | <!--<el-button size="default" type="primary" :icon="Plus" @click="openD('新建')">新建</el-button>--> |
| | | <!--<el-button size="default" type="primary" :icon="Plus" @click="openD('新增')">新增</el-button>--> |
| | | <el-button size="default" type="warning" :disabled="warning" :icon="EditPen" plain |
| | | @click="openD('修改', deletAll[0])">修改</el-button> |
| | | <el-button size="default" type="danger" :disabled="danger" :icon="Delete" plain @click="onDeleteAll">删除</el-button> |
| | |
| | | <div class="minCenter"> |
| | | <div class="btns"> |
| | | <div> |
| | | <!--<el-button size="default" type="primary" :icon="Plus" @click="openD('新建')">新建</el-button>--> |
| | | <!--<el-button size="default" type="primary" :icon="Plus" @click="openD('新增')">新增</el-button>--> |
| | | <el-button size="default" type="warning" :disabled="warning" :icon="EditPen" plain |
| | | @click="openD('修改', deletAll[0])">修改</el-button> |
| | | <el-button size="default" type="danger" :disabled="danger" :icon="Delete" plain @click="onDeleteAll">删除</el-button> |
| | |
| | | <div class="minCenter"> |
| | | <div class="btns"> |
| | | <div> |
| | | <!--<el-button size="default" type="primary" :icon="Plus" @click="openD('新建')">新建</el-button>--> |
| | | <!--<el-button size="default" type="primary" :icon="Plus" @click="openD('新增')">新增</el-button>--> |
| | | <el-button size="default" type="warning" :disabled="warning" :icon="EditPen" plain |
| | | @click="openD('修改', deletAll[0])">修改</el-button> |
| | | <el-button size="default" type="danger" :disabled="danger" :icon="Delete" plain @click="onDeleteAll">删除</el-button> |
| | |
| | | <div class="minCenter"> |
| | | <div class="btns"> |
| | | <div> |
| | | <!--<el-button size="default" type="primary" :icon="Plus" @click="openD('新建')">新建</el-button>--> |
| | | <!--<el-button size="default" type="primary" :icon="Plus" @click="openD('新增')">新增</el-button>--> |
| | | <el-button size="default" type="warning" :disabled="warning" :icon="EditPen" plain |
| | | @click="openD('修改', deletAll[0])">修改</el-button> |
| | | <el-button size="default" type="danger" :disabled="danger" :icon="Delete" plain @click="onDeleteAll">删除</el-button> |
| | |
| | | if (!formEl) return; |
| | | await formEl.validate((valid, fields) => { |
| | | if (valid) { |
| | | if (titleT.value == '新建') { |
| | | if (titleT.value == '新增') { |
| | | delete form.value.id; |
| | | } |
| | | Shows.value = false; |
| | |
| | | <el-tabs v-model="ruleForm.searchParams.targetType" class="demo-tabs" @tab-click="handleClick"> |
| | | <div class="btns"> |
| | | <div> |
| | | <el-button type="primary" size="default" :icon="Plus" @click="openD('新建')">新建</el-button> |
| | | <el-button type="primary" size="default" :icon="Plus" @click="openD('新增')">新增</el-button> |
| | | <el-button type="danger" :disabled="danger" size="default" @click="onDeleteAll" :icon="Delete" plain>删除</el-button> |
| | | </div> |
| | | <div> |
| | |
| | | <div class="main-card"> |
| | | <el-row class="cardTop"> |
| | | <el-col :span="12" class="mainCardBtn"> |
| | | <el-button type="primary" :icon="Plus" size="default" @click="openInspectTaskDialog('新增', {})">新建</el-button> |
| | | <el-button type="primary" :icon="Plus" size="default" @click="openInspectTaskDialog('新增', {})">新增</el-button> |
| | | <!-- <el-button type="danger" :icon="Delete" size="default" plain>删除</el-button>--> |
| | | </el-col> |
| | | <el-button type="primary" :icon="Refresh" size="default" /> |
| | |
| | | <div class="main-card"> |
| | | <el-row class="cardTop"> |
| | | <el-col :span="12" class="mainCardBtn"> |
| | | <el-button type="primary" :icon="Plus" size="default" @click="dialogAddRecord=true">新建</el-button> |
| | | <el-button type="primary" :icon="Plus" size="default" @click="dialogAddRecord=true">新增</el-button> |
| | | <!-- <el-button type="warning" :icon="Edit" size="default" plain>修改</el-button>--> |
| | | <el-button type="danger" :icon="Delete" size="default" plain>删除</el-button> |
| | | </el-col> |
| | |
| | | <div class="main-card"> |
| | | <el-row class="cardTop"> |
| | | <el-col :span="12" class="mainCardBtn"> |
| | | <el-button type="primary" :icon="Plus" size="default" @click="dialogAddRecord=true">新建</el-button> |
| | | <el-button type="primary" :icon="Plus" size="default" @click="dialogAddRecord=true">新增</el-button> |
| | | <!-- <el-button type="warning" :icon="Edit" size="default" plain>修改</el-button>--> |
| | | <el-button type="danger" :icon="Delete" size="default" plain>删除</el-button> |
| | | </el-col> |
| | |
| | | <div class="main-card"> |
| | | <el-row class="cardTop"> |
| | | <el-col :span="12" class="mainCardBtn"> |
| | | <el-button type="primary" :icon="Plus" size="default" @click="dialogAddRecord=true">新建</el-button> |
| | | <el-button type="primary" :icon="Plus" size="default" @click="dialogAddRecord=true">新增</el-button> |
| | | <!-- <el-button type="warning" :icon="Edit" size="default" plain>修改</el-button>--> |
| | | <el-button type="danger" :icon="Delete" size="default" plain>删除</el-button> |
| | | </el-col> |
| | |
| | | <div class="main-card"> |
| | | <el-row class="cardTop"> |
| | | <el-col :span="12" class="mainCardBtn"> |
| | | <el-button type="primary" :icon="Plus" size="default" @click="dialogAddRecord=true">新建</el-button> |
| | | <el-button type="primary" :icon="Plus" size="default" @click="dialogAddRecord=true">新增</el-button> |
| | | <!-- <el-button type="warning" :icon="Edit" size="default" plain>修改</el-button>--> |
| | | <el-button type="danger" :icon="Delete" size="default" plain>删除</el-button> |
| | | </el-col> |
| | |
| | | <div class="main-card"> |
| | | <el-row class="cardTop"> |
| | | <el-col :span="12" class="mainCardBtn"> |
| | | <el-button type="primary" :icon="Plus" size="default" @click="dialogAddRecord=true">新建</el-button> |
| | | <el-button type="primary" :icon="Plus" size="default" @click="dialogAddRecord=true">新增</el-button> |
| | | <!-- <el-button type="warning" :icon="Edit" size="default" plain>修改</el-button>--> |
| | | <el-button type="danger" :icon="Delete" size="default" plain>删除</el-button> |
| | | </el-col> |
| | |
| | | <div class="main-card"> |
| | | <el-row class="cardTop"> |
| | | <el-col :span="12" class="mainCardBtn"> |
| | | <el-button type="primary" :icon="Plus" size="default" @click="dialogAddRecord=true">新建</el-button> |
| | | <el-button type="primary" :icon="Plus" size="default" @click="dialogAddRecord=true">新增</el-button> |
| | | <!-- <el-button type="warning" :icon="Edit" size="default" plain>修改</el-button>--> |
| | | <el-button type="danger" :icon="Delete" size="default" plain>删除</el-button> |
| | | </el-col> |
| | |
| | | <div class="main-card"> |
| | | <el-row class="cardTop"> |
| | | <el-col :span="12" class="mainCardBtn"> |
| | | <el-button type="primary" :icon="Plus" size="default" @click="dialogAddRecord=true">新建</el-button> |
| | | <el-button type="primary" :icon="Plus" size="default" @click="dialogAddRecord=true">新增</el-button> |
| | | <!-- <el-button type="warning" :icon="Edit" size="default" plain>修改</el-button>--> |
| | | <el-button type="danger" :icon="Delete" size="default" plain>删除</el-button> |
| | | </el-col> |
| | |
| | | <div class="main-card"> |
| | | <el-row class="cardTop"> |
| | | <el-col :span="12" class="mainCardBtn"> |
| | | <el-button type="primary" :icon="Plus" size="default" @click="dialogAddRecord=true">新建审批环节</el-button> |
| | | <el-button type="primary" :icon="Plus" size="default" @click="dialogAddRecord=true">新增审批环节</el-button> |
| | | <el-button type="danger" :icon="Delete" size="default" plain>删除</el-button> |
| | | </el-col> |
| | | <el-button type="primary" :icon="Refresh" size="default"/> |
| | |
| | | <div class="main-card"> |
| | | <el-row class="cardTop"> |
| | | <el-col :span="12" class="mainCardBtn"> |
| | | <el-button type="primary" size="default" @click="addReport">新建上报类型</el-button> |
| | | <el-button type="primary" size="default" @click="addReport">新增上报类型</el-button> |
| | | </el-col> |
| | | </el-row> |
| | | <el-table ref="multipleTableRef" |
| | |
| | | </div> |
| | | </div> |
| | | </div> |
| | | <el-dialog v-model="dialogAddForm" title="新建上报类型" @close="dialogColse"> |
| | | <el-dialog v-model="dialogAddForm" title="新增上报类型" @close="dialogColse"> |
| | | <el-form :model="reportForm" label-width="120px" ref="ruleFormRef" :rules="addRules"> |
| | | <el-form-item label="上报数据类型" prop="type"> |
| | | <el-select v-model="reportForm.type" placeholder="选择上报数据类型"> |
| | |
| | | <div class="main-card"> |
| | | <el-row class="cardTop"> |
| | | <el-col :span="12" class="mainCardBtn"> |
| | | <el-button type="primary" :icon="Plus" size="default" @click="dialogAddRecord=true" v-throttle>新建</el-button> |
| | | <el-button type="primary" :icon="Plus" size="default" @click="dialogAddRecord=true" v-throttle>新增</el-button> |
| | | <el-button type="danger" :icon="Delete" size="default" plain>删除</el-button> |
| | | <el-button type="success" size="default" plain>设置分类</el-button> |
| | | </el-col> |
| | |
| | | <div class="main-card"> |
| | | <el-row class="cardTop"> |
| | | <el-col :span="12" class="mainCardBtn"> |
| | | <el-button type="primary" :icon="Plus" size="default" @click="dialogAddRecord = true" v-throttle>新建</el-button> |
| | | <el-button type="primary" :icon="Plus" size="default" @click="dialogAddRecord = true" v-throttle>新增</el-button> |
| | | <el-button type="danger" :icon="Delete" size="default" plain>删除</el-button> |
| | | <el-button type="success" size="default" plain>设置分类</el-button> |
| | | </el-col> |
| | |
| | | <div class="main-card"> |
| | | <el-row class="cardTop"> |
| | | <el-col :span="12" class="mainCardBtn"> |
| | | <el-button type="primary" :icon="Plus" size="default" @click="openSafetyActionDialog('新增', {})">新建</el-button> |
| | | <el-button type="primary" :icon="Plus" size="default" @click="openSafetyActionDialog('新增', {})">新增</el-button> |
| | | <el-button type="danger" :icon="Delete" size="default" @click="deleteMoreSafetyAction" plain>批量删除</el-button> |
| | | </el-col> |
| | | <el-button type="primary" :icon="Refresh" size="default" /> |
| | |
| | | <div class="main-card"> |
| | | <!-- <el-row class="cardTop">--> |
| | | <!-- <el-col :span="12" class="mainCardBtn">--> |
| | | <!-- <el-button type="primary" :icon="Plus" size="default" @click="dialogAddRecord = true">新建</el-button>--> |
| | | <!-- <el-button type="primary" :icon="Plus" size="default" @click="dialogAddRecord = true">新增</el-button>--> |
| | | <!-- </el-col>--> |
| | | <!-- <el-button type="primary" :icon="Refresh" size="default"/>--> |
| | | <!-- </el-row>--> |
| | |
| | | <div class="main-card"> |
| | | <el-row class="cardTop"> |
| | | <el-col :span="12" class="mainCardBtn"> |
| | | <el-button type="primary" :icon="Plus" size="default" @click="dialogAddRecord=true">新建</el-button> |
| | | <el-button type="primary" :icon="Plus" size="default" @click="dialogAddRecord=true">新增</el-button> |
| | | <!-- <el-button type="warning" :icon="Edit" size="default" plain>修改</el-button>--> |
| | | <el-button type="danger" :icon="Delete" size="default" plain>删除</el-button> |
| | | </el-col> |
| | |
| | | <div class="main-card"> |
| | | <el-row class="cardTop"> |
| | | <el-col :span="12" class="mainCardBtn"> |
| | | <el-button type="primary" :icon="Plus" size="default" @click="dialogAddRecord=true">新建</el-button> |
| | | <el-button type="primary" :icon="Plus" size="default" @click="dialogAddRecord=true">新增</el-button> |
| | | <!-- <el-button type="warning" :icon="Edit" size="default" plain>修改</el-button>--> |
| | | <el-button type="danger" :icon="Delete" size="default" plain>删除</el-button> |
| | | </el-col> |
| | |
| | | <div class="main-card"> |
| | | <el-row class="cardTop"> |
| | | <el-col :span="12" class="mainCardBtn"> |
| | | <el-button type="primary" :icon="Plus" size="default" @click="dialogAddRecord=true">新建</el-button> |
| | | <el-button type="primary" :icon="Plus" size="default" @click="dialogAddRecord=true">新增</el-button> |
| | | <!-- <el-button type="warning" :icon="Edit" size="default" plain>修改</el-button>--> |
| | | <el-button type="danger" :icon="Delete" size="default" plain>删除</el-button> |
| | | </el-col> |
| | |
| | | <div class="main-card"> |
| | | <el-row class="cardTop"> |
| | | <el-col :span="12" class="mainCardBtn"> |
| | | <el-button type="primary" :icon="Plus" size="default" @click="dialogAddRecord=true">新建</el-button> |
| | | <el-button type="primary" :icon="Plus" size="default" @click="dialogAddRecord=true">新增</el-button> |
| | | <!-- <el-button type="warning" :icon="Edit" size="default" plain>修改</el-button>--> |
| | | <el-button type="danger" :icon="Delete" size="default" plain>删除</el-button> |
| | | </el-col> |
| | |
| | | <div class="main-card"> |
| | | <el-row class="cardTop"> |
| | | <el-col :span="12" class="mainCardBtn"> |
| | | <el-button type="primary" :icon="Plus" size="default" @click="openApproveBasicDialog('新增', {})">新建</el-button> |
| | | <el-button type="primary" :icon="Plus" size="default" @click="openApproveBasicDialog('新增', {})">新增</el-button> |
| | | <el-button type="danger" :icon="Delete" size="default" @click="deleteMoreApproveBasic" plain>批量删除</el-button> |
| | | </el-col> |
| | | <el-button type="primary" :icon="Refresh" size="default" /> |
| | |
| | | <div class="main-card"> |
| | | <el-row class="cardTop"> |
| | | <el-col :span="12" class="mainCardBtn"> |
| | | <el-button type="primary" :icon="Plus" size="default" @click="openApproveRuleDialog('新增', {})">新建</el-button> |
| | | <el-button type="primary" :icon="Plus" size="default" @click="openApproveRuleDialog('新增', {})">新增</el-button> |
| | | <el-button type="danger" :icon="Delete" size="default" @click="deleteMoreApproveRule" plain>批量删除</el-button> |
| | | </el-col> |
| | | <el-button type="primary" :icon="Refresh" size="default" /> |
| | |
| | | <div class="main-card"> |
| | | <el-row class="cardTop"> |
| | | <el-col :span="12" class="mainCardBtn"> |
| | | <el-button type="primary" :icon="Plus" size="default" @click="dialogAddRecord=true">新建</el-button> |
| | | <el-button type="primary" :icon="Plus" size="default" @click="dialogAddRecord=true">新增</el-button> |
| | | <!-- <el-button type="warning" :icon="Edit" size="default" plain>修改</el-button>--> |
| | | <el-button type="danger" :icon="Delete" size="default" plain>删除</el-button> |
| | | </el-col> |
| | |
| | | <div class="main-card"> |
| | | <el-row class="cardTop"> |
| | | <el-col :span="12" class="mainCardBtn"> |
| | | <el-button type="primary" :icon="Plus" size="default" @click="dialogAddRecord=true">新建</el-button> |
| | | <el-button type="primary" :icon="Plus" size="default" @click="dialogAddRecord=true">新增</el-button> |
| | | <!-- <el-button type="warning" :icon="Edit" size="default" plain>修改</el-button>--> |
| | | <el-button type="danger" :icon="Delete" size="default" plain>删除</el-button> |
| | | </el-col> |
| | |
| | | <div class="main-card"> |
| | | <el-row class="cardTop"> |
| | | <el-col :span="12" class="mainCardBtn"> |
| | | <el-button type="primary" :icon="Plus" size="default" @click="dialogAddRecord = true">新建</el-button> |
| | | <el-button type="primary" :icon="Plus" size="default" @click="dialogAddRecord = true">新增</el-button> |
| | | </el-col> |
| | | <el-button type="primary" :icon="Refresh" size="default"/> |
| | | </el-row> |
| | |
| | | </el-form-item> |
| | | </el-form> |
| | | </el-dialog> |
| | | <el-dialog v-model="dialogAddRecord" title="新建" @close="closeAdd" @open="openAdd"> |
| | | <el-dialog v-model="dialogAddRecord" title="新增" @close="closeAdd" @open="openAdd"> |
| | | <el-form :model="addRecord" label-width="120px" ref="addRef" :rules="addRules"> |
| | | <el-form-item label="作业证编号" prop="id"> |
| | | <el-input v-model="addRecord.id"> </el-input> |
| | |
| | | <div class="main-card"> |
| | | <el-row class="cardTop"> |
| | | <el-col :span="12" class="mainCardBtn"> |
| | | <el-button type="primary" :icon="Plus" size="default" @click="dialogAddRecord = true">新建</el-button> |
| | | <el-button type="primary" :icon="Plus" size="default" @click="dialogAddRecord = true">新增</el-button> |
| | | </el-col> |
| | | <el-button type="primary" :icon="Refresh" size="default"/> |
| | | </el-row> |
| | |
| | | </el-form-item> |
| | | </el-form> |
| | | </el-dialog> |
| | | <el-dialog v-model="dialogAddRecord" title="新建" @close="closeAdd" @open="openAdd"> |
| | | <el-dialog v-model="dialogAddRecord" title="新增" @close="closeAdd" @open="openAdd"> |
| | | <el-form :model="addRecord" label-width="120px" ref="addRef" :rules="addRules"> |
| | | <el-form-item label="作业证编号" prop="id"> |
| | | <el-input v-model="addRecord.id"> </el-input> |
| | |
| | | <div class="main-card"> |
| | | <el-row class="cardTop"> |
| | | <el-col :span="12" class="mainCardBtn"> |
| | | <el-button type="primary" :icon="Plus" size="default" @click="dialogAddRecord=true">新建</el-button> |
| | | <el-button type="primary" :icon="Plus" size="default" @click="dialogAddRecord=true">新增</el-button> |
| | | <!-- <el-button type="warning" :icon="Edit" size="default" plain>修改</el-button>--> |
| | | <el-button type="danger" :icon="Delete" size="default" plain>删除</el-button> |
| | | </el-col> |
| | |
| | | <div class="main-card"> |
| | | <el-row class="cardTop"> |
| | | <el-col :span="12" class="mainCardBtn"> |
| | | <el-button type="primary" :icon="Plus" size="default" @click="dialogAddRecord=true">新建排班方案</el-button> |
| | | <el-button type="primary" :icon="Plus" size="default" @click="dialogAddRecord=true">新增排班方案</el-button> |
| | | <!-- <el-button type="warning" :icon="Edit" size="default" plain>修改</el-button>--> |
| | | <el-button type="danger" :icon="Delete" size="default" plain>删除</el-button> |
| | | </el-col> |
| | |
| | | <div class="main-card"> |
| | | <el-row class="cardTop"> |
| | | <el-col :span="12" class="mainCardBtn"> |
| | | <el-button type="primary" :icon="Plus" size="default" @click="dialogAddRecord=true">新建</el-button> |
| | | <el-button type="primary" :icon="Plus" size="default" @click="dialogAddRecord=true">新增</el-button> |
| | | <!-- <el-button type="warning" :icon="Edit" size="default" plain>修改</el-button>--> |
| | | <el-button type="danger" :icon="Delete" size="default" plain>删除</el-button> |
| | | </el-col> |
| | |
| | | <div class="main-card"> |
| | | <el-row class="cardTop"> |
| | | <el-col :span="12" class="mainCardBtn"> |
| | | <el-button type="primary" :icon="Plus" size="default" @click="dialogAddRecord = true">新建</el-button> |
| | | <el-button type="primary" :icon="Plus" size="default" @click="dialogAddRecord = true">新增</el-button> |
| | | <!-- <el-button type="warning" :icon="Edit" size="default" plain>修改</el-button>--> |
| | | <el-button type="danger" :icon="Delete" size="default" plain @click="deleteBatchBtn">删除</el-button> |
| | | </el-col> |
| | |
| | | <div class="main-card"> |
| | | <el-row class="cardTop"> |
| | | <el-col :span="12" class="mainCardBtn"> |
| | | <el-button type="primary" :icon="Plus" size="default" @click="dialogAddRecord = true">新建</el-button> |
| | | <el-button type="primary" :icon="Plus" size="default" @click="dialogAddRecord = true">新增</el-button> |
| | | <!-- <el-button type="warning" :icon="Edit" size="default" plain>修改</el-button>--> |
| | | <el-button type="danger" :icon="Delete" size="default" plain @click="deleteBatchBtn">删除</el-button> |
| | | </el-col> |
| | |
| | | <div class="main-card"> |
| | | <el-row class="cardTop"> |
| | | <el-col :span="12" class="mainCardBtn"> |
| | | <el-button type="primary" :icon="Plus" size="default" @click="dialogAddRecord = true">新建</el-button> |
| | | <el-button type="primary" :icon="Plus" size="default" @click="dialogAddRecord = true">新增</el-button> |
| | | <!-- <el-button type="warning" :icon="Edit" size="default" plain>修改</el-button>--> |
| | | <el-button type="danger" :icon="Delete" size="default" plain @click="deleteBatchBtn">删除</el-button> |
| | | </el-col> |
| | |
| | | <div class="main-card"> |
| | | <el-row class="cardTop"> |
| | | <el-col :span="12" class="mainCardBtn"> |
| | | <el-button type="primary" :icon="Plus" size="default" @click="dialogAddRecord = true">新建</el-button> |
| | | <el-button type="primary" :icon="Plus" size="default" @click="dialogAddRecord = true">新增</el-button> |
| | | <!-- <el-button type="warning" :icon="Edit" size="default" plain>修改</el-button>--> |
| | | <el-button type="danger" :icon="Delete" size="default" plain @click="deleteBatchBtn">删除</el-button> |
| | | </el-col> |
| | |
| | | <div class="main-card"> |
| | | <el-row class="cardTop"> |
| | | <el-col :span="12" class="mainCardBtn"> |
| | | <el-button type="primary" :icon="Plus" size="default" @click="dialogAddRecord = true">新建</el-button> |
| | | <el-button type="primary" :icon="Plus" size="default" @click="dialogAddRecord = true">新增</el-button> |
| | | <!-- <el-button type="warning" :icon="Edit" size="default" plain>修改</el-button>--> |
| | | <el-button type="danger" :icon="Delete" size="default" plain @click="deleteBatchBtn">删除</el-button> |
| | | </el-col> |
| | |
| | | <div class="main-card"> |
| | | <el-row class="cardTop"> |
| | | <el-col :span="12" class="mainCardBtn"> |
| | | <el-button type="primary" :icon="Plus" size="default" @click="dialogAddRecord = true">新建</el-button> |
| | | <el-button type="primary" :icon="Plus" size="default" @click="dialogAddRecord = true">新增</el-button> |
| | | <!-- <el-button type="warning" :icon="Edit" size="default" plain>修改</el-button>--> |
| | | <el-button type="danger" :icon="Delete" size="default" plain @click="deleteBatchBtn">删除</el-button> |
| | | </el-col> |
| | |
| | | <div class="main-card"> |
| | | <el-row class="cardTop"> |
| | | <el-col :span="12" class="mainCardBtn"> |
| | | <el-button type="primary" :icon="Plus" size="default" @click="dialogAddRecord = true">新建</el-button> |
| | | <el-button type="primary" :icon="Plus" size="default" @click="dialogAddRecord = true">新增</el-button> |
| | | <!-- <el-button type="warning" :icon="Edit" size="default" plain>修改</el-button>--> |
| | | <el-button type="danger" :icon="Delete" size="default" plain @click="deleteBatchBtn">删除</el-button> |
| | | </el-col> |