This commit is contained in:
lb 2023-07-18 10:26:17 +08:00
parent 7ce44fadd9
commit 80e7c5d292
8 ha cambiato i file con 58 aggiunte e 44 eliminazioni

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

File binario non mostrato.

Dopo

Larghezza:  |  Altezza:  |  Dimensione: 2.2 MiB

Vedi 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.$http({

Vedi File

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

Vedi File

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

Vedi File

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

Vedi File

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

Vedi File

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

Vedi File

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