|
@@ -716,9 +716,23 @@
|
|
|
</el-col>
|
|
</el-col>
|
|
|
<el-col :span="24" v-if="shenheForm.SuccessStatus == 1">
|
|
<el-col :span="24" v-if="shenheForm.SuccessStatus == 1">
|
|
|
<el-form-item label="初审人员">
|
|
<el-form-item label="初审人员">
|
|
|
- <el-input ref="selectAuditer" readonly v-model="auditerName" placeholder="请选择初审人">
|
|
|
|
|
- <el-button slot="append" icon="el-icon-search" @click="chooseAuditorShow"></el-button>
|
|
|
|
|
- </el-input>
|
|
|
|
|
|
|
+ <!--<el-input ref="selectAuditer" readonly v-model="auditerName" placeholder="请选择初审人">-->
|
|
|
|
|
+ <!--<el-button slot="append" icon="el-icon-search" @click="chooseAuditorShow"></el-button>-->
|
|
|
|
|
+ <!--</el-input>-->
|
|
|
|
|
+ <el-select ref="selectAuditer"
|
|
|
|
|
+ v-model="auditer"
|
|
|
|
|
+ placeholder="请选择初审人"
|
|
|
|
|
+ style="width: 100%"
|
|
|
|
|
+ filterable
|
|
|
|
|
+ allow-create
|
|
|
|
|
+ default-first-option
|
|
|
|
|
+ @change="auditOrgChang()">
|
|
|
|
|
+ <el-option v-for="item in firOptions"
|
|
|
|
|
+ :key="item.Id"
|
|
|
|
|
+ :label="item.Realname"
|
|
|
|
|
+ :value="item.Id">
|
|
|
|
|
+ </el-option>
|
|
|
|
|
+ </el-select>
|
|
|
</el-form-item>
|
|
</el-form-item>
|
|
|
<el-form-item label="复审人员">
|
|
<el-form-item label="复审人员">
|
|
|
<el-select ref="selectAuditer" v-model="fushenauditer" placeholder="请选择复审人" style="width: 100%" filterable
|
|
<el-select ref="selectAuditer" v-model="fushenauditer" placeholder="请选择复审人" style="width: 100%" filterable
|
|
@@ -928,6 +942,7 @@
|
|
|
}
|
|
}
|
|
|
}
|
|
}
|
|
|
return {
|
|
return {
|
|
|
|
|
+ firOptions: [],
|
|
|
loading: false,
|
|
loading: false,
|
|
|
sizeProject: 10,
|
|
sizeProject: 10,
|
|
|
currentPageProject: 1,
|
|
currentPageProject: 1,
|
|
@@ -1317,6 +1332,16 @@
|
|
|
this.getsubfile()
|
|
this.getsubfile()
|
|
|
},
|
|
},
|
|
|
methods: {
|
|
methods: {
|
|
|
|
|
+ getFirAuditerByDept () {
|
|
|
|
|
+ let deptid = this.authUser.Profile.DepartmentId
|
|
|
|
|
+ this.userOptions = []
|
|
|
|
|
+ let auditstepcode = 'FIRST_TRIAL' // 初审人
|
|
|
|
|
+ api.getFirAuditerByDept(deptid, auditstepcode, this.$axios).then(res => {
|
|
|
|
|
+ this.firOptions = res.data.item
|
|
|
|
|
+ }).catch(err => {
|
|
|
|
|
+ console.error(err)
|
|
|
|
|
+ })
|
|
|
|
|
+ },
|
|
|
// ======
|
|
// ======
|
|
|
fileurlcut (val, index) {
|
|
fileurlcut (val, index) {
|
|
|
let fileurlall = val.split('$')[index]
|
|
let fileurlall = val.split('$')[index]
|
|
@@ -1367,6 +1392,7 @@
|
|
|
},
|
|
},
|
|
|
|
|
|
|
|
fenbanBtn () {
|
|
fenbanBtn () {
|
|
|
|
|
+ this.getFirAuditerByDept()
|
|
|
this.shenheForm.AnnualId = parseInt(this.annualId)
|
|
this.shenheForm.AnnualId = parseInt(this.annualId)
|
|
|
this.addshow = true
|
|
this.addshow = true
|
|
|
},
|
|
},
|
|
@@ -1403,12 +1429,12 @@
|
|
|
this.auditer = val
|
|
this.auditer = val
|
|
|
this.auditerName = name
|
|
this.auditerName = name
|
|
|
this.chooseAuditorVisible = false
|
|
this.chooseAuditorVisible = false
|
|
|
- this.auditOrgChang(this.auditer)
|
|
|
|
|
|
|
+ // this.auditOrgChang(this.auditer)
|
|
|
},
|
|
},
|
|
|
- auditOrgChang (val) {
|
|
|
|
|
|
|
+ auditOrgChang () {
|
|
|
let auditstepcode = 'SECOND_TRIAL'
|
|
let auditstepcode = 'SECOND_TRIAL'
|
|
|
api
|
|
api
|
|
|
- .getAuditerByFirst(val, auditstepcode, this.$axios)
|
|
|
|
|
|
|
+ .getAuditerByFirst(this.auditer, auditstepcode, this.$axios)
|
|
|
.then(res => {
|
|
.then(res => {
|
|
|
this.secauditerOptions = res.data.item
|
|
this.secauditerOptions = res.data.item
|
|
|
})
|
|
})
|
|
@@ -1615,10 +1641,8 @@
|
|
|
InfomainId: this.annualId
|
|
InfomainId: this.annualId
|
|
|
}
|
|
}
|
|
|
annualapi.GetChangeEntity(Id, params, this.$axios).then(res => {
|
|
annualapi.GetChangeEntity(Id, params, this.$axios).then(res => {
|
|
|
- console.log(res, '=====')
|
|
|
|
|
this.copyformdata = _.cloneDeep(res.data[0])
|
|
this.copyformdata = _.cloneDeep(res.data[0])
|
|
|
this.formData = res.data[1]
|
|
this.formData = res.data[1]
|
|
|
- console.log(this.copyformdata, 'this.copyformdata')
|
|
|
|
|
this.CityAry = []
|
|
this.CityAry = []
|
|
|
this.CityAry.push(this.formData.Province)
|
|
this.CityAry.push(this.formData.Province)
|
|
|
this.CityAry.push(this.formData.City)
|
|
this.CityAry.push(this.formData.City)
|
|
@@ -1822,7 +1846,6 @@
|
|
|
MInfoId: this.annualId,
|
|
MInfoId: this.annualId,
|
|
|
InfochangeForm: this.infochangeItemList
|
|
InfochangeForm: this.infochangeItemList
|
|
|
}
|
|
}
|
|
|
- console.log('----', AllInfochangeItemList)
|
|
|
|
|
annualapi.addInfoChangeItemCh(AllInfochangeItemList, this.$axios).then(res => {
|
|
annualapi.addInfoChangeItemCh(AllInfochangeItemList, this.$axios).then(res => {
|
|
|
if (res.data.code === 0) {
|
|
if (res.data.code === 0) {
|
|
|
// 保存成功后,初始化数据,变成修改
|
|
// 保存成功后,初始化数据,变成修改
|