Commit 8b58dcd7 by raojiaguan

林草参数提交

parent 674cbac4
......@@ -4,10 +4,21 @@ export default {
let name = GMS.$hideContainer.addComponent(lincaoView, {}, function (c) {
const year = nros.getUser().loginDate.substring(0,4)
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
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=130324&type=jhltlx&projectNum=1&year=2021`
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.name = name
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