fix:修改养护通知单
This commit is contained in:
parent
b7f3afd8b0
commit
9c27f40355
@ -2,7 +2,7 @@
|
||||
* @Author: SunTao 328867980@qq.com
|
||||
* @Date: 2024-11-20 11:58:33
|
||||
* @LastEditors: SunTao 328867980@qq.com
|
||||
* @LastEditTime: 2024-12-04 10:09:12
|
||||
* @LastEditTime: 2025-01-03 10:37:57
|
||||
* @FilePath: \znxjxt-ui\src\views\xj\document\maintenance-notice\components\edit-dialog.vue
|
||||
* @Description: 养护通知单编辑弹窗
|
||||
-->
|
||||
@ -45,7 +45,7 @@
|
||||
</el-form-item>
|
||||
</el-col>
|
||||
</el-row>
|
||||
<el-row :gutter="24">
|
||||
<!-- <el-row :gutter="24">
|
||||
<el-col :span="24">
|
||||
<el-form-item label="养护负责人:" prop="receiver">
|
||||
<el-input
|
||||
@ -87,7 +87,7 @@
|
||||
</div>
|
||||
</fssm-scroll>
|
||||
</el-form-item>
|
||||
</el-row>
|
||||
</el-row> -->
|
||||
</el-form>
|
||||
<div slot="footer" class="dialog-footer">
|
||||
<el-button type="primary" @click="submitForm">确 定</el-button>
|
||||
@ -127,7 +127,7 @@ export default {
|
||||
// 养护单位项目负责人
|
||||
receiver: "",
|
||||
// 养护内容
|
||||
taskDescription: [""],
|
||||
// taskDescription: [""],
|
||||
},
|
||||
// 表单验证规则
|
||||
rules: {
|
||||
@ -161,17 +161,17 @@ export default {
|
||||
receiver: [
|
||||
{ required: true, message: "请输入负责人名称", trigger: "blur" },
|
||||
],
|
||||
taskDescription: [
|
||||
{
|
||||
type: "array",
|
||||
required: true,
|
||||
defaultField: {
|
||||
type: "string",
|
||||
required: true,
|
||||
message: "请完整填写内容",
|
||||
},
|
||||
},
|
||||
],
|
||||
// taskDescription: [
|
||||
// {
|
||||
// type: "array",
|
||||
// required: true,
|
||||
// defaultField: {
|
||||
// type: "string",
|
||||
// required: true,
|
||||
// message: "请完整填写内容",
|
||||
// },
|
||||
// },
|
||||
// ],
|
||||
},
|
||||
};
|
||||
},
|
||||
@ -184,13 +184,13 @@ export default {
|
||||
id: null,
|
||||
defectId: val.id,
|
||||
createdTime: null,
|
||||
taskDescription: [
|
||||
`${val.createdTimeLocal} ${val.roadName || ""}-${
|
||||
val.segmentName || ""
|
||||
} 主线 ${val.stakeStart || ""}-${val.stakeEnd || ""} 有${
|
||||
val.defectTypeName
|
||||
}`,
|
||||
],
|
||||
// taskDescription: [
|
||||
// `${val.createdTimeLocal} ${val.roadName || ""}-${
|
||||
// val.segmentName || ""
|
||||
// } 主线 ${val.stakeStart || ""}-${val.stakeEnd || ""} 有${
|
||||
// val.defectTypeName
|
||||
// }`,
|
||||
// ],
|
||||
};
|
||||
},
|
||||
deep: true,
|
||||
@ -198,19 +198,19 @@ export default {
|
||||
},
|
||||
},
|
||||
methods: {
|
||||
/**
|
||||
* @description: 添加养护内容
|
||||
*/
|
||||
handleAddContent() {
|
||||
this.editForm.taskDescription.push("");
|
||||
},
|
||||
// /**
|
||||
// * @description: 添加养护内容
|
||||
// */
|
||||
// handleAddContent() {
|
||||
// this.editForm.taskDescription.push("");
|
||||
// },
|
||||
|
||||
/**
|
||||
* @description: 删除养护内容
|
||||
*/
|
||||
handleDeleteContent(index) {
|
||||
this.editForm.taskDescription.splice(index, 1);
|
||||
},
|
||||
// /**
|
||||
// * @description: 删除养护内容
|
||||
// */
|
||||
// handleDeleteContent(index) {
|
||||
// this.editForm.taskDescription.splice(index, 1);
|
||||
// },
|
||||
|
||||
/**
|
||||
* @description: 取消
|
||||
|
||||
@ -2,14 +2,14 @@
|
||||
* @Author: SunTao 328867980@qq.com
|
||||
* @Date: 2024-11-26 15:49:28
|
||||
* @LastEditors: SunTao 328867980@qq.com
|
||||
* @LastEditTime: 2024-12-12 16:43:05
|
||||
* @LastEditTime: 2025-01-03 10:42:24
|
||||
* @FilePath: \znxjxt-ui\src\views\xj\document\maintenance-notice\components\view-dialog.vue
|
||||
* @Description: 养护通知单查看弹窗
|
||||
-->
|
||||
<template>
|
||||
<div class="view-content">
|
||||
<div class="view-title">高速公路道路养护作业通知单</div>
|
||||
<div class="view-title-card">编号:{{ viewData.noticeNo || "" }}</div>
|
||||
<!-- <div class="view-title-card">编号:{{ viewData.noticeNo || "" }}</div> -->
|
||||
<div class="view-table">
|
||||
<div class="view-table-top">
|
||||
<div class="left-item">
|
||||
@ -36,7 +36,7 @@
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="view-table-middle">养护作业项目</div>
|
||||
<!-- <div class="view-table-middle">养护作业项目</div>
|
||||
<div class="view-table-content">
|
||||
<div class="content-left-item">
|
||||
<div class="name">序号</div>
|
||||
@ -56,7 +56,7 @@
|
||||
</div>
|
||||
</div>
|
||||
</fssm-scroll>
|
||||
</div>
|
||||
</div> -->
|
||||
<div class="view-table-bottom">
|
||||
<span>管理处道路养护工程师:{{ viewData.creator || "" }}</span>
|
||||
<span>制表人:{{ viewData.creator || "" }}</span>
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user