This commit is contained in:
parent
260c8846b6
commit
94283b69dd
|
|
@ -15,7 +15,7 @@
|
||||||
</a-col>
|
</a-col>
|
||||||
<a-col :flex="$mk.config.ui.toolbarFlex">
|
<a-col :flex="$mk.config.ui.toolbarFlex">
|
||||||
<!-- 工具条 -->
|
<!-- 工具条 -->
|
||||||
<mk-toolbar @toolbarClick="toolbarClick"></mk-toolbar>
|
<mk-toolbar :isShowAdd="options.disabledAdd !== true" @toolbarClick="toolbarClick"></mk-toolbar>
|
||||||
</a-col>
|
</a-col>
|
||||||
</a-row>
|
</a-row>
|
||||||
|
|
||||||
|
|
@ -64,6 +64,9 @@
|
||||||
<template #column5="{ row }">
|
<template #column5="{ row }">
|
||||||
<slot name="column5" :row="row"></slot>
|
<slot name="column5" :row="row"></slot>
|
||||||
</template>
|
</template>
|
||||||
|
<template #column6="{ row }">
|
||||||
|
<slot name="column6" :row="row"></slot>
|
||||||
|
</template>
|
||||||
</vxe-grid>
|
</vxe-grid>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|
@ -103,7 +106,7 @@ export default {
|
||||||
showSheetNameSelector: false,
|
showSheetNameSelector: false,
|
||||||
excelSheetName: '',
|
excelSheetName: '',
|
||||||
excelSheetNames: [],
|
excelSheetNames: [],
|
||||||
rowFilters:[],
|
rowFilters: [],
|
||||||
|
|
||||||
bindSearchData: null
|
bindSearchData: null
|
||||||
};
|
};
|
||||||
|
|
@ -340,10 +343,10 @@ export default {
|
||||||
if (value === 0 || value) { // 如果有值
|
if (value === 0 || value) { // 如果有值
|
||||||
let mode = findMode(key); // 获取搜索模式
|
let mode = findMode(key); // 获取搜索模式
|
||||||
if (typeof (mode) == "function") {
|
if (typeof (mode) == "function") {
|
||||||
let v = mode({value:value,key:key});
|
let v = mode({ value: value, key: key });
|
||||||
if(v.rules){
|
if (v.rules) {
|
||||||
rules = [...rules,v.rules];
|
rules = [...rules, v.rules];
|
||||||
}else if(v.filter){
|
} else if (v.filter) {
|
||||||
this.rowFilters.push(v.filter);
|
this.rowFilters.push(v.filter);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
@ -400,8 +403,11 @@ export default {
|
||||||
return this.$mk.getPagedData({
|
return this.$mk.getPagedData({
|
||||||
url: this.options.actions.getList,
|
url: this.options.actions.getList,
|
||||||
data: params,
|
data: params,
|
||||||
listFieldName : this.options.listFieldName,
|
listFieldName: this.options.listFieldName,
|
||||||
rowFilters:this.rowFilters
|
callback: (e) => {
|
||||||
|
this.$emit("loadData", e)
|
||||||
|
},
|
||||||
|
rowFilters: this.rowFilters
|
||||||
});
|
});
|
||||||
},
|
},
|
||||||
|
|
||||||
|
|
@ -651,10 +657,11 @@ export default {
|
||||||
|
|
||||||
</script>
|
</script>
|
||||||
<style lang="less">
|
<style lang="less">
|
||||||
.mytable-style .row-lightred td{
|
.mytable-style .row-lightred td {
|
||||||
background-color: #ff9b9b9e;
|
background-color: #ff9b9b9e;
|
||||||
}
|
}
|
||||||
.mytable-style .row-lightyellow td{
|
|
||||||
|
.mytable-style .row-lightyellow td {
|
||||||
background-color: #ffe09b9e;
|
background-color: #ffe09b9e;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,54 +1,57 @@
|
||||||
<template>
|
<template>
|
||||||
<!-- 新增 设置 日志 工具条 -->
|
<!-- 新增 设置 日志 工具条 -->
|
||||||
<div :class="cls">
|
<div :class="cls">
|
||||||
|
|
||||||
<a-tooltip placement="topRight" title="日志" v-if="isShowLog">
|
<a-tooltip placement="topRight" title="日志" v-if="isShowLog">
|
||||||
<a class="iconlink" @click="toolbarClick({name:'log'})"> <a-icon type="file-text"></a-icon></a>
|
<a class="iconlink" @click="toolbarClick({ name: 'log' })"> <a-icon type="file-text"></a-icon></a>
|
||||||
</a-tooltip>
|
</a-tooltip>
|
||||||
<a-tooltip placement="topRight" title="设置" v-if="isShowSetting">
|
<a-tooltip placement="topRight" title="设置" v-if="isShowSetting">
|
||||||
<a class="iconlink" title="设置" @click="toolbarClick({name:'setting'})"> <a-icon type="setting"></a-icon></a>
|
<a class="iconlink" title="设置" @click="toolbarClick({ name: 'setting' })"> <a-icon type="setting"></a-icon></a>
|
||||||
</a-tooltip>
|
</a-tooltip>
|
||||||
|
|
||||||
<a-button type="primary" @click="toolbarClick({name:'add'})">
|
<a-button v-if="isShowAdd" type="primary" @click="toolbarClick({ name: 'add' })">
|
||||||
新增
|
新增
|
||||||
</a-button>
|
</a-button>
|
||||||
<a-button v-if="isShowDelete" type="primary" @click="toolbarClick({name:'delete'})">
|
<a-button v-if="isShowDelete" type="primary" @click="toolbarClick({ name: 'delete' })">
|
||||||
批量删除
|
批量删除
|
||||||
</a-button>
|
</a-button>
|
||||||
|
|
||||||
<a-button @click="toolbarClick(btn)" type="primary" v-for="btn in buttons" :key="btn.name" >
|
<a-button @click="toolbarClick(btn)" type="primary" v-for="btn in buttons" :key="btn.name">
|
||||||
{{btn.label}}
|
{{ btn.label }}
|
||||||
</a-button>
|
</a-button>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
</template>
|
</template>
|
||||||
<script>
|
<script>
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
name: "mktoolbar",
|
name: "mktoolbar",
|
||||||
props: {
|
props: {
|
||||||
isShowLog : {
|
isShowLog: {
|
||||||
type: Boolean,
|
type: Boolean,
|
||||||
default: true
|
default: true
|
||||||
},
|
},
|
||||||
|
|
||||||
isShowSetting : {
|
isShowSetting: {
|
||||||
type: Boolean,
|
type: Boolean,
|
||||||
default: true
|
default: true
|
||||||
},
|
},
|
||||||
|
|
||||||
isShowDelete : {
|
isShowAdd: {
|
||||||
type: Boolean,
|
type: Boolean,
|
||||||
default: false
|
default: false
|
||||||
},
|
},
|
||||||
buttons : {
|
isShowDelete: {
|
||||||
|
type: Boolean,
|
||||||
|
default: false
|
||||||
|
},
|
||||||
|
buttons: {
|
||||||
type: Array
|
type: Array
|
||||||
},
|
},
|
||||||
|
|
||||||
|
|
||||||
cls:{
|
cls: {
|
||||||
type :String,
|
type: String,
|
||||||
default:'mk-toolbar mk-toolbar-right'
|
default: 'mk-toolbar mk-toolbar-right'
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
data() {
|
data() {
|
||||||
|
|
@ -56,15 +59,15 @@ export default {
|
||||||
};
|
};
|
||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
toolbarClick(e){
|
toolbarClick(e) {
|
||||||
this.$emit("toolbarClick",e);
|
this.$emit("toolbarClick", e);
|
||||||
},
|
},
|
||||||
|
|
||||||
gotoLog(){
|
gotoLog() {
|
||||||
|
|
||||||
},
|
},
|
||||||
|
|
||||||
gotoSetting(){
|
gotoSetting() {
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
@ -82,13 +85,13 @@ export default {
|
||||||
top: 50px;
|
top: 50px;
|
||||||
z-index: 1;
|
z-index: 1;
|
||||||
} */
|
} */
|
||||||
.mk-toolbar .ant-btn{
|
.mk-toolbar .ant-btn {
|
||||||
position: relative;
|
position: relative;
|
||||||
top:6px;
|
top: 6px;
|
||||||
}
|
|
||||||
.iconlink svg{
|
|
||||||
width:25px;
|
|
||||||
height: 25px;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.iconlink svg {
|
||||||
|
width: 25px;
|
||||||
|
height: 25px;
|
||||||
|
}
|
||||||
</style>
|
</style>
|
||||||
|
|
@ -14,11 +14,14 @@
|
||||||
|
|
||||||
|
|
||||||
<template v-slot:column4="{ row }">
|
<template v-slot:column4="{ row }">
|
||||||
<img v-if="row.mold_detail.image" style="width:50px;height:50px;" :src="row.mold_detail.image" @click.stop="$hevueImgPreview(row.mold_detail.image)" />
|
<img v-if="row.mold_detail.image" style="width:50px;height:50px;" :src="row.mold_detail.image"
|
||||||
|
@click.stop="$hevueImgPreview(row.mold_detail.image)" />
|
||||||
<span v-else></span>
|
<span v-else></span>
|
||||||
</template>
|
</template>
|
||||||
<template v-slot:column5="{ row }">
|
<template v-slot:column5="{ row }">
|
||||||
<a-button type="link" @click="pageEdit(row.change_production_detail)" v-if="row.change_production_detail && row.change_production_detail.id">{{ row.change_production_detail.code }}</a-button>
|
<a-button type="link" @click="pageEdit(row.change_production_detail)"
|
||||||
|
v-if="row.change_production_detail && row.change_production_detail.id">{{ row.change_production_detail.code
|
||||||
|
}}</a-button>
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
|
|
||||||
|
|
@ -134,7 +137,7 @@ export default {
|
||||||
{ field: 'customer_name', title: '客户名称', span: 4, itemRender: { name: '$input', props: { placeholder: '请输入客户名称' } } },
|
{ field: 'customer_name', title: '客户名称', span: 4, itemRender: { name: '$input', props: { placeholder: '请输入客户名称' } } },
|
||||||
|
|
||||||
{
|
{
|
||||||
title: '模具师傅', span:4,
|
title: '模具师傅', span: 4,
|
||||||
field: 'mold_master_uid',
|
field: 'mold_master_uid',
|
||||||
dataRule: {
|
dataRule: {
|
||||||
fromField: "id"
|
fromField: "id"
|
||||||
|
|
@ -213,10 +216,10 @@ export default {
|
||||||
},
|
},
|
||||||
// 表格列配置
|
// 表格列配置
|
||||||
columns: [
|
columns: [
|
||||||
{ type: 'checkbox', width: 80 }, // 多选框
|
{ type: 'checkbox', width: 50 }, // 多选框
|
||||||
{ type: 'seq', width: 60 }, // 序号
|
{ type: 'seq', width: 40 }, // 序号
|
||||||
|
|
||||||
{ title: '操作', slots: { default: 'op' }, width: 90 },
|
{ title: '操作', slots: { default: 'op' }, width: 110 },
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
@ -277,12 +280,12 @@ export default {
|
||||||
|
|
||||||
pageEdit(row) {
|
pageEdit(row) {
|
||||||
|
|
||||||
if (!row) {
|
if (!row) {
|
||||||
this.$mk.msg("请选择行");
|
this.$mk.msg("请选择行");
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
this.$openPage('/Mold/MoldProductionOrderUpdate/' + row.id)
|
this.$openPage('/Mold/MoldProductionOrderUpdate/' + row.id)
|
||||||
},
|
},
|
||||||
|
|
||||||
},
|
},
|
||||||
watch: {
|
watch: {
|
||||||
|
|
|
||||||
|
|
@ -0,0 +1,288 @@
|
||||||
|
<template>
|
||||||
|
<basic-page-list ref="listPage" :desc="desc" :options="pageOptions" @loadData="loadData">
|
||||||
|
<template v-slot:column1="{ row }">
|
||||||
|
<a-button @click.stop="pageDetail(row)">查看详情</a-button>
|
||||||
|
</template>
|
||||||
|
|
||||||
|
<template v-slot:column2="{ row }">
|
||||||
|
<a-table :columns="columns" :data-source="row.department_progress" style="border:1px solid #afafaf">
|
||||||
|
<span slot="progress" slot-scope="progress">
|
||||||
|
<a-progress type="line" :percent="progress" />
|
||||||
|
</span>
|
||||||
|
</a-table>
|
||||||
|
</template>
|
||||||
|
|
||||||
|
|
||||||
|
<template v-slot:column4="{ row }">
|
||||||
|
<img v-if="row.image" style="width:50px;height:50px;" :src="row.image" @click.stop="$hevueImgPreview(row.image)" />
|
||||||
|
<span v-else></span>
|
||||||
|
</template>
|
||||||
|
<template v-slot:column5="{ row }">
|
||||||
|
<a-button type="link" @click="pageEdit(row.change_production_detail)"
|
||||||
|
v-if="row.change_production_detail && row.change_production_detail.id">{{ row.change_production_detail.code
|
||||||
|
}}</a-button>
|
||||||
|
</template>
|
||||||
|
|
||||||
|
|
||||||
|
<template v-slot:column3="{ row }">
|
||||||
|
<a-table :columns="columns" :data-source="row.department_progress" style="border:1px solid #afafaf;margin: 15px;">
|
||||||
|
<span slot="progress" slot-scope="progress">
|
||||||
|
<a-progress type="line" :percent="progress" />
|
||||||
|
</span>
|
||||||
|
</a-table>
|
||||||
|
</template>
|
||||||
|
|
||||||
|
</basic-page-list>
|
||||||
|
</template>
|
||||||
|
|
||||||
|
<script>
|
||||||
|
import BASE_URL from '@/services/mes/api.js';
|
||||||
|
|
||||||
|
const settings = require('../basic/settings.js');
|
||||||
|
|
||||||
|
export default {
|
||||||
|
i18n: require("./i18n"),
|
||||||
|
props: {
|
||||||
|
|
||||||
|
},
|
||||||
|
data() {
|
||||||
|
return {
|
||||||
|
columns: [
|
||||||
|
|
||||||
|
{
|
||||||
|
title: '部门名',
|
||||||
|
dataIndex: 'name',
|
||||||
|
key: 'name',
|
||||||
|
},
|
||||||
|
{
|
||||||
|
title: '部门编码',
|
||||||
|
dataIndex: 'code',
|
||||||
|
key: 'code',
|
||||||
|
},
|
||||||
|
{
|
||||||
|
title: '工序数量',
|
||||||
|
dataIndex: 'process_num',
|
||||||
|
key: 'process_num',
|
||||||
|
},
|
||||||
|
{
|
||||||
|
title: '进度',
|
||||||
|
dataIndex: 'progress',
|
||||||
|
key: 'progress',
|
||||||
|
slots: { title: 'progress' },
|
||||||
|
scopedSlots: { customRender: 'progress' },
|
||||||
|
},
|
||||||
|
],
|
||||||
|
pageOptions: {}
|
||||||
|
};
|
||||||
|
},
|
||||||
|
// 计算属性
|
||||||
|
computed: {
|
||||||
|
// 页面描述
|
||||||
|
desc() {
|
||||||
|
return this.$t("pageDesc");
|
||||||
|
}
|
||||||
|
},
|
||||||
|
|
||||||
|
|
||||||
|
// 创建完成
|
||||||
|
created() {
|
||||||
|
this.optionsInit();
|
||||||
|
},
|
||||||
|
// 动作
|
||||||
|
methods: {
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
optionsInit() {
|
||||||
|
// 页面数据
|
||||||
|
var pageData = { // 页面数据变量
|
||||||
|
|
||||||
|
keyName: 'id', // 主键字段名
|
||||||
|
listFieldName: 'MoldProductionOrderComponentProcesses',
|
||||||
|
addPageUrl: "/Mold/MoldProductionOrderAdd",
|
||||||
|
editPageUrl: "/Mold/MoldProductionOrderUpdate/",
|
||||||
|
// 接口动作
|
||||||
|
actions: { // Api 接口地址
|
||||||
|
getList: `${BASE_URL.BASE_URL}/MoldProductionOrder/v1/mold/production/order/component/processes/list`,
|
||||||
|
delete: `${BASE_URL.BASE_URL}/MoldProductionOrder/v1/mold/production/order/batchDelete`
|
||||||
|
},
|
||||||
|
|
||||||
|
start_time: 0, // 开始时间
|
||||||
|
end_time: 0, // 结束时间
|
||||||
|
|
||||||
|
exportFileTitle: "模型",
|
||||||
|
enabledExport: false,
|
||||||
|
enabledImport: false,
|
||||||
|
enabledImportTemplate: false,
|
||||||
|
disabledAdd: true,
|
||||||
|
|
||||||
|
//搜索区
|
||||||
|
searchFormData: {
|
||||||
|
title: '',
|
||||||
|
desc: '',
|
||||||
|
is_complete: '0',
|
||||||
|
},
|
||||||
|
// 搜索区配置
|
||||||
|
searchRules: [
|
||||||
|
{ key: "code", mode: "like" },
|
||||||
|
{ key: "mold_master_uid", mode: "=" },
|
||||||
|
{ key: "is_complete", mode: "=" },
|
||||||
|
{ key: "engineer_uid", mode: "=" }
|
||||||
|
],
|
||||||
|
//搜索区
|
||||||
|
searchFormItems: [ // 子项
|
||||||
|
|
||||||
|
|
||||||
|
{ field: 'code', title: '编码', span: 3, itemRender: { name: '$input', props: { placeholder: '请输入编码' } } },
|
||||||
|
{ field: 'customer_name', title: '客户名称', span: 4, itemRender: { name: '$input', props: { placeholder: '请输入客户名称' } } },
|
||||||
|
|
||||||
|
{
|
||||||
|
title: '模具师傅', span: 4,
|
||||||
|
field: 'mold_master_uid',
|
||||||
|
dataRule: {
|
||||||
|
fromField: "id"
|
||||||
|
},
|
||||||
|
itemRender: {
|
||||||
|
name: 'MkFormDataSelector', props: {
|
||||||
|
params: {
|
||||||
|
dataType: "object",
|
||||||
|
valueField: "id",
|
||||||
|
textField: "name",
|
||||||
|
listdataFieldName: 'MesStaff',
|
||||||
|
dataUrl: `${BASE_URL.BASE_URL}/MesStaff/v1/mes/staff/list`
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
title: '工程师傅', span: 3,
|
||||||
|
field: 'engineer_uid',
|
||||||
|
dataRule: {
|
||||||
|
fromField: "id"
|
||||||
|
},
|
||||||
|
itemRender: {
|
||||||
|
name: 'MkFormDataSelector', props: {
|
||||||
|
params: {
|
||||||
|
dataType: "object",
|
||||||
|
valueField: "id",
|
||||||
|
textField: "name",
|
||||||
|
listdataFieldName: 'MesStaff',
|
||||||
|
dataUrl: `${BASE_URL.BASE_URL}/MesStaff/v1/mes/staff/list`
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
|
||||||
|
{ field: 'is_complete', title: '状态', span: 3, itemRender: { name: '$select', props: { options: settings.options_is_complete } } },
|
||||||
|
|
||||||
|
{
|
||||||
|
align: 'right', span: 4, itemRender: { // 按钮列
|
||||||
|
name: '$buttons', children: [{ props: { type: 'submit', content: '搜索', status: 'primary' } }, // 搜索按钮
|
||||||
|
{ props: { type: 'reset', content: '重置' } }]
|
||||||
|
}
|
||||||
|
}
|
||||||
|
],
|
||||||
|
|
||||||
|
|
||||||
|
//数据区
|
||||||
|
gridOptions: { // 表格配置
|
||||||
|
height: '100%', // 表格高度 100% 会自动撑满父容器
|
||||||
|
stripe: true, // 启用斑马纹
|
||||||
|
id: 'datagrid_1', // 表格唯一标识
|
||||||
|
sortConfig: {
|
||||||
|
defaultSort: {
|
||||||
|
field: 'complete_time',
|
||||||
|
order: 'asc'
|
||||||
|
},
|
||||||
|
trigger: 'cell', // 触发排序的方式
|
||||||
|
remote: true // 是否远程排序
|
||||||
|
},
|
||||||
|
// 表格列配置
|
||||||
|
columns: [
|
||||||
|
{ type: 'checkbox', width: 50 }, // 多选框
|
||||||
|
{ type: 'seq', width: 50 }, // 序号
|
||||||
|
|
||||||
|
// { title: '操作', slots: { default: 'op' }, width: 110 },
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
{ slots: { default: 'column1' }, title: '查看详情', width: 120 },
|
||||||
|
{ field: 'department_name', title: '部门', sortable: true, width: 100 },
|
||||||
|
{ field: 'process_name', title: '工序名称', sortable: true, width: 100 },
|
||||||
|
{ title: '模具图片', slots: { default: 'column4' }, width: 90 },
|
||||||
|
{ field: 'production_code', title: '布产单号', sortable: true, width: 100 },
|
||||||
|
{ field: 'mold_master_name', sortable: true, title: '模具师傅', width: 120 },
|
||||||
|
{ field: 'engineer_name', sortable: true, title: '工程师傅', width: 120 },
|
||||||
|
{ field: 'ask_complete_time', formatter: 'formatDate', width: 130, sortable: true, title: '预计完成时间', showHeaderOverflow: true },
|
||||||
|
|
||||||
|
{ field: 'status', title: '状态', sortable: true, width: 100 },
|
||||||
|
{ field: 'send_time', formatter: 'formatDate', width: 130, sortable: true, title: '发料日期', showHeaderOverflow: true }, // 创建时间
|
||||||
|
{ field: 'complete_time', formatter: 'formatDate', width: 130, sortable: true, title: '完工日期', showHeaderOverflow: true }, // 创建时间
|
||||||
|
{ field: 'remark', width: 130, sortable: true, title: '备注', showHeaderOverflow: true }, // 创建时间
|
||||||
|
|
||||||
|
// =============================== 表格列 自动生成 Start ===============================
|
||||||
|
|
||||||
|
|
||||||
|
]
|
||||||
|
}
|
||||||
|
|
||||||
|
};
|
||||||
|
|
||||||
|
pageData.gridOptions = Object.assign({}, this.$mk.config.defaults.gridOptions, pageData.gridOptions); // 合并表格数据
|
||||||
|
|
||||||
|
pageData.gridOptions.sortInit = ({ sort, params }) => {
|
||||||
|
if (sort.property == "progress") {
|
||||||
|
params.progress_order = sort.order;
|
||||||
|
} else {
|
||||||
|
params.order_bys = params.order_bys || [];
|
||||||
|
params.order_bys.push({ // 添加排序信息
|
||||||
|
column: sort.property, // 字段名
|
||||||
|
order: sort.order // 排序方式
|
||||||
|
})
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
this.pageOptions = pageData;
|
||||||
|
|
||||||
|
},
|
||||||
|
loadData(e) {
|
||||||
|
|
||||||
|
e.MoldProductionOrderComponentProcesses.forEach(item => {
|
||||||
|
if (item.production_detail.code == "") {
|
||||||
|
// 删除该item 并继续循环
|
||||||
|
e.MoldProductionOrderComponentProcesses.splice(e.MoldProductionOrderComponentProcesses.indexOf(item), 1);
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
item.image = item.component_detail.image;
|
||||||
|
item.department_name = item.department_detail.name;
|
||||||
|
item.process_name = item.process_detail.name;
|
||||||
|
item.production_code = item.production_detail.code;
|
||||||
|
});
|
||||||
|
|
||||||
|
},
|
||||||
|
|
||||||
|
pageDetail(row) {
|
||||||
|
|
||||||
|
if (!row) {
|
||||||
|
this.$mk.msg("请选择行");
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
this.$openPage('/Mold/MoldProductionOrderDetail/' + row.id)
|
||||||
|
},
|
||||||
|
|
||||||
|
pageEdit(row) {
|
||||||
|
|
||||||
|
if (!row) {
|
||||||
|
this.$mk.msg("请选择行");
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
this.$openPage('/Mold/MoldProductionOrderUpdate/' + row.id)
|
||||||
|
},
|
||||||
|
|
||||||
|
},
|
||||||
|
watch: {
|
||||||
|
|
||||||
|
}
|
||||||
|
};
|
||||||
|
|
||||||
|
</script>
|
||||||
|
|
@ -291,7 +291,7 @@ import BASE_URL from '@/services/mes/api.js';
|
||||||
|
|
||||||
import XEUtils from 'xe-utils' // 加载xe-utils
|
import XEUtils from 'xe-utils' // 加载xe-utils
|
||||||
import JSONbig from 'json-bigint'
|
import JSONbig from 'json-bigint'
|
||||||
import { ref } from 'vue';
|
|
||||||
export default {
|
export default {
|
||||||
|
|
||||||
name: '',
|
name: '',
|
||||||
|
|
@ -359,7 +359,7 @@ export default {
|
||||||
processesDepartmentId: 0, // 按部门id筛选
|
processesDepartmentId: 0, // 按部门id筛选
|
||||||
department_list: [], // 部门列表
|
department_list: [], // 部门列表
|
||||||
// department_list_options 默认值为全部
|
// department_list_options 默认值为全部
|
||||||
department_list_options_default: ref("0"),
|
department_list_options_default: "0",
|
||||||
department_list_options: [
|
department_list_options: [
|
||||||
{
|
{
|
||||||
label: "全部部门",
|
label: "全部部门",
|
||||||
|
|
@ -367,8 +367,8 @@ export default {
|
||||||
}
|
}
|
||||||
], // 部门列表下拉框
|
], // 部门列表下拉框
|
||||||
|
|
||||||
processesIsComplete: 0, // 按是否完成筛选
|
processesIsComplete: "0", // 按是否完成筛选
|
||||||
IsCompleteDefault: ref("0"),
|
IsCompleteDefault: "0",
|
||||||
IsCompleteOptions: [
|
IsCompleteOptions: [
|
||||||
{
|
{
|
||||||
label: "未完成",
|
label: "未完成",
|
||||||
|
|
@ -381,8 +381,8 @@ export default {
|
||||||
], // 是否完成下拉框
|
], // 是否完成下拉框
|
||||||
|
|
||||||
|
|
||||||
processesIsSend: 0, // 按是否已发料筛选
|
processesIsSend: "1", // 按是否已发料筛选
|
||||||
IsSendDefault: ref("0"),
|
IsSendDefault: "1",
|
||||||
IsSendOptions: [
|
IsSendOptions: [
|
||||||
{
|
{
|
||||||
label: "未发料",
|
label: "未发料",
|
||||||
|
|
@ -569,7 +569,7 @@ export default {
|
||||||
created() {
|
created() {
|
||||||
|
|
||||||
setTimeout(() => {
|
setTimeout(() => {
|
||||||
this.$refs.inputx.focus();
|
this.$refs.inputx.focus(); // 获取焦点
|
||||||
|
|
||||||
this.loadPoData();
|
this.loadPoData();
|
||||||
this.loadDataProgress(185208273404694528, 0);
|
this.loadDataProgress(185208273404694528, 0);
|
||||||
|
|
@ -601,17 +601,17 @@ export default {
|
||||||
url: `${BASE_URL.BASE_URL}/MoldProductionOrder/Get/TouchScreen/v1/mold/production/order/touchScreen/order/list`,
|
url: `${BASE_URL.BASE_URL}/MoldProductionOrder/Get/TouchScreen/v1/mold/production/order/touchScreen/order/list`,
|
||||||
loading: "搜索中...",
|
loading: "搜索中...",
|
||||||
data: {
|
data: {
|
||||||
|
"beid": parseInt(process.env.VUE_APP_BEID),
|
||||||
"ptyid": 0,
|
"ptyid": 0,
|
||||||
"company_id": parseInt(process.env.VUE_APP_COMPANY_ID),
|
"company_id": parseInt(process.env.VUE_APP_COMPANY_ID),
|
||||||
|
"store_id": 0,
|
||||||
|
"project_token": process.env.VUE_APP_APPTOKEN,
|
||||||
|
"company_token": process.env.VUE_APP_COMPANYTOKEN,
|
||||||
"search_rules": [
|
"search_rules": [
|
||||||
],
|
],
|
||||||
"end_time": 0,
|
"end_time": 0,
|
||||||
"company_token": process.env.VUE_APP_COMPANYTOKEN,
|
|
||||||
"store_id": 0,
|
|
||||||
"order_bys": [{ "column": "complete_time", "order": "asc" }],
|
"order_bys": [{ "column": "complete_time", "order": "asc" }],
|
||||||
"limit": 0,
|
"limit": 0,
|
||||||
"project_token": process.env.VUE_APP_APPTOKEN,
|
|
||||||
"beid": parseInt(process.env.VUE_APP_BEID),
|
|
||||||
"page": 1,
|
"page": 1,
|
||||||
"start_time": 0
|
"start_time": 0
|
||||||
},
|
},
|
||||||
|
|
@ -624,20 +624,20 @@ export default {
|
||||||
|
|
||||||
loadDeaprtmentData() {
|
loadDeaprtmentData() {
|
||||||
this.$mk.post({
|
this.$mk.post({
|
||||||
url: `${BASE_URL.BASE_URL}/BaseDepartment/v1/base/department/list`,
|
url: `${BASE_URL.BASE_URL}/BaseDepartment/Get/v1/base/department/anonymous/list`,
|
||||||
loading: "加载中...",
|
loading: "加载中...",
|
||||||
data: {
|
data: {
|
||||||
|
"beid": parseInt(process.env.VUE_APP_BEID),
|
||||||
"ptyid": 0,
|
"ptyid": 0,
|
||||||
"company_id": parseInt(process.env.VUE_APP_COMPANY_ID),
|
"company_id": parseInt(process.env.VUE_APP_COMPANY_ID),
|
||||||
|
"store_id": 0,
|
||||||
|
"project_token": process.env.VUE_APP_APPTOKEN,
|
||||||
|
"company_token": process.env.VUE_APP_COMPANYTOKEN,
|
||||||
"search_rules": [
|
"search_rules": [
|
||||||
],
|
],
|
||||||
"end_time": 0,
|
"end_time": 0,
|
||||||
"company_token": process.env.VUE_APP_COMPANYTOKEN,
|
|
||||||
"store_id": 0,
|
|
||||||
"order_bys": [],
|
"order_bys": [],
|
||||||
"limit": 0,
|
"limit": 100,
|
||||||
"project_token": process.env.VUE_APP_APPTOKEN,
|
|
||||||
"beid": parseInt(process.env.VUE_APP_BEID),
|
|
||||||
"page": 1,
|
"page": 1,
|
||||||
"start_time": 0
|
"start_time": 0
|
||||||
},
|
},
|
||||||
|
|
@ -1181,17 +1181,17 @@ export default {
|
||||||
},
|
},
|
||||||
DepartmentChange(e) {
|
DepartmentChange(e) {
|
||||||
this.processesDepartmentId = e
|
this.processesDepartmentId = e
|
||||||
this.department_list_options_default = ref(e)
|
this.department_list_options_default = e
|
||||||
this.loadDataProgress()
|
this.loadDataProgress()
|
||||||
},
|
},
|
||||||
IsCompleteChange(e) {
|
IsCompleteChange(e) {
|
||||||
this.processesIsComplete = e
|
this.processesIsComplete = e
|
||||||
this.IsCompleteDefault = ref(e)
|
this.IsCompleteDefault = e
|
||||||
this.loadDataProgress()
|
this.loadDataProgress()
|
||||||
},
|
},
|
||||||
IsSendChange(e) {
|
IsSendChange(e) {
|
||||||
this.processesIsSend = e
|
this.processesIsSend = e
|
||||||
this.IsSendDefault = ref(e)
|
this.IsSendDefault = e
|
||||||
this.loadDataProgress()
|
this.loadDataProgress()
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,5 +1,5 @@
|
||||||
// 视图组件
|
// 视图组件
|
||||||
const view = {
|
const view = {
|
||||||
tabs: () => import('@/layouts/tabs'),
|
tabs: () => import('@/layouts/tabs'),
|
||||||
blank: () => import('@/layouts/BlankView'),
|
blank: () => import('@/layouts/BlankView'),
|
||||||
page: () => import('@/layouts/PageView')
|
page: () => import('@/layouts/PageView')
|
||||||
|
|
@ -9,7 +9,7 @@
|
||||||
const routerMap = {
|
const routerMap = {
|
||||||
};
|
};
|
||||||
|
|
||||||
routerMap['Mold']= {
|
routerMap['Mold'] = {
|
||||||
name: '模具管理',
|
name: '模具管理',
|
||||||
icon: 'idcard',
|
icon: 'idcard',
|
||||||
component: view.blank,
|
component: view.blank,
|
||||||
|
|
@ -19,7 +19,7 @@ routerMap['Mold']= {
|
||||||
permission: [],
|
permission: [],
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
routerMap['InkjetPrinter']= {
|
routerMap['InkjetPrinter'] = {
|
||||||
name: '喷码机管理',
|
name: '喷码机管理',
|
||||||
icon: 'idcard',
|
icon: 'idcard',
|
||||||
component: view.blank,
|
component: view.blank,
|
||||||
|
|
@ -31,24 +31,24 @@ routerMap['InkjetPrinter']= {
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
routerMap['InkjetPrinterList']= {
|
routerMap['InkjetPrinterList'] = {
|
||||||
name: '喷码机管理',
|
name: '喷码机管理',
|
||||||
icon: 'idcard',
|
icon: 'idcard',
|
||||||
path: `/InkjetPrinter/InkjetPrinterList`,
|
path: `/InkjetPrinter/InkjetPrinterList`,
|
||||||
meta:{
|
meta: {
|
||||||
page:{ cacheAble:false}
|
page: { cacheAble: false }
|
||||||
},
|
},
|
||||||
component: () => import(`@/pages/Middle/Mold/InkjetPrinter/List`),
|
component: () => import(`@/pages/Middle/Mold/InkjetPrinter/List`),
|
||||||
authority: {
|
authority: {
|
||||||
permission: [],
|
permission: [],
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
routerMap['InkjetPrinterPrint']= {
|
routerMap['InkjetPrinterPrint'] = {
|
||||||
name: '喷码机打印',
|
name: '喷码机打印',
|
||||||
icon: 'idcard',
|
icon: 'idcard',
|
||||||
path: `/InkjetPrinter/InkjetPrinterPrint`,
|
path: `/InkjetPrinter/InkjetPrinterPrint`,
|
||||||
meta:{
|
meta: {
|
||||||
page:{ cacheAble:false}
|
page: { cacheAble: false }
|
||||||
},
|
},
|
||||||
component: () => import(`@/pages/Middle/Mold/InkjetPrinter/print`),
|
component: () => import(`@/pages/Middle/Mold/InkjetPrinter/print`),
|
||||||
authority: {
|
authority: {
|
||||||
|
|
@ -56,12 +56,12 @@ routerMap['InkjetPrinterPrint']= {
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
routerMap['InkjetPrinterPrintTemplate']= {
|
routerMap['InkjetPrinterPrintTemplate'] = {
|
||||||
name: '喷码机打印',
|
name: '喷码机打印',
|
||||||
icon: 'idcard',
|
icon: 'idcard',
|
||||||
path: `/InkjetPrinter/InkjetPrinterPrintTemplate`,
|
path: `/InkjetPrinter/InkjetPrinterPrintTemplate`,
|
||||||
meta:{
|
meta: {
|
||||||
page:{ cacheAble:false}
|
page: { cacheAble: false }
|
||||||
},
|
},
|
||||||
component: () => import(`@/pages/Middle/Mold/printTemplate/list`),
|
component: () => import(`@/pages/Middle/Mold/printTemplate/list`),
|
||||||
authority: {
|
authority: {
|
||||||
|
|
@ -69,13 +69,13 @@ routerMap['InkjetPrinterPrintTemplate']= {
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
routerMap['InkjetPrinterPrintTemplateEdit']= {
|
routerMap['InkjetPrinterPrintTemplateEdit'] = {
|
||||||
name: '喷码机',
|
name: '喷码机',
|
||||||
icon: 'idcard',
|
icon: 'idcard',
|
||||||
path: `/InkjetPrinter/InkjetPrinterPrintTemplateEdit/:id`,
|
path: `/InkjetPrinter/InkjetPrinterPrintTemplateEdit/:id`,
|
||||||
meta:{
|
meta: {
|
||||||
invisible: true,
|
invisible: true,
|
||||||
page:{ cacheAble:false}
|
page: { cacheAble: false }
|
||||||
},
|
},
|
||||||
component: () => import(`@/pages/Middle/Mold/printTemplate/edit`),
|
component: () => import(`@/pages/Middle/Mold/printTemplate/edit`),
|
||||||
authority: {
|
authority: {
|
||||||
|
|
@ -84,13 +84,13 @@ routerMap['InkjetPrinterPrintTemplateEdit']= {
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
routerMap['InkjetPrinterCreate']= {
|
routerMap['InkjetPrinterCreate'] = {
|
||||||
name: '喷码机',
|
name: '喷码机',
|
||||||
icon: 'idcard',
|
icon: 'idcard',
|
||||||
path: `/InkjetPrinter/InkjetPrinterAdd`,
|
path: `/InkjetPrinter/InkjetPrinterAdd`,
|
||||||
meta:{
|
meta: {
|
||||||
invisible: true,
|
invisible: true,
|
||||||
page:{ cacheAble:false}
|
page: { cacheAble: false }
|
||||||
},
|
},
|
||||||
component: () => import(`@/pages/Middle/Mold/InkjetPrinter/Edit`),
|
component: () => import(`@/pages/Middle/Mold/InkjetPrinter/Edit`),
|
||||||
authority: {
|
authority: {
|
||||||
|
|
@ -98,13 +98,13 @@ routerMap['InkjetPrinterCreate']= {
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
routerMap['InkjetPrinterUpdate']= {
|
routerMap['InkjetPrinterUpdate'] = {
|
||||||
name: '喷码机',
|
name: '喷码机',
|
||||||
icon: 'idcard',
|
icon: 'idcard',
|
||||||
path: `/InkjetPrinter/InkjetPrinterUpdate/:id`,
|
path: `/InkjetPrinter/InkjetPrinterUpdate/:id`,
|
||||||
meta:{
|
meta: {
|
||||||
invisible: true,
|
invisible: true,
|
||||||
page:{ cacheAble:false}
|
page: { cacheAble: false }
|
||||||
},
|
},
|
||||||
component: () => import(`@/pages/Middle/Mold/InkjetPrinter/Edit`),
|
component: () => import(`@/pages/Middle/Mold/InkjetPrinter/Edit`),
|
||||||
authority: {
|
authority: {
|
||||||
|
|
@ -112,13 +112,13 @@ routerMap['InkjetPrinterUpdate']= {
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
routerMap['InkjetPrinterSetting']= {
|
routerMap['InkjetPrinterSetting'] = {
|
||||||
name: '喷码机设置',
|
name: '喷码机设置',
|
||||||
icon: 'idcard',
|
icon: 'idcard',
|
||||||
path: `/InkjetPrinter/InkjetPrinterSetting/:id`,
|
path: `/InkjetPrinter/InkjetPrinterSetting/:id`,
|
||||||
meta:{
|
meta: {
|
||||||
invisible: true,
|
invisible: true,
|
||||||
page:{ cacheAble:false}
|
page: { cacheAble: false }
|
||||||
},
|
},
|
||||||
component: () => import(`@/pages/Middle/Mold/InkjetPrinter/setting`),
|
component: () => import(`@/pages/Middle/Mold/InkjetPrinter/setting`),
|
||||||
authority: {
|
authority: {
|
||||||
|
|
@ -126,25 +126,25 @@ routerMap['InkjetPrinterSetting']= {
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
routerMap['MoldOrder']= {
|
routerMap['MoldOrder'] = {
|
||||||
name: '模具订单',
|
name: '模具订单',
|
||||||
icon: 'idcard',
|
icon: 'idcard',
|
||||||
path: `/Mold/MoldOrder`,
|
path: `/Mold/MoldOrder`,
|
||||||
meta:{
|
meta: {
|
||||||
page:{ cacheAble:false}
|
page: { cacheAble: false }
|
||||||
},
|
},
|
||||||
component: () => import(`@/pages/Middle/Mold/MoldOrder`),
|
component: () => import(`@/pages/Middle/Mold/MoldOrder`),
|
||||||
authority: {
|
authority: {
|
||||||
permission: [],
|
permission: [],
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
routerMap['MoldOrderCreate']= {
|
routerMap['MoldOrderCreate'] = {
|
||||||
name: '模具订单',
|
name: '模具订单',
|
||||||
icon: 'idcard',
|
icon: 'idcard',
|
||||||
path: `/Mold/MoldOrderAdd`,
|
path: `/Mold/MoldOrderAdd`,
|
||||||
meta:{
|
meta: {
|
||||||
invisible: true,
|
invisible: true,
|
||||||
page:{ cacheAble:false}
|
page: { cacheAble: false }
|
||||||
},
|
},
|
||||||
component: () => import(`@/pages/Middle/Mold/MoldOrder/Edit`),
|
component: () => import(`@/pages/Middle/Mold/MoldOrder/Edit`),
|
||||||
authority: {
|
authority: {
|
||||||
|
|
@ -152,13 +152,13 @@ routerMap['MoldOrderCreate']= {
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
routerMap['MoldOrderUpdate']= {
|
routerMap['MoldOrderUpdate'] = {
|
||||||
name: '模具订单',
|
name: '模具订单',
|
||||||
icon: 'idcard',
|
icon: 'idcard',
|
||||||
path: `/Mold/MoldOrderUpdate/:id`,
|
path: `/Mold/MoldOrderUpdate/:id`,
|
||||||
meta:{
|
meta: {
|
||||||
invisible: true,
|
invisible: true,
|
||||||
page:{ cacheAble:false}
|
page: { cacheAble: false }
|
||||||
},
|
},
|
||||||
component: () => import(`@/pages/Middle/Mold/MoldOrder/Edit`),
|
component: () => import(`@/pages/Middle/Mold/MoldOrder/Edit`),
|
||||||
authority: {
|
authority: {
|
||||||
|
|
@ -168,12 +168,12 @@ routerMap['MoldOrderUpdate']= {
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
routerMap['MoldProductionOrder']= {
|
routerMap['MoldProductionOrder'] = {
|
||||||
name: '工艺布产',
|
name: '工艺布产',
|
||||||
icon: 'idcard',
|
icon: 'idcard',
|
||||||
path: `/Mold/MoldProductionOrder`,
|
path: `/Mold/MoldProductionOrder`,
|
||||||
meta:{
|
meta: {
|
||||||
page:{ cacheAble:false}
|
page: { cacheAble: false }
|
||||||
},
|
},
|
||||||
component: () => import(`@/pages/Middle/Mold/MoldProductionOrder`),
|
component: () => import(`@/pages/Middle/Mold/MoldProductionOrder`),
|
||||||
authority: {
|
authority: {
|
||||||
|
|
@ -181,13 +181,13 @@ routerMap['MoldProductionOrder']= {
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
routerMap['MoldProductionOrderCreate']= {
|
routerMap['MoldProductionOrderCreate'] = {
|
||||||
name: '工艺布产',
|
name: '工艺布产',
|
||||||
icon: 'idcard',
|
icon: 'idcard',
|
||||||
path: `/Mold/MoldProductionOrderAdd`,
|
path: `/Mold/MoldProductionOrderAdd`,
|
||||||
meta:{
|
meta: {
|
||||||
invisible: true,
|
invisible: true,
|
||||||
page:{ cacheAble:false}
|
page: { cacheAble: false }
|
||||||
},
|
},
|
||||||
component: () => import(`@/pages/Middle/Mold/MoldProductionOrder/Edit`),
|
component: () => import(`@/pages/Middle/Mold/MoldProductionOrder/Edit`),
|
||||||
authority: {
|
authority: {
|
||||||
|
|
@ -195,13 +195,13 @@ routerMap['MoldProductionOrderCreate']= {
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
routerMap['MoldProductionOrderUpdate']= {
|
routerMap['MoldProductionOrderUpdate'] = {
|
||||||
name: '工艺布产',
|
name: '工艺布产',
|
||||||
icon: 'idcard',
|
icon: 'idcard',
|
||||||
path: `/Mold/MoldProductionOrderUpdate/:id`,
|
path: `/Mold/MoldProductionOrderUpdate/:id`,
|
||||||
meta:{
|
meta: {
|
||||||
invisible: true,
|
invisible: true,
|
||||||
page:{ cacheAble:false}
|
page: { cacheAble: false }
|
||||||
},
|
},
|
||||||
component: () => import(`@/pages/Middle/Mold/MoldProductionOrder/Edit`),
|
component: () => import(`@/pages/Middle/Mold/MoldProductionOrder/Edit`),
|
||||||
authority: {
|
authority: {
|
||||||
|
|
@ -209,13 +209,13 @@ routerMap['MoldProductionOrderUpdate']= {
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
routerMap['MoldProductionOrderDetail']= {
|
routerMap['MoldProductionOrderDetail'] = {
|
||||||
name: '工艺布产',
|
name: '工艺布产',
|
||||||
icon: 'idcard',
|
icon: 'idcard',
|
||||||
path: `/Mold/MoldProductionOrderDetail/:id`,
|
path: `/Mold/MoldProductionOrderDetail/:id`,
|
||||||
meta:{
|
meta: {
|
||||||
invisible: true,
|
invisible: true, // 不在菜单显示
|
||||||
page:{ cacheAble:false}
|
page: { cacheAble: false }
|
||||||
},
|
},
|
||||||
component: () => import(`@/pages/Middle/Mold/MoldProductionOrder/Detail`),
|
component: () => import(`@/pages/Middle/Mold/MoldProductionOrder/Detail`),
|
||||||
authority: {
|
authority: {
|
||||||
|
|
@ -223,12 +223,25 @@ routerMap['MoldProductionOrderDetail']= {
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
routerMap['MoldScheme']= {
|
routerMap['MoldProductionOrderProcessesList'] = {
|
||||||
|
name: '布产部门工序列表',
|
||||||
|
icon: 'idcard',
|
||||||
|
path: `/MoldProductionOrder/MoldProductionOrderProcessesList`,
|
||||||
|
meta: {
|
||||||
|
page: { cacheAble: false }
|
||||||
|
},
|
||||||
|
component: () => import(`@/pages/Middle/Mold/MoldProductionOrder/ProcessesList`),
|
||||||
|
authority: {
|
||||||
|
permission: [],
|
||||||
|
}
|
||||||
|
};
|
||||||
|
|
||||||
|
routerMap['MoldScheme'] = {
|
||||||
name: '模具设计',
|
name: '模具设计',
|
||||||
icon: 'idcard',
|
icon: 'idcard',
|
||||||
path: `/Mold/MoldScheme`,
|
path: `/Mold/MoldScheme`,
|
||||||
meta:{
|
meta: {
|
||||||
page:{ cacheAble:false}
|
page: { cacheAble: false }
|
||||||
},
|
},
|
||||||
component: () => import(`@/pages/Middle/Mold/MoldScheme`),
|
component: () => import(`@/pages/Middle/Mold/MoldScheme`),
|
||||||
authority: {
|
authority: {
|
||||||
|
|
@ -236,13 +249,13 @@ routerMap['MoldScheme']= {
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
routerMap['MoldSchemeCreate']= {
|
routerMap['MoldSchemeCreate'] = {
|
||||||
name: '模具设计',
|
name: '模具设计',
|
||||||
icon: 'idcard',
|
icon: 'idcard',
|
||||||
path: `/Mold/MoldSchemeAdd`,
|
path: `/Mold/MoldSchemeAdd`,
|
||||||
meta:{
|
meta: {
|
||||||
invisible: true,
|
invisible: true,
|
||||||
page:{ cacheAble:false}
|
page: { cacheAble: false }
|
||||||
},
|
},
|
||||||
component: () => import(`@/pages/Middle/Mold/MoldScheme/Edit`),
|
component: () => import(`@/pages/Middle/Mold/MoldScheme/Edit`),
|
||||||
authority: {
|
authority: {
|
||||||
|
|
@ -250,13 +263,13 @@ routerMap['MoldSchemeCreate']= {
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
routerMap['MoldSchemeUpdate']= {
|
routerMap['MoldSchemeUpdate'] = {
|
||||||
name: '模具设计',
|
name: '模具设计',
|
||||||
icon: 'idcard',
|
icon: 'idcard',
|
||||||
path: `/Mold/MoldSchemeUpdate/:id`,
|
path: `/Mold/MoldSchemeUpdate/:id`,
|
||||||
meta:{
|
meta: {
|
||||||
invisible: true,
|
invisible: true,
|
||||||
page:{ cacheAble:false}
|
page: { cacheAble: false }
|
||||||
},
|
},
|
||||||
component: () => import(`@/pages/Middle/Mold/MoldScheme/Edit`),
|
component: () => import(`@/pages/Middle/Mold/MoldScheme/Edit`),
|
||||||
authority: {
|
authority: {
|
||||||
|
|
@ -267,12 +280,12 @@ routerMap['MoldSchemeUpdate']= {
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
routerMap['MoldComponent']= {
|
routerMap['MoldComponent'] = {
|
||||||
name: '模具设计',
|
name: '模具设计',
|
||||||
icon: 'idcard',
|
icon: 'idcard',
|
||||||
path: `/Mold/MoldComponent`,
|
path: `/Mold/MoldComponent`,
|
||||||
meta:{
|
meta: {
|
||||||
page:{ cacheAble:false}
|
page: { cacheAble: false }
|
||||||
},
|
},
|
||||||
component: () => import(`@/pages/Middle/Mold/MoldComponent`),
|
component: () => import(`@/pages/Middle/Mold/MoldComponent`),
|
||||||
authority: {
|
authority: {
|
||||||
|
|
@ -280,13 +293,13 @@ routerMap['MoldComponent']= {
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
routerMap['MoldComponentCreate']= {
|
routerMap['MoldComponentCreate'] = {
|
||||||
name: '模具设计',
|
name: '模具设计',
|
||||||
icon: 'idcard',
|
icon: 'idcard',
|
||||||
path: `/Mold/MoldComponentAdd`,
|
path: `/Mold/MoldComponentAdd`,
|
||||||
meta:{
|
meta: {
|
||||||
invisible: true,
|
invisible: true,
|
||||||
page:{ cacheAble:false}
|
page: { cacheAble: false }
|
||||||
},
|
},
|
||||||
component: () => import(`@/pages/Middle/Mold/MoldComponent/Edit`),
|
component: () => import(`@/pages/Middle/Mold/MoldComponent/Edit`),
|
||||||
authority: {
|
authority: {
|
||||||
|
|
@ -294,13 +307,13 @@ routerMap['MoldComponentCreate']= {
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
routerMap['MoldComponentUpdate']= {
|
routerMap['MoldComponentUpdate'] = {
|
||||||
name: '模具设计',
|
name: '模具设计',
|
||||||
icon: 'idcard',
|
icon: 'idcard',
|
||||||
path: `/Mold/MoldComponentUpdate/:id`,
|
path: `/Mold/MoldComponentUpdate/:id`,
|
||||||
meta:{
|
meta: {
|
||||||
invisible: true,
|
invisible: true,
|
||||||
page:{ cacheAble:false}
|
page: { cacheAble: false }
|
||||||
},
|
},
|
||||||
component: () => import(`@/pages/Middle/Mold/MoldComponent/Edit`),
|
component: () => import(`@/pages/Middle/Mold/MoldComponent/Edit`),
|
||||||
authority: {
|
authority: {
|
||||||
|
|
@ -311,12 +324,12 @@ routerMap['MoldComponentUpdate']= {
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
routerMap['MoldComponentCategory']= {
|
routerMap['MoldComponentCategory'] = {
|
||||||
name: '模具设计',
|
name: '模具设计',
|
||||||
icon: 'idcard',
|
icon: 'idcard',
|
||||||
path: `/Mold/MoldComponentCategory`,
|
path: `/Mold/MoldComponentCategory`,
|
||||||
meta:{
|
meta: {
|
||||||
page:{ cacheAble:false}
|
page: { cacheAble: false }
|
||||||
},
|
},
|
||||||
component: () => import(`@/pages/Middle/Mold/MoldComponentCategory/List`),
|
component: () => import(`@/pages/Middle/Mold/MoldComponentCategory/List`),
|
||||||
authority: {
|
authority: {
|
||||||
|
|
@ -324,13 +337,13 @@ routerMap['MoldComponentCategory']= {
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
routerMap['MoldComponentCategoryCreate']= {
|
routerMap['MoldComponentCategoryCreate'] = {
|
||||||
name: '模具设计',
|
name: '模具设计',
|
||||||
icon: 'idcard',
|
icon: 'idcard',
|
||||||
path: `/Mold/MoldComponentCategoryAdd`,
|
path: `/Mold/MoldComponentCategoryAdd`,
|
||||||
meta:{
|
meta: {
|
||||||
invisible: true,
|
invisible: true,
|
||||||
page:{ cacheAble:false}
|
page: { cacheAble: false }
|
||||||
},
|
},
|
||||||
component: () => import(`@/pages/Middle/Mold/MoldComponentCategory/Edit`),
|
component: () => import(`@/pages/Middle/Mold/MoldComponentCategory/Edit`),
|
||||||
authority: {
|
authority: {
|
||||||
|
|
@ -338,13 +351,13 @@ routerMap['MoldComponentCategoryCreate']= {
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
routerMap['MoldComponentCategoryUpdate']= {
|
routerMap['MoldComponentCategoryUpdate'] = {
|
||||||
name: '模具设计',
|
name: '模具设计',
|
||||||
icon: 'idcard',
|
icon: 'idcard',
|
||||||
path: `/Mold/MoldComponentCategoryUpdate/:id`,
|
path: `/Mold/MoldComponentCategoryUpdate/:id`,
|
||||||
meta:{
|
meta: {
|
||||||
invisible: true,
|
invisible: true,
|
||||||
page:{ cacheAble:false}
|
page: { cacheAble: false }
|
||||||
},
|
},
|
||||||
component: () => import(`@/pages/Middle/Mold/MoldComponentCategory/Edit`),
|
component: () => import(`@/pages/Middle/Mold/MoldComponentCategory/Edit`),
|
||||||
authority: {
|
authority: {
|
||||||
|
|
@ -354,12 +367,12 @@ routerMap['MoldComponentCategoryUpdate']= {
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
routerMap['MoldSchemeCategory']= {
|
routerMap['MoldSchemeCategory'] = {
|
||||||
name: '模具分类',
|
name: '模具分类',
|
||||||
icon: 'idcard',
|
icon: 'idcard',
|
||||||
path: `/Mold/MoldSchemeCategory`,
|
path: `/Mold/MoldSchemeCategory`,
|
||||||
meta:{
|
meta: {
|
||||||
page:{ cacheAble:false}
|
page: { cacheAble: false }
|
||||||
},
|
},
|
||||||
component: () => import(`@/pages/Middle/Mold/MoldSchemeCategory/List`),
|
component: () => import(`@/pages/Middle/Mold/MoldSchemeCategory/List`),
|
||||||
authority: {
|
authority: {
|
||||||
|
|
@ -367,13 +380,13 @@ routerMap['MoldSchemeCategory']= {
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
routerMap['MoldSchemeCategoryCreate']= {
|
routerMap['MoldSchemeCategoryCreate'] = {
|
||||||
name: '模具分类',
|
name: '模具分类',
|
||||||
icon: 'idcard',
|
icon: 'idcard',
|
||||||
path: `/Mold/MoldSchemeCategoryAdd`,
|
path: `/Mold/MoldSchemeCategoryAdd`,
|
||||||
meta:{
|
meta: {
|
||||||
invisible: true,
|
invisible: true,
|
||||||
page:{ cacheAble:false}
|
page: { cacheAble: false }
|
||||||
},
|
},
|
||||||
component: () => import(`@/pages/Middle/Mold/MoldSchemeCategory/Edit`),
|
component: () => import(`@/pages/Middle/Mold/MoldSchemeCategory/Edit`),
|
||||||
authority: {
|
authority: {
|
||||||
|
|
@ -381,13 +394,13 @@ routerMap['MoldSchemeCategoryCreate']= {
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
routerMap['MoldSchemeCategoryUpdate']= {
|
routerMap['MoldSchemeCategoryUpdate'] = {
|
||||||
name: '模具分类',
|
name: '模具分类',
|
||||||
icon: 'idcard',
|
icon: 'idcard',
|
||||||
path: `/Mold/MoldSchemeCategoryUpdate/:id`,
|
path: `/Mold/MoldSchemeCategoryUpdate/:id`,
|
||||||
meta:{
|
meta: {
|
||||||
invisible: true,
|
invisible: true,
|
||||||
page:{ cacheAble:false}
|
page: { cacheAble: false }
|
||||||
},
|
},
|
||||||
component: () => import(`@/pages/Middle/Mold/MoldSchemeCategory/Edit`),
|
component: () => import(`@/pages/Middle/Mold/MoldSchemeCategory/Edit`),
|
||||||
authority: {
|
authority: {
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue