fengdong777 2 years ago
parent
commit
a50a61336a
  1. 5
      supervise-enterprise-ui/src/views/Yjsq/AddYjsq.vue
  2. 3
      supervise-enterprise-ui/src/views/Yjsq/LookYzsq/index.vue

5
supervise-enterprise-ui/src/views/Yjsq/AddYjsq.vue

@ -206,16 +206,13 @@
}, },
industryAllList: [], industryAllList: [],
industryList: [], industryList: [],
userSid:'',
imgList: [], imgList: [],
msg:[], msg:[],
checkList:[], checkList:[],
projectSidList:[] projectSidList:[]
} }
}, },
created() { created() {
this.formobj.user_sid = window.sessionStorage.getItem('userSid')
this.projectSidList= JSON.parse(window.sessionStorage.getItem("projectSidList")); this.projectSidList= JSON.parse(window.sessionStorage.getItem("projectSidList"));
}, },
watch: { watch: {
@ -233,6 +230,7 @@
}, },
methods: { methods: {
saveOrUpdate() { saveOrUpdate() {
this.formobj.user_sid=window.sessionStorage.getItem('userSid')
this.backcheckList() this.backcheckList()
if (this.formobj.sid) { if (this.formobj.sid) {
req.sealrecordSave(this.formobj) req.sealrecordSave(this.formobj)
@ -270,6 +268,7 @@
}, },
saveSubmit(){ saveSubmit(){
this.formobj.user_sid=window.sessionStorage.getItem('userSid')
this.backcheckList() this.backcheckList()
req.sealrecordSubmit(this.formobj) req.sealrecordSubmit(this.formobj)
.then(resp => { .then(resp => {

3
supervise-enterprise-ui/src/views/Yjsq/LookYzsq/index.vue

@ -214,7 +214,6 @@
const data = window.location.href.substr(one) // urlunescape()web,使 const data = window.location.href.substr(one) // urlunescape()web,使
const obj = JSON.parse(decodeURIComponent(data)) const obj = JSON.parse(decodeURIComponent(data))
this.showEdit(obj.businessSid) this.showEdit(obj.businessSid)
this.formobj.user_sid = window.sessionStorage.getItem('userSid')
}, },
watch: { watch: {
imgList:{ imgList:{
@ -231,6 +230,7 @@
}, },
methods: { methods: {
saveOrUpdate() { saveOrUpdate() {
this.formobj.user_sid = window.sessionStorage.getItem('userSid')
this.backcheckList() this.backcheckList()
if( this.formobj.sid){ if( this.formobj.sid){
req.sealrecordSave(this.formobj) req.sealrecordSave(this.formobj)
@ -251,6 +251,7 @@
} }
}, },
saveSubmit(){ saveSubmit(){
this.formobj.user_sid = window.sessionStorage.getItem('userSid')
this.backcheckList() this.backcheckList()
req.sealrecordSubmit(this.formobj) req.sealrecordSubmit(this.formobj)
.then(resp => { .then(resp => {

Loading…
Cancel
Save