|
|
|
@ -860,8 +860,6 @@ export default { |
|
|
|
|
// } |
|
|
|
|
}, |
|
|
|
|
created() { |
|
|
|
|
console.log('---') |
|
|
|
|
console.log(process.env.NODE_ENV) |
|
|
|
|
if(!sessionStorage.getItem('firstLoad')) { |
|
|
|
|
const loading = this.$loading({ |
|
|
|
|
lock: true, |
|
|
|
@ -900,26 +898,21 @@ export default { |
|
|
|
|
// console.log(this.getSelectList.accountQualitySelectList) |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
let params= { |
|
|
|
|
parentId: '285,' + this.$store.state.system.businessSelect[this.$store.state.system.businessKey].id + ',287,4', |
|
|
|
|
// lcJudgmentRuleReq:formList, |
|
|
|
|
// projectId:+projectId, |
|
|
|
|
// startTime:startTime, |
|
|
|
|
} |
|
|
|
|
getOperation(params).then((data)=>{ |
|
|
|
|
if(data.status == 200) { |
|
|
|
|
var list = data.data.judgmentRuleReqs |
|
|
|
|
console.log(list) |
|
|
|
|
} |
|
|
|
|
// const tt1 = JSON.parse(sessionStorage.getItem('tt1')) |
|
|
|
|
// console.log('1-tt1') |
|
|
|
|
// console.log(tt1) |
|
|
|
|
// if(tt1) { |
|
|
|
|
// for(const key in tt1) { |
|
|
|
|
// this.form[tt1] = tt1[key] |
|
|
|
|
// } |
|
|
|
|
// } |
|
|
|
|
}) |
|
|
|
|
|
|
|
|
|
// 缓存物品栏和货架上的东西 |
|
|
|
|
|
|
|
|
|
// 传票栏 |
|
|
|
|
// let params= { |
|
|
|
|
// parentId: '285,' + this.$store.state.system.businessSelect[this.$store.state.system.businessKey].id + ',287,4', |
|
|
|
|
// } |
|
|
|
|
// getOperation(params).then((data)=>{ |
|
|
|
|
// if(data.status == 200) { |
|
|
|
|
// var list = data.data.judgmentRuleReqs.map(item => item.answerId) |
|
|
|
|
// console.log(list) |
|
|
|
|
// this.outThingsGoods([...list]) |
|
|
|
|
// this.pushThings({ idArr: [...list], name: 'cultureIn'}) |
|
|
|
|
// } |
|
|
|
|
// }) |
|
|
|
|
}, |
|
|
|
|
mounted(){ |
|
|
|
|
|
|
|
|
@ -1877,7 +1870,7 @@ export default { |
|
|
|
|
|
|
|
|
|
}, |
|
|
|
|
toPart(){ |
|
|
|
|
this.$router.push('/index') |
|
|
|
|
this.$router.push('/index' + '?' + window.location.href.split('?')[1]) |
|
|
|
|
}, |
|
|
|
|
judgePosition(evt) { |
|
|
|
|
const targetDom = this.$refs.goods.getBoundingClientRect() |
|
|
|
|