update firingstep

This commit is contained in:
lb 2023-07-18 10:26:17 +08:00
parent 7ce44fadd9
commit 80e7c5d292
8 changed files with 58 additions and 44 deletions

BIN
src/assets/img/home-bg.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.2 MiB

View File

@ -817,6 +817,15 @@ export default {
}); });
} }
// const actualPayload = Object.assign({}, JSON.parse(JSON.stringify(this.dataForm)));
// if (this.configs.excludeProps && Array.isArray(this.configs.excludePropss)) {
// // excludeProps
// this.configs.excludeProps.forEach((prop) => {
// delete actualPayload[prop];
// });
// console.log('actualPayload', actualPayload);
// }
// //
this.btnLoading = true; this.btnLoading = true;
this.$http({ this.$http({

View File

@ -6,10 +6,10 @@
* @Description: * @Description:
--> -->
<template> <template>
<el-card shadow="never" class="aui-card--fill"> <el-card shadow="never" class="aui-card--fill bg-pms">
<div class="mod-home"> <!-- <div class="mod-home">
基础框架-1 基础框架-1
</div> </div> -->
</el-card> </el-card>
</template> </template>
@ -17,4 +17,8 @@
.mod-home { .mod-home {
line-height: 1.5; line-height: 1.5;
} }
.bg-pms {
background: url(../../assets/img/home-bg.png) left 10% / cover no-repeat;
}
</style> </style>

View File

@ -144,7 +144,7 @@ export default function () {
// const dialogConfigs = { // const dialogConfigs = {
// extraIds: { wsId: 3 }, // 工艺管理里面的相关模块的 dialogWithMenu 需要额外的工序 id // extraIds: { wsId: 3 }, // 工艺管理里面的相关模块的 dialogWithMenu 需要额外的工序 id
// menu: [ // menu: [
// { name: "烧制工艺", key: "info" }, // { name: "烧成曲线", key: "info" },
// { name: "工艺参数", key: "attr", onlyEditMode: true }, // { name: "工艺参数", key: "attr", onlyEditMode: true },
// ], // ],
// form: { // form: {
@ -155,14 +155,14 @@ export default function () {
// label: "工艺名称", // label: "工艺名称",
// prop: "name", // prop: "name",
// rules: { required: true, message: "必填项不能为空", trigger: "blur" }, // rules: { required: true, message: "必填项不能为空", trigger: "blur" },
// elparams: { placeholder: "请输入烧制工艺名称" }, // elparams: { placeholder: "请输入烧成曲线名称" },
// }, // },
// { // {
// input: true, // input: true,
// label: "工艺编码", // label: "工艺编码",
// prop: "code", // prop: "code",
// rules: { required: true, message: "必填项不能为空", trigger: "blur" }, // rules: { required: true, message: "必填项不能为空", trigger: "blur" },
// elparams: { placeholder: "请输入烧制工艺编码" }, // elparams: { placeholder: "请输入烧成曲线编码" },
// }, // },
// { // {
// select: true, // select: true,

View File

@ -9,7 +9,7 @@ export default function () {
// { prop: "name", label: "工艺名称" }, // { prop: "name", label: "工艺名称" },
{ prop: "code", label: "工艺编码" }, { prop: "code", label: "工艺编码" },
// { prop: 'version', label: '配方号' }, // { prop: 'version', label: '配方号' },
{ prop: "bomCode", label: "配方号" }, // { prop: "bomCode", label: "配方号" },
// { prop: 'status', label: '状态', subcomponent: StatusComponent }, // subcomponent // { prop: 'status', label: '状态', subcomponent: StatusComponent }, // subcomponent
{ prop: "description", label: "详情", subcomponent: TableTextComponent }, { prop: "description", label: "详情", subcomponent: TableTextComponent },
{ prop: "createTime", label: "添加时间", filter: timeFilter }, { prop: "createTime", label: "添加时间", filter: timeFilter },
@ -34,15 +34,15 @@ export default function () {
placeholder: "请输入工艺名称或编码", placeholder: "请输入工艺名称或编码",
}, },
}, },
{ // {
prop: "bom", // prop: "bom",
label: "配方号", // label: "配方号",
input: true, // input: true,
default: { value: "" }, // default: { value: "" },
bind: { // bind: {
placeholder: "请输入配方号", // placeholder: "请输入配方号",
}, // },
}, // },
// { // {
// prop: 'bom', // prop: 'bom',
// label: '配方号', // label: '配方号',
@ -70,8 +70,9 @@ export default function () {
const dialogConfigs = { const dialogConfigs = {
allowAdd: false, allowAdd: false,
extraIds: { wsId: 3 }, // 工艺管理里面的相关模块的 dialogWithMenu 需要额外的工序 id extraIds: { wsId: 3 }, // 工艺管理里面的相关模块的 dialogWithMenu 需要额外的工序 id
// excludeProps: ['code'], // 在add或update时不传递这个参数给后端
menu: [ menu: [
{ name: "烧制工艺", key: "info" }, { name: "烧成曲线", key: "info" },
{ name: "工艺参数", key: "attr", onlyEditMode: true }, { name: "工艺参数", key: "attr", onlyEditMode: true },
], ],
form: { form: {
@ -82,31 +83,31 @@ export default function () {
// label: "工艺名称", // label: "工艺名称",
// prop: "name", // prop: "name",
// rules: { required: true, message: "必填项不能为空", trigger: "blur" }, // rules: { required: true, message: "必填项不能为空", trigger: "blur" },
// elparams: { placeholder: "请输入烧制工艺名称" }, // elparams: { placeholder: "请输入烧成曲线名称" },
// },
// {
// select: true,
// label: "配方",
// prop: "bomId",
// options: [],
// refreshOptionsAfterConfirm: true,
// rules: { required: true, message: "必填项不能为空", trigger: "blur" },
// elparams: { clearable: true, filterable: true, placeholder: "请选择配方" },
// fetchData: (techId = -1) => this.$http.get("/pms/bom/listUnR", { params: { wsId: 3, version: '', key: '', techId } }),
// cacheFetchedData: true,
// changeReflects: {
// fromKey: ['code', 'version'],
// delimiter: '-',
// toProp: 'code'
// }
// }, // },
{
select: true,
label: "配方",
prop: "bomId",
options: [],
refreshOptionsAfterConfirm: true,
rules: { required: true, message: "必填项不能为空", trigger: "blur" },
elparams: { clearable: true, filterable: true, placeholder: "请选择配方" },
fetchData: (techId = -1) => this.$http.get("/pms/bom/listUnR", { params: { wsId: 3, version: '', key: '', techId } }),
cacheFetchedData: true,
changeReflects: {
fromKey: ['code', 'version'],
delimiter: '-',
toProp: 'code'
}
},
{ {
input: true, input: true,
autoDisabled: true, autoDisabled: true,
label: "工艺编码", label: "工艺编码",
prop: "code", prop: "code",
rules: { required: true, message: "必填项不能为空", trigger: "blur" }, rules: { required: true, message: "必填项不能为空", trigger: "blur" },
elparams: { placeholder: "请输入烧制工艺编码" }, elparams: { placeholder: "请输入烧成曲线编码" },
}, },
], ],
// [ // [

View File

@ -87,7 +87,7 @@ export default function () {
// const dialogConfigs = { // const dialogConfigs = {
// extraIds: { wsId: 3 }, // 工艺管理里面的相关模块的 dialogWithMenu 需要额外的工序 id // extraIds: { wsId: 3 }, // 工艺管理里面的相关模块的 dialogWithMenu 需要额外的工序 id
// menu: [ // menu: [
// { name: "烧制工艺", key: "info" }, // { name: "烧成曲线", key: "info" },
// { name: "工艺参数", key: "attr", onlyEditMode: true }, // { name: "工艺参数", key: "attr", onlyEditMode: true },
// ], // ],
// form: { // form: {
@ -98,14 +98,14 @@ export default function () {
// label: "工艺名称", // label: "工艺名称",
// prop: "name", // prop: "name",
// rules: { required: true, message: "必填项不能为空", trigger: "blur" }, // rules: { required: true, message: "必填项不能为空", trigger: "blur" },
// elparams: { placeholder: "请输入烧制工艺名称" }, // elparams: { placeholder: "请输入烧成曲线名称" },
// }, // },
// { // {
// input: true, // input: true,
// label: "工艺编码", // label: "工艺编码",
// prop: "code", // prop: "code",
// rules: { required: true, message: "必填项不能为空", trigger: "blur" }, // rules: { required: true, message: "必填项不能为空", trigger: "blur" },
// elparams: { placeholder: "请输入烧制工艺编码" }, // elparams: { placeholder: "请输入烧成曲线编码" },
// }, // },
// { // {
// select: true, // select: true,

View File

@ -90,7 +90,7 @@ export default function () {
// const dialogConfigs = { // const dialogConfigs = {
// extraIds: { wsId: 3 }, // 工艺管理里面的相关模块的 dialogWithMenu 需要额外的工序 id // extraIds: { wsId: 3 }, // 工艺管理里面的相关模块的 dialogWithMenu 需要额外的工序 id
// menu: [ // menu: [
// { name: "烧制工艺", key: "info" }, // { name: "烧成曲线", key: "info" },
// { name: "工艺参数", key: "attr", onlyEditMode: true }, // { name: "工艺参数", key: "attr", onlyEditMode: true },
// ], // ],
// form: { // form: {
@ -101,14 +101,14 @@ export default function () {
// label: "工艺名称", // label: "工艺名称",
// prop: "name", // prop: "name",
// rules: { required: true, message: "必填项不能为空", trigger: "blur" }, // rules: { required: true, message: "必填项不能为空", trigger: "blur" },
// elparams: { placeholder: "请输入烧制工艺名称" }, // elparams: { placeholder: "请输入烧成曲线名称" },
// }, // },
// { // {
// input: true, // input: true,
// label: "工艺编码", // label: "工艺编码",
// prop: "code", // prop: "code",
// rules: { required: true, message: "必填项不能为空", trigger: "blur" }, // rules: { required: true, message: "必填项不能为空", trigger: "blur" },
// elparams: { placeholder: "请输入烧制工艺编码" }, // elparams: { placeholder: "请输入烧成曲线编码" },
// }, // },
// { // {
// select: true, // select: true,

View File

@ -96,7 +96,7 @@ export default function () {
// const dialogConfigs = { // const dialogConfigs = {
// extraIds: { wsId: 3 }, // 工艺管理里面的相关模块的 dialogWithMenu 需要额外的工序 id // extraIds: { wsId: 3 }, // 工艺管理里面的相关模块的 dialogWithMenu 需要额外的工序 id
// menu: [ // menu: [
// { name: "烧制工艺", key: "info" }, // { name: "烧成曲线", key: "info" },
// { name: "工艺参数", key: "attr", onlyEditMode: true }, // { name: "工艺参数", key: "attr", onlyEditMode: true },
// ], // ],
// form: { // form: {
@ -107,14 +107,14 @@ export default function () {
// label: "工艺名称", // label: "工艺名称",
// prop: "name", // prop: "name",
// rules: { required: true, message: "必填项不能为空", trigger: "blur" }, // rules: { required: true, message: "必填项不能为空", trigger: "blur" },
// elparams: { placeholder: "请输入烧制工艺名称" }, // elparams: { placeholder: "请输入烧成曲线名称" },
// }, // },
// { // {
// input: true, // input: true,
// label: "工艺编码", // label: "工艺编码",
// prop: "code", // prop: "code",
// rules: { required: true, message: "必填项不能为空", trigger: "blur" }, // rules: { required: true, message: "必填项不能为空", trigger: "blur" },
// elparams: { placeholder: "请输入烧制工艺编码" }, // elparams: { placeholder: "请输入烧成曲线编码" },
// }, // },
// { // {
// select: true, // select: true,