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