Commit 31aeeb36 authored by 周远喜's avatar 周远喜

工艺规程主页面完善

parent fbd58d8e
...@@ -27,7 +27,7 @@ ...@@ -27,7 +27,7 @@
<template slot="easySearch"> <template slot="easySearch">
<Form ref="formInline" :model="easySearch" inline> <Form ref="formInline" :model="easySearch" inline>
<FormItem prop="keys"> <FormItem prop="keys">
<Input placeholder="请输入工艺名称/工艺编号" v-width="200" v-model="easySearch.keys.value" /> <Input placeholder="请输入工艺名称/工艺编号" v-width="200" v-model="easySearch.keys.value" clearable/>
</FormItem> </FormItem>
<FormItem> <FormItem>
<Button type="primary" @click="search">查询</Button> <Button type="primary" @click="search">查询</Button>
...@@ -260,7 +260,8 @@ export default { ...@@ -260,7 +260,8 @@ export default {
}, },
// 详情页面 // 详情页面
view() { view() {
this.$router.push("technology/details"); // this.$router.push("technology/details");
window.open("/technology/details","_blank")
}, },
ok() { ok() {
this.$refs.grid.load(); this.$refs.grid.load();
...@@ -311,43 +312,7 @@ export default { ...@@ -311,43 +312,7 @@ export default {
this.modal = false; this.modal = false;
}, },
l(key) { l(key) {
/* let vkey = "routingHeader" + "." + key;
routing_header:{
id:'',
creationTime:'创建时间',
creatorUserId:'创建人',
lastModificationTime:'最近修改时间',
lastModifierUserId:'最近修改人',
deleterUserId:'上传人',
deletionTime:'删除时间',
classId:'类id',
unicode:'unicode',
name:'工艺名称',
code:'工艺编号',
productId:'产品id',
version:'版本',
author:'作者',
departmentId:'主制车间',
isMain:'主工艺',
upId:'父工艺',
upDetailId:'',
routingType:'工艺类型',
status:'状态',
approvalStatus:'审批状态',
remark:'备注',
approvalStatusRemark:'审批备注',
auditUserId1:'审批人',
auditUserId2:'审批人',
isDeleted:'是否删除',
platesnum:'板数',
isEffect:'是否有效',
versionnotes:'版本说明',
phase:'阶段',
versionid:'版本ID',
isSendPpm:'是否发送PPM',
}
*/
let vkey = "routingHeader" + "." + key;
return this.$t(vkey) || key; return this.$t(vkey) || key;
} }
} }
......
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