Browse Source

分办选择专业处室

Liuqi 6 years ago
parent
commit
ade508831b

+ 2 - 2
src/dashoo.cn/frontend_web/src/pages/oilsupplier/addtionaudit/_opera/basisdataopera.vue

@@ -713,11 +713,11 @@ import ChooseAuditor from '@/components/oilsupplier/chooseauditor'
 
 
       checkstatus () {
       checkstatus () {
         this.shenheForm.Auditer = this.auditer
         this.shenheForm.Auditer = this.auditer
-        this.shenheForm.MajorDept = this.majorDept[this.majorDept.length - 1]
+        this.shenheForm.MajorDept = this.selectDept
         let params = {
         let params = {
           FirstAuditName: this.auditer,
           FirstAuditName: this.auditer,
           SecondAudit: this.fushenauditer,
           SecondAudit: this.fushenauditer,
-          ThirdAudit: this.majorDept[this.majorDept.length - 1]
+          ThirdAudit: this.selectDept
         }
         }
         api2.auditEntityFir(this.formData.Id, params, this.shenheForm, this.$axios).then(res => {
         api2.auditEntityFir(this.formData.Id, params, this.shenheForm, this.$axios).then(res => {
           if (res.data.code === 0) {
           if (res.data.code === 0) {

+ 2 - 2
src/dashoo.cn/frontend_web/src/pages/oilsupplier/addtionaudit/_opera/goodsdataopera.vue

@@ -717,11 +717,11 @@
 
 
       checkstatus () {
       checkstatus () {
         this.shenheForm.Auditer = this.auditer
         this.shenheForm.Auditer = this.auditer
-        this.shenheForm.MajorDept = this.majorDept[this.majorDept.length - 1]
+        this.shenheForm.MajorDept = this.selectDept
         let params = {
         let params = {
           FirstAuditName: this.auditer,
           FirstAuditName: this.auditer,
           SecondAudit: this.fushenauditer,
           SecondAudit: this.fushenauditer,
-          ThirdAudit: this.majorDept[this.majorDept.length - 1]
+          ThirdAudit: this.selectDept
         }
         }
         api2.auditEntityFir(this.formData.Id, params, this.shenheForm, this.$axios).then(res => {
         api2.auditEntityFir(this.formData.Id, params, this.shenheForm, this.$axios).then(res => {
           if (res.data.code === 0) {
           if (res.data.code === 0) {

+ 4 - 4
src/dashoo.cn/frontend_web/src/pages/oilsupplier/addtionaudit/_opera/techdataopera.vue

@@ -289,11 +289,11 @@
         organizeOption: [], // 审批部门
         organizeOption: [], // 审批部门
         auditerOption: [], // 审批人
         auditerOption: [], // 审批人
         secorgtreelist: [],
         secorgtreelist: [],
-        majorDept: [],
+        majorDept: [100000000, 100000001, 100000071],
         auditbusList: [], // 待审核业务
         auditbusList: [], // 待审核业务
         allorgunitOptions: [],
         allorgunitOptions: [],
         userOptions: [],
         userOptions: [],
-        selectDept: 100000071,
+        selectDept: '',
         dialogMakeSure: false,
         dialogMakeSure: false,
         dialogAllocation: false,
         dialogAllocation: false,
         dialogMakeSure2: false,
         dialogMakeSure2: false,
@@ -732,11 +732,11 @@
 
 
       checkstatus () {
       checkstatus () {
         this.shenheForm.Auditer = this.auditer
         this.shenheForm.Auditer = this.auditer
-        this.shenheForm.MajorDept = this.majorDept[this.majorDept.length - 1]
+        this.shenheForm.MajorDept = this.selectDept
         let params = {
         let params = {
           FirstAuditName: this.auditer,
           FirstAuditName: this.auditer,
           SecondAudit: this.fushenauditer,
           SecondAudit: this.fushenauditer,
-          ThirdAudit: this.majorDept[this.majorDept.length - 1]
+          ThirdAudit: this.selectDept
         }
         }
         console.log('---params', params)
         console.log('---params', params)
         api2.auditEntityFir(this.formData.Id, params, this.shenheForm, this.$axios).then(res => {
         api2.auditEntityFir(this.formData.Id, params, this.shenheForm, this.$axios).then(res => {