Commit 0ee04a5d by niewei

dblpty

parent 677ffff3
......@@ -237,7 +237,8 @@ export default {
//获取主协办机构
if (this.type=="edit") {
let data={
"orgBch":this.$store.state.UserContext.currentOrg.departmentNumber,
// "orgBch":this.$store.state.UserContext.currentOrg.departmentNumber,
"orgBch":JSON.parse(sessionStorage.getItem('currentOrg')).departmentnumber,
"orgNo": this.model.extkey
}
Api.post('/manager/pty/checkZXbanForExtkeyByEcif0930',data).then(res => {
......
......@@ -278,7 +278,7 @@ export default {
this.ptyData = list
this.ptyCondition.pageNum = res.data.pageNumber
this.ptyCondition.pageSize = res.data.pageSize
this.ptyCondition.total = res.data.total
this.ptyCondition.total = Number(res.data.total)
}
this.loadingPtyStatus=false;
......@@ -398,7 +398,8 @@ export default {
async checkZXbanForExtkeyBySSTF(ptyinr){
let data={
"orgBch":this.$store.state.UserContext.currentOrg.departmentNumber,
// "orgBch":this.$store.state.UserContext.currentOrg.departmentNumber,
"orgBch":JSON.parse(sessionStorage.getItem('currentOrg')).departmentnumber,
"ptyInr": ptyinr
};
await Api.post('/manager/pty/checkZXbanForExtkeyBySSTF',data).then(res => {
......@@ -425,9 +426,12 @@ export default {
async checkZXbanForExtkeyByEcif0930(extkey){
let data={
"orgBch":this.$store.state.UserContext.currentOrg.departmentNumber,
// "orgBch":this.$store.state.UserContext.currentOrg.departmentNumber,
"orgBch":JSON.parse(sessionStorage.getItem('currentOrg')).departmentnumber,
"orgNo": extkey
};
console.log("===========")
console.log(sessionStorage.currentOrg.departmentnumber)
await Api.post('/manager/pty/checkZXbanForExtkeyByEcif0930',data).then(res => {
if (res.respCode == SUCCESS) {
......
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