Browse Source

完善金融方案

master
yunuo970428 2 years ago
parent
commit
fb823e47cd
  1. 30
      anrui-buscenter/anrui-buscenter-ui/src/components/publicPage/financialscheme.vue
  2. 18
      anrui-buscenter/anrui-buscenter-ui/src/views/workflow/publicPage/financialscheme.vue

30
anrui-buscenter/anrui-buscenter-ui/src/components/publicPage/financialscheme.vue

@ -418,23 +418,23 @@ export default {
return val
},
showAdd(value) {
this.finance = JSON.parse(JSON.stringify(value))
this.isShowMore = this.finance.isShowMore
this.init()
},
showEdit(value) {
this.finance = JSON.parse(JSON.stringify(value))
this.init()
selectList({ orgPath: window.sessionStorage.getItem('defaultOrgPath'), userSid: window.sessionStorage.getItem('userSid'), isPack: this.finance.isPack }).then((resp) => {
if (resp.success) {
this.policy_list = resp.data
}
})
selectListByOther({ orgPath: window.sessionStorage.getItem('defaultOrgPath'), userSid: window.sessionStorage.getItem('userSid'), sid: this.finance.policySid }).then((res) => {
if (res.success) {
this.other_list = res.data
}
})
this.isShowMore = this.finance.isShowMore
if (this.finance.isPack !== '' && this.finance.isPack !== null) {
selectList({ orgPath: window.sessionStorage.getItem('defaultOrgPath'), userSid: window.sessionStorage.getItem('userSid'), isPack: this.finance.isPack }).then((resp) => {
if (resp.success) {
this.policy_list = resp.data
}
})
}
if (this.finance.policySid !== '' && this.finance.isPack !== null) {
selectListByOther({ orgPath: window.sessionStorage.getItem('defaultOrgPath'), userSid: window.sessionStorage.getItem('userSid'), sid: this.finance.policySid }).then((res) => {
if (res.success) {
this.other_list = res.data
}
})
}
},
//
isPackChange(val) {

18
anrui-buscenter/anrui-buscenter-ui/src/views/workflow/publicPage/financialscheme.vue

@ -417,16 +417,18 @@ export default {
return val
},
showAdd(value, orgSidPath) {
this.finance = JSON.parse(JSON.stringify(value))
this.init()
this.finance = JSON.parse(JSON.stringify(value))
this.orgPath = orgSidPath
selectList({ orgPath: this.orgPath, userSid: window.sessionStorage.getItem('userSid'), isPack: this.finance.isPack }).then((resp) => {
if (resp.success) {
this.policy_list = resp.data
}
})
if (this.finance.policySid !== '') {
selectListByOther({ orgPath: this.orgPath, userSid: window.sessionStorage.getItem('userSid'), sid: this.finance.policySid }).then((res) => {
if (this.finance.isPack !== '' && this.finance.isPack !== null) {
selectList({ orgPath: window.sessionStorage.getItem('defaultOrgPath'), userSid: window.sessionStorage.getItem('userSid'), isPack: this.finance.isPack }).then((resp) => {
if (resp.success) {
this.policy_list = resp.data
}
})
}
if (this.finance.policySid !== '' && this.finance.isPack !== null) {
selectListByOther({ orgPath: window.sessionStorage.getItem('defaultOrgPath'), userSid: window.sessionStorage.getItem('userSid'), sid: this.finance.policySid }).then((res) => {
if (res.success) {
this.other_list = res.data
}

Loading…
Cancel
Save