Commit c7c5b787 by 乔延琦

Merge branch 'develop-raojiaguan' into 'develop'

林草参数提交

See merge request GFP/RBC/rbc-frontend!205
parents 674cbac4 8b58dcd7
...@@ -4,10 +4,21 @@ export default { ...@@ -4,10 +4,21 @@ export default {
let name = GMS.$hideContainer.addComponent(lincaoView, {}, function (c) { let name = GMS.$hideContainer.addComponent(lincaoView, {}, function (c) {
const year = nros.getUser().loginDate.substring(0,4) const year = nros.getUser().loginDate.substring(0,4)
const unitCode = nros.getUser().loginUnit const unitCode = nros.getUser().loginUnit
let orgParam ={
orgCodes:[unitCode],
pagination: true,
queryDataStructure: 'ALL',
}
let sjcode;
GMS.$http
.post('/org/data/get', orgParam)
.then((res) => {
sjcode=res.data.sjcode
})
c.bill = bill.dom c.bill = bill.dom
const projectNum = bill.dom.getMasterData().getData().billCode.value const projectNum = bill.dom.getMasterData().getData().billCode.value
// c.url =`http://${param.param.ipAddress}/jq/addAssociateDatas.do?unitCode=${unitCode}&type=${param.param.type}&projectNum=${projectNum}&year=${year}` c.url =`http://${param.param.ipAddress}/jq/addAssociateDatas.do?unitCode=${sjcode}&type=${param.param.type}&projectNum=${projectNum}&year=${year}`
c.url =`http://${param.param.ipAddress}/jq/addAssociateDatas.do?unitCode=130324&type=jhltlx&projectNum=1&year=2021` // c.url =`http://${param.param.ipAddress}/jq/addAssociateDatas.do?unitCode=130324&type=jhltlx&projectNum=1&year=2021`
c.name = name c.name = name
c.modalShow = true; c.modalShow = true;
}) })
......
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