commit by yzf

master
Yang 3 years ago
parent 14142f6448
commit c01a285f92

@ -3,8 +3,8 @@ import { layer } from '@layui/layer-vue'
const config = { const config = {
timeout: 600000, timeout: 600000,
//baseURL: "http://124.222.104.55:58178/", baseURL: "http://124.222.104.55:58178/",
baseURL: "http://localhost:58178/", //baseURL: "http://localhost:58178/",
// baseURL: "http://plm-pw-test.hbflavor.com:81/", // baseURL: "http://plm-pw-test.hbflavor.com:81/",
headers: { headers: {
'Content-Type': 'application/json;charset=UTF-8', 'Content-Type': 'application/json;charset=UTF-8',

@ -209,7 +209,7 @@ export default {
}, },
mounted() { mounted() {
this.getUserPower(); this.getUserPower();
this.initPage(this.idx); //this.initPage(this.idx);
}, },
methods: { methods: {
async getUserPower() { async getUserPower() {

@ -312,6 +312,7 @@ export default {
}, },
// //
async _getPageList(isFirst) { async _getPageList(isFirst) {
debugger
if (isFirst) { if (isFirst) {
this.pageInfo.current = 1; this.pageInfo.current = 1;
this.pageInfo.total = 0; this.pageInfo.total = 0;

@ -1,6 +1,6 @@
<template> <template>
<lay-container fluid="true" class="content-box"> <lay-container fluid="true" class="content-box">
<FormulaView :teamId="dataInfoObj.FTeamID" :halfId="dataInfoObj.FMaterialHalfIDs"></FormulaView> <FormulaView :teamId="dataInfoObj.FTeamID" :dataInfoObj="dataInfoObj" :halfId="dataInfoObj.FMaterialHalfIDs"></FormulaView>
<lay-layer area="90%" v-model="showFreezingColumnSettingBox" title="固定列设置" :end="closeFreezingSetting"> <lay-layer area="90%" v-model="showFreezingColumnSettingBox" title="固定列设置" :end="closeFreezingSetting">
<FreezingColumnSetting v-if="showFreezingColumnSettingBox" :columns="originalColumns" <FreezingColumnSetting v-if="showFreezingColumnSettingBox" :columns="originalColumns"
:freezingColumns="freezingColumnSetting" @cancelClick="setFreezingColumnsSetting"></FreezingColumnSetting> :freezingColumns="freezingColumnSetting" @cancelClick="setFreezingColumnsSetting"></FreezingColumnSetting>
@ -209,7 +209,7 @@ export default {
}, },
mounted() { mounted() {
this.getUserPower(); this.getUserPower();
this.initPage(this.idx); //this.initPage(this.idx);
}, },
methods: { methods: {
async getUserPower() { async getUserPower() {
@ -227,12 +227,10 @@ export default {
}, },
async initPage(idx) { async initPage(idx) {
this.idx = idx; this.idx = idx;
debugger
let _data = await getListByHalfMaterialTeamId({ let _data = await getListByHalfMaterialTeamId({
teamId: this.dataInfoObj.FTeamID, teamId: this.dataInfoObj.FTeamID,
viewType: this.dataInfoObj.FViewType viewType: this.dataInfoObj.FViewType
}); });
this.materialInfoList = await GetMaterialInfoList() || null; this.materialInfoList = await GetMaterialInfoList() || null;

@ -84,7 +84,7 @@
width: "56" width: "56"
}]; }];
let dataList = []; let dataList = [];
debugger
let postData = { let postData = {
FTeamID: this.dataInfoObj.FTeamID, FTeamID: this.dataInfoObj.FTeamID,
FViewType: 2, FViewType: 2,

@ -285,7 +285,10 @@ export default {
}, },
showEditMaterial(i,data) { showEditMaterial(i,data) {
debugger debugger
if(data)
{
data["FTeamID"]=data.FID; data["FTeamID"]=data.FID;
}
this.objInfoObj=data; this.objInfoObj=data;
this.showEditBox[i] = true; this.showEditBox[i] = true;

@ -209,7 +209,7 @@ export default {
}, },
mounted() { mounted() {
this.getUserPower(); this.getUserPower();
this.initPage(this.idx); //this.initPage(this.idx);
}, },
methods: { methods: {
async getUserPower() { async getUserPower() {

Loading…
Cancel
Save