diff --git a/vue/src/router/modules/fis.js b/vue/src/router/modules/fis.js index 10c78188..3ef5e9dd 100644 --- a/vue/src/router/modules/fis.js +++ b/vue/src/router/modules/fis.js @@ -38,7 +38,7 @@ const pgfis = { }, { path: '/pg-workLine', - component: () => import('@/views/pg-fis/basedate/workLine'), + component: () => import('@/views/pg-fis/basedate/productLine'), name: 'pg-workLine', meta: { title: '生产线权限', @@ -75,6 +75,16 @@ const pgfis = { roles: ['SettleAccount.Reports'], icon: '客户零件' } + }, + { + path: '/pg-weldingAssembly', + component: () => import('@/views/pg-fis/basedate/weldingAssembly'), + name: 'pg-weldingAssembly',//命名路由 + meta: { + title: '焊装总装对比', + roles: ['SettleAccount.Reports'], + icon: '客户零件' + } } ] } diff --git a/vue/src/views/newJit/baseData/logRemind/index.vue b/vue/src/views/newJit/baseData/logRemind/index.vue index 6d96236a..34d45e27 100644 --- a/vue/src/views/newJit/baseData/logRemind/index.vue +++ b/vue/src/views/newJit/baseData/logRemind/index.vue @@ -1,6 +1,7 @@ - + + + + @@ -200,6 +210,9 @@ export default { LogType: undefined, SeriousLevel: undefined, }, + operationQuery:{ + id:undefined, + }, page: 1, // 显示搜索条件 showSearch: true, @@ -210,11 +223,12 @@ export default { }; }, mounted() { - var self = this; - window.onresize = function () { - var offsetHei = document.documentElement.clientHeight; - self.tableHeight = offsetHei - 190; - }; + this.$nextTick(() => { + var offsetHei = document.documentElement.clientHeight; + //console.log(offsetHei); + let boxH = this.$refs.box.offsetHeight; + this.tableHeight = offsetHei - boxH - 57 - 79;//57为footer高度,79为页面上部标签高度 + }); }, created() { this.getList(); @@ -387,6 +401,75 @@ export default { this.$refs.multipleTable.clearSelection(); this.$refs.multipleTable.toggleRowSelection(row); }, + handleEdit(row) + { + this.operationQuery.id = row.id; + this.$axios + .posts("/api/newjit/log-remind/do-process", this.operationQuery) + .then((response) => { + if(response.status === "true") + { + this.$notify({ + title: "成功", + message: "处理成功!", + type: "success", + duration: 2000, + }); + } + else + { + this.$notify({ + title: "失败", + message: "处理失败!", + type: "success", + duration: 2000, + }); + } + + }) + .catch(() => { + this.$notify({ + title: "失败", + message: "处理失败!", + type: "warning", + duration: 2000, + }); + }); + }, + handleIgnore(row) + { + this.operationQuery.id = row.id; + this.$axios + .posts("/api/newjit/log-remind/do-ignore", this.operationQuery) + .then((response) => { + if(response.status === "true") + { + this.$notify({ + title: "成功", + message: "忽略成功!", + type: "success", + duration: 2000, + }); + } + else + { + this.$notify({ + title: "失败", + message: "忽略失败!", + type: "success", + duration: 2000, + }); + } + }) + .catch(() => { + this.$notify({ + title: "失败", + message: "忽略失败!", + type: "warning", + duration: 2000, + }); + }); + } }, }; diff --git a/vue/src/views/pg-fis/basedate/assemblyCfg/index.vue b/vue/src/views/pg-fis/basedate/assemblyCfg/index.vue index b79d5b3b..daa791cc 100644 --- a/vue/src/views/pg-fis/basedate/assemblyCfg/index.vue +++ b/vue/src/views/pg-fis/basedate/assemblyCfg/index.vue @@ -46,7 +46,7 @@ - + - + - + - + - + { + this.$refs["form"] = []; this.$refs["form"].resetFields(); }); } diff --git a/vue/src/views/pg-fis/basedate/m100BIll/index.vue b/vue/src/views/pg-fis/basedate/m100BIll/index.vue index 8ba688d5..c47eaffd 100644 --- a/vue/src/views/pg-fis/basedate/m100BIll/index.vue +++ b/vue/src/views/pg-fis/basedate/m100BIll/index.vue @@ -10,30 +10,34 @@ :inline="true" > - + - - + + + - + - - + @@ -49,9 +53,9 @@ - + - + - + - + - + - + --> { var offsetHei = document.documentElement.clientHeight; - console.log(offsetHei); + //console.log(offsetHei); let boxH = this.$refs.box.offsetHeight; this.tableHeight = offsetHei - boxH - 57 - 79;//57为footer高度,79为页面上部标签高度 - console.log(this.$refs.box.offsetHeight); - console.log(this.tableHeight); + //console.log(this.$refs.box.offsetHeight); + //console.log(this.tableHeight); }); }, created() { this.getList(); + this.getProductLine(); }, computed: { getDefaultField() { @@ -880,9 +900,23 @@ export default { /** 重置按钮操作 */ resetQuery(refName) { //this.$refs[refName].resetFields(); - this.listQuery.ErpAssemblyName = ""; - this.listQuery.ErpAssemblyCode = ""; + this.listQuery.billType = ""; + this.listQuery.productLine = ""; + this.listQuery.version = ""; + this.listQuery.HostSNBegin = ""; + this.listQuery.HostSNEnd = ""; + this.listQuery.KNRBegin = ""; + this.listQuery.KNREnd = ""; + this.listQuery.VINBegin = ""; + this.listQuery.VINEnd = ""; + this.listQuery.OnlineTimeValue = ""; + this.listQuery.OnlineTimeBegin = ""; + this.listQuery.OnlineTimeEnd = ""; + this.listQuery.ReceiveTimeValue = ""; + this.listQuery.ReceiveTimeBegin = ""; + this.listQuery.ReceiveTimeEnd = ""; this.handleQuery(); + this.getProductLine(); }, /** 搜索按钮操作 */ handleQuery() { @@ -1036,6 +1070,28 @@ export default { this.$refs.multipleTable.clearSelection(); this.$refs.multipleTable.toggleRowSelection(row); }, + //获取所有产线 + getProductLine() + { + this.$axios + .gets( + "/api/newjit/product-line/list",this.listPLQuery + ) + .then((response) => { + //console.log(response); + this.PLList = response.item; + //console.log(this.PLList); + }) + .catch(() => { + }); + }, + //产线类型变更 + ptypeselectChange() + { + //console.log(this.listQuery.productType); + this.PLList = this.PLList.filter(u => u.productType === this.listQuery.productType); + //console.log(this.PLList) + }, }, }; diff --git a/vue/src/views/pg-fis/basedate/m100Online/index.vue b/vue/src/views/pg-fis/basedate/m100Online/index.vue index 29450307..d22d3426 100644 --- a/vue/src/views/pg-fis/basedate/m100Online/index.vue +++ b/vue/src/views/pg-fis/basedate/m100Online/index.vue @@ -10,30 +10,34 @@ :inline="true" > - + - - + + + - + - - + @@ -48,9 +52,9 @@ /> - + - + - + - + - + - + - + - + { + //console.log(response); + this.PLList = response.item; + //console.log(this.PLList) + }) + .catch(() => { + }); + }, + //产线类型变更 + ptypeselectChange() + { + //console.log(this.listQuery.productType); + this.PLList = this.PLList.filter(u => u.productType === this.listQuery.productType); + //console.log(this.PLList) + }, }, }; diff --git a/vue/src/views/pg-fis/basedate/workLine/index.vue b/vue/src/views/pg-fis/basedate/productLine/index.vue similarity index 97% rename from vue/src/views/pg-fis/basedate/workLine/index.vue rename to vue/src/views/pg-fis/basedate/productLine/index.vue index 3c848f3d..e5ecc8b4 100644 --- a/vue/src/views/pg-fis/basedate/workLine/index.vue +++ b/vue/src/views/pg-fis/basedate/productLine/index.vue @@ -317,7 +317,7 @@ import XhJSSelect from "@/components/CreateCom/Xh-JS-Select-Label.vue"; import { filter } from 'jszip/lib/object'; export default { - name: "CustomerPartCfg", + name: "productLine", components: { Pagination, CRMTableHead, importExcel, XhJSSelect }, directives: { permission }, filters: { @@ -340,7 +340,7 @@ export default { }, data() { return { - crmType: "customerPartCfg", + crmType: "productLine", versionValue: "", //valueSelect: "R0003", versionList: [], //版本列表 @@ -584,24 +584,24 @@ export default { //return moment(date).format("YYYY-MM-DD HH:mm:ss"); return moment(date).format("YYYY-MM-DD"); } */ - if(column.property === 'customerCode') - { - if(row[column.property] === 'R0001') - { - var vname = '二配'; - return vname; - } - else if(row[column.property] === 'R0003') - { - var vname = '结算'; - return vname; - } - else - { - return row[column.property]; - } - } - return row[column.property] || "--"; + // if(column.property === 'customerCode') + // { + // if(row[column.property] === 'R0001') + // { + // var vname = '二配'; + // return vname; + // } + // else if(row[column.property] === 'R0003') + // { + // var vname = '结算'; + // return vname; + // } + // else + // { + // return row[column.property]; + // } + // } + // return row[column.property] || "--"; }, importExcelData() { //this.getVersionInfo(); @@ -859,6 +859,7 @@ export default { }, handleDetailSelectionChange(){}, sortDetailChange(){}, + //获取所有产线 getProductLine() { this.$axios diff --git a/vue/src/views/pg-fis/basedate/r100Online/index.vue b/vue/src/views/pg-fis/basedate/r100Online/index.vue index 81100237..6786bed2 100644 --- a/vue/src/views/pg-fis/basedate/r100Online/index.vue +++ b/vue/src/views/pg-fis/basedate/r100Online/index.vue @@ -10,30 +10,34 @@ :inline="true" > - + - - + + + - + - - + @@ -49,9 +53,9 @@ - + - + - + - + - + - + { + //console.log(response); + this.PLList = response.item; + //console.log(this.PLList); + }) + .catch(() => { + }); + }, + //产线类型变更 + ptypeselectChange() + { + //console.log(this.listQuery.productType); + this.PLList = this.PLList.filter(u => u.productType === this.listQuery.productType); + //console.log(this.PLList) + }, }, }; diff --git a/vue/src/views/pg-fis/basedate/weldingAssembly/index.vue b/vue/src/views/pg-fis/basedate/weldingAssembly/index.vue new file mode 100644 index 00000000..5e91f023 --- /dev/null +++ b/vue/src/views/pg-fis/basedate/weldingAssembly/index.vue @@ -0,0 +1,772 @@ + + + + + + + + diff --git a/vue/static/config.js b/vue/static/config.js index 0be624dd..2b444dcf 100644 --- a/vue/static/config.js +++ b/vue/static/config.js @@ -17,7 +17,7 @@ if (process.env.NODE_ENV === 'development') { public_port: '44378', backend_port: '44378', */ - ip: 'http://192.168.0.203', + ip: 'http://192.168.0.214', // ip: 'http://149.223.116.5', auth_port: '8066', public_port: '8092',