Commit c9356d10 authored by 李苏's avatar 李苏 💬

619异物信息调整/新增页面

parent 732a30ca
......@@ -173,6 +173,20 @@ export const powerRoutes = [
},
name: 'clphdycf',
path: "clphdycf",
},
{
erpComponent: false,
component: 'sbxxgl/zrdw/index',
hidden: false,
meta: {
"title": "责任单位",
"icon": "",
"noCache": false,
"link": null,
"mkid": '920020900',
},
name: 'zrdw',
path: "zrdw",
}
]
......
......@@ -83,6 +83,36 @@
},
required: true,
},
{
"label": "年度",
"prop": "year",
"span": 12,
"type": "year",
},
{
"label": "月份",
"prop": "month",
"span": 12,
"type": "RelSelect",
"typeConfig": {
optionsData:(()=>{
let arr=[]
for(let i=0;i<12;i++){
arr.push({
name:(i+1)+'月',
id:i+1
})
}
return arr
})(),
"match": {
"value": "id",
"label": "name"
}
}
},
{
......@@ -99,6 +129,15 @@
"type": "input",
required: true,
},
{
"label": "日常/大修轮次",
"prop": "rcdxlc",
"span": 12,
"type": "input",
},
{
"label": "事件描述",
"prop": "sjms",
......@@ -174,27 +213,26 @@
}
},
{
"label": "责任专业",
"prop": "zrzy",
"label": "责任单位",
"prop": "zrdw",
required: true,
"span": 12,
"type": "RelSelect",
"value": "",
"typeConfig": {
"src": "yhlywpc/uywxx/init/zrzy",
"src": "sbgl/zdrw/query",
"match": {
"value": "id",
"label": "name"
}
}
},
{
"label": "期间",
"prop": "qj",
"span": 12,
"type": "input"
},
// {
// "label": "期间",
// "prop": "qj",
// "span": 12,
// "type": "input"
// },
{
"label": "完整性",
"prop": "wzx",
......@@ -233,7 +271,7 @@
"typeConfig": {
hasValue:false,
clearable:true,
"src": "yhlywpc/uywxx/init/istrue",
"src": "yhlywpc/uywxx/init/ecc",
"match": {
"value": "id",
"label": "name"
......@@ -285,6 +323,158 @@
}
}
},
{
"label": "异物名称",
"prop": "ywmc",
"span": 12,
"type": "input",
},
{
"label": "是否QSR",
"prop": "sfqsr",
"span": 12,
"type": "RelSelect",
"typeConfig": {
hasValue:false,
clearable:true,
"src": "yhlywpc/uywxx/init/istrue",
"match": {
"value": "id",
"label": "name"
}
}
},
{
"label": "是否零部件相关异物事件",
"prop": "sflbjxgywsj",
"span": 12,
"type": "RelSelect",
"typeConfig": {
hasValue:false,
clearable:true,
"src": "yhlywpc/uywxx/init/istrue",
"match": {
"value": "id",
"label": "name"
}
}
},
{
"label": "类型(缺失查找、溯源)",
"prop": "lx",
"span": 12,
"type": "input",
},
{
"label": "是否为零部件遗留",
"prop": "sflbjyl",
"span": 12,
"type": "RelSelect",
"typeConfig": {
hasValue:false,
clearable:true,
"src": "yhlywpc/uywxx/init/istrue",
"match": {
"value": "id",
"label": "name"
}
}
},
{
"label": "溯源是否完成",
"prop": "sysfwc",
"span": 12,
"type": "RelSelect",
"typeConfig": {
hasValue:false,
clearable:true,
"src": "yhlywpc/uywxx/init/istrue",
"match": {
"value": "id",
"label": "name"
}
}
},
{
"label": "是否为零部件缺失",
"prop": "sflbjqs",
"span": 12,
"type": "RelSelect",
"typeConfig": {
hasValue:false,
clearable:true,
"src": "yhlywpc/uywxx/init/istrue",
"match": {
"value": "id",
"label": "name"
}
}
},
{
"label": "缺失查找是否完成",
"prop": "qsczsfwc",
"span": 12,
"type": "RelSelect",
"typeConfig": {
hasValue:false,
clearable:true,
"src": "yhlywpc/uywxx/init/istrue",
"match": {
"value": "id",
"label": "name"
}
}
},
{
"label": "来源位置 (什么设备掉的)",
"prop": "lywz",
"span": 24,
"type": "input",
},
{
"label": "发现位置",
"prop": "fxwz",
"span": 12,
"type": "input",
},
{
"label": "是否金属零部件",
"prop": "sfjslj",
"span": 12,
"type": "RelSelect",
"typeConfig": {
hasValue:false,
clearable:true,
"src": "yhlywpc/uywxx/init/istrue",
"match": {
"value": "id",
"label": "name"
}
}
},
{
"label": "溯源不成功或查找未完成异物事件后续行动是否落实",
"prop": "sfls",
"span": 12,
"type": "RelSelect",
"typeConfig": {
hasValue:false,
clearable:true,
"src": "yhlywpc/uywxx/init/istrue",
"match": {
"value": "id",
"label": "name"
}
}
},
{
"label": "审视异物事件分析",
"prop": "ssfx",
"span": 12,
"type": "input",
},
{
"label": "备注",
"prop": "bz",
......
......@@ -3,7 +3,7 @@
* @Author: lisu lisu@gavelinfo.com
* @Date: 2024-09-19 10:55:27
* @LastEditors: lisu lisu@gavelinfo.com
* @LastEditTime: 2025-01-10 13:51:37
* @LastEditTime: 2025-06-19 13:57:11
* @FilePath: /zghywpc-vue/src/views/jyfkgl/ywsjlr/index.vue
-->
<template>
......@@ -58,7 +58,11 @@
prop: "jzh",
width: 190
},
{
label: "日常/大修轮次",
prop: "rcdxlc",
width: 190
},
{
label: "事件描述",
......@@ -111,21 +115,16 @@
width: 100
},
{
label: "责任专业",
prop: "zrzy",
label: "责任单位",
prop: "zrdw",
"transform": {
"url": "yhlywpc/uywxx/init/zrzy",
"url": "sbgl/zdrw/query",
"label": "name",
"value": "id"
},
width: 100
},
{
label: "期间",
prop: "qj",
fieldType: "ftString",
width: 192
},
{
label: "完整性",
prop: "wzs",
......@@ -137,30 +136,28 @@
width: 80
},
{
label: "IOE",
prop: "ioe",
label: "是否一回路或二次侧",
prop: "sfyhlhecc",
"transform": {
"url": "yhlywpc/uywxx/init/istrue",
"url": "yhlywpc/uywxx/init/ecc",
"label": "name",
"value": "id"
},
width: 80
width: 200
},
{
label: "是否一回路或二次侧",
prop: "sfyhlhecc",
label: "异物事件单是否签字",
prop: "ywsjdsfqz",
"transform": {
"url": "yhlywpc/uywxx/init/istrue",
"label": "name",
"value": "id"
},
width: 80
width: 180
},
{
label: "异物事件单是否签字",
prop: "ywsjdsfqz",
label: "IOE",
prop: "ioe",
"transform": {
"url": "yhlywpc/uywxx/init/istrue",
"label": "name",
......@@ -168,6 +165,7 @@
},
width: 80
},
{
label: "SAP任务是否关闭",
prop: "saprwsfgb",
......@@ -188,13 +186,117 @@
},
width: 80
},
{
label: "异物名称",
prop: "ywmc",
width: 180
},
{
label: "是否QSR",
prop: "sfqsr",
"transform": {
"url": "yhlywpc/uywxx/init/istrue",
"label": "name",
"value": "id"
},
width: 100
},
{
label: "是否零部件相关异物事件",
prop: "sflbjxgywsj",
"transform": {
"url": "yhlywpc/uywxx/init/istrue",
"label": "name",
"value": "id"
},
width: 180
},
{
label: "类型(缺失查找、溯源)",
prop: "lx",
width: 150
},
{
label: "是否为零部件遗留",
prop: "sflbjyl",
"transform": {
"url": "yhlywpc/uywxx/init/istrue",
"label": "name",
"value": "id"
},
width: 180
},
{
label: "溯源是否完成",
prop: "sysfwc",
"transform": {
"url": "yhlywpc/uywxx/init/istrue",
"label": "name",
"value": "id"
},
width: 120
},
{
label: "是否为零部件缺失",
prop: "sflbjqs",
"transform": {
"url": "yhlywpc/uywxx/init/istrue",
"label": "name",
"value": "id"
},
width: 180
},
{
label: "缺失查找是否完成",
prop: "qsczsfwc",
"transform": {
"url": "yhlywpc/uywxx/init/istrue",
"label": "name",
"value": "id"
},
width: 180
},
{
label: "来源位置 (什么设备掉的)",
prop: "lywz",
width: 200
},
{
label: "发现位置",
prop: "fxwz",
width: 200
},
{
label: "是否金属零部件",
prop: "sfjslj",
"transform": {
"url": "yhlywpc/uywxx/init/istrue",
"label": "name",
"value": "id"
},
width: 180
},
{
label: "溯源不成功或查找未完成异物事件后续行动是否落实",
prop: "sfls",
"transform": {
"url": "yhlywpc/uywxx/init/istrue",
"label": "name",
"value": "id"
},
width: 300
},
{
label: "审视异物事件分析",
prop: "ssfx",
width: 200
},
{
label: "备注",
prop: "bz",
width: 200
}
],
queryParams: [
[{
......
<template>
<DefaultDialog :app='app'>
<div slot="form" style="display: flex;height: 70vh;">
</div>
<div slot="reFooter" class="refooter" >
<span slot="footer" class="dialog-footer" >
<el-button @click="app.showDialog=false">取 消</el-button>
<el-button type="primary" @click="save()">保 存</el-button>
</span>
</div>
</DefaultDialog>
</template>
<script>
export default {
props: {
app: {
type: Object,
default: ()=>{
return {}
}
}
},
async mounted() {
},
data() {
return {
}
},
methods: {
}
}
</script>
<style scoped>
</style>
<!--
* @Description:生成基础baseEdit组件,屏蔽不必要细节
* @Author: lisu lisu@gavelinfo.com
* @Date: 2024-09-19 10:47:46
* @LastEditors: lisu lisu@gavelinfo.com
* @LastEditTime: 2025-06-19 14:01:44
* @FilePath: /zghywpc-vue/src/views/sbxxgl/zrdw/edit.vue
-->
<template>
<!-- prop 穿透赋值 -->
<BaseEdit v-bind="$attrs" :config='editConfig'>
<template #dialog="ctx">
<!-- 嵌入默认页面额外弹框的插槽 ctx.editPage来操作默认页面 -->
</template>
<template #toolbar="ctx">
<!-- 嵌入默认页面从表上方插槽 ctx.editPage来操作默认页面 -->
<!-- <el-button @click="demo(ctx.editPage)" size='mini' type="primary">示例按钮</el-button> -->
<!-- <AuxButton :dynamic='true' :queryParams="{
sbxxTreeId:that.form.sbxxTreeId,
zt:'N'
}" :component='Qxsj' rename='选择缺陷数据' code='dynamic' @save="saveQxsj" /> -->
</template>
</BaseEdit>
</template>
<script>
export default {
data() {
return {
editConfig: {
/* 生成form表单 */
editColItemList: [{
label: '编码',
prop: 'code',
span: 12,
type: 'input',
required: true,
},
{
label: '名称',
prop: 'name',
span: 12,
type: 'input',
required: true,
},
],
/* 生成主从表,为空数组默认不展示 */
editTableTitle: [
],
/* 子表名,可选 同editTableTitle一起用*/
detailTable: ''
}
}
},
methods: {
/**
* @description:示例按钮
* @param {*} ctx操作edit实例内容
* @return {*}
* @author: lisu
*/
// demo(ctx){}
}
}
</script>
<style>
</style>
<!--
* @Description: 生成基础basePage组件,屏蔽不必要细节
* @Author: lisu lisu@gavelinfo.com
* @Date: 2024-09-19 10:55:27
* @LastEditors: lisu lisu@gavelinfo.com
* @LastEditTime: 2025-06-19 14:00:43
* @FilePath: /zghywpc-vue/src/views/sbxxgl/zrdw/index.vue
-->
<template>
<BasePage class="min_full" :config="config">
<template #dialog="ctx">
<!-- 嵌入默认页面额外弹框的插槽 ctx.pagePage来操作默认页面 -->
</template>
<template #toolbar="ctx">
<!-- 嵌入默认页面工具栏的插槽 ctx.pagePage来操作默认页面 -->
<!-- <el-button @click="demo(ctx.basePage)" size='mini' type="primary">示例按钮</el-button> -->
</template>
</BasePage>
</template>
<script>
import Edit from './edit.vue'
export default {
name: 'zrdw',
data() {
return {
config: {
/* 基本配置*/
url: 'sbgl/zdrw',
tableTitle: [{
title: "编码",
field: "code",
fieldType: "upper",
width: 140
},
{
title: "名称",
field: "name",
width: 140
},
{
title: "维护人",
field: "whr"
},
{
title: "维护时间",
field: "whsj",
fieldType: "ftDateTime"
},
],
queryParams: [
// [{
// label: '编码',
// prop: 'code',
// span: 6,
// type: 'input',
// value: ''
// },
// {
// label: '名称',
// prop: 'name',
// span: 6,
// type: 'input',
// value: ''
// }
// ]
],
/* 默认启停用 */
}
}
},
methods: {
/**
* @description:示例按钮
* @param {*} ctx操作basePage实例内容
* @return {*}
* @author: lisu
*/
// demo(ctx){}
},
components: {
Edit
}
}
</script>
<style>
</style>
......@@ -3,7 +3,7 @@
* @Author: lisu lisu@gavelinfo.com
* @Date: 2024-09-19 10:55:27
* @LastEditors: lisu lisu@gavelinfo.com
* @LastEditTime: 2024-10-29 10:03:12
* @LastEditTime: 2025-06-19 10:38:27
* @FilePath: /zghywpc-vue/src/views/ywxxgl/gshbmjby/index.vue
-->
<template>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment