|
@@ -27,18 +27,12 @@
|
|
|
<el-button type="primary" style="margin-left: 8px;" size="mini" @click="profAudit()" v-if="AnnualStatus == 3">
|
|
<el-button type="primary" style="margin-left: 8px;" size="mini" @click="profAudit()" v-if="AnnualStatus == 3">
|
|
|
专业审核分配</el-button> -->
|
|
专业审核分配</el-button> -->
|
|
|
<el-button type="primary" size="mini" style="margin-right: 8px" @click="itemsshow">查看变更项</el-button>
|
|
<el-button type="primary" size="mini" style="margin-right: 8px" @click="itemsshow">查看变更项</el-button>
|
|
|
- <el-button type="primary" size="mini" style="margin-left: 8px" @click="annualAudit()"
|
|
|
|
|
- v-if="auditBtn && AnnualStatus == '1'">初审</el-button>
|
|
|
|
|
- <el-button type="primary" size="mini" style="margin-left: 8px" @click="annualAudit()"
|
|
|
|
|
- v-if="auditBtn && AnnualStatus == '2'">复审</el-button>
|
|
|
|
|
- <el-button type="primary" size="mini" style="margin-left: 8px" @click="profAudit()"
|
|
|
|
|
- v-if="auditBtn && AnnualStatus == '3'">提交专业审核</el-button>
|
|
|
|
|
- <el-button type="primary" size="mini" style="margin-left: 8px" @click="annualAudit()"
|
|
|
|
|
- v-if="auditBtn && AnnualStatus == '4'">专业审核</el-button>
|
|
|
|
|
- <el-button type="primary" size="mini" style="margin-left: 8px" @click="annualAudit()"
|
|
|
|
|
- v-if="auditBtn && AnnualStatus == '5'">审批</el-button>
|
|
|
|
|
- <el-button type="primary" style="margin-left: 8px;" size="mini" @click="fenbanBtn" v-if="auditBtn && AnnualStatus == '10'">
|
|
|
|
|
- 提交</el-button>
|
|
|
|
|
|
|
+ <el-button type="primary" size="mini" style="margin-left: 8px" @click="commonAuditClick()" v-if="auditBtn && AnnualStatus == '1'">初审</el-button>
|
|
|
|
|
+ <el-button type="primary" size="mini" style="margin-left: 8px" @click="commonAuditClick()" v-if="auditBtn && AnnualStatus == '2'">复审</el-button>
|
|
|
|
|
+ <el-button type="primary" size="mini" style="margin-left: 8px" @click="profAudit()" v-if="auditBtn && AnnualStatus == '3'">提交专业审核</el-button> <!-- 未用到 -->
|
|
|
|
|
+ <el-button type="primary" size="mini" style="margin-left: 8px" @click="annualAudit()" v-if="auditBtn && AnnualStatus == '4'">专业审核</el-button><!-- 未用到 -->
|
|
|
|
|
+ <el-button type="primary" size="mini" style="margin-left: 8px" @click="commonAuditClick()" v-if="auditBtn && AnnualStatus == '5'">审批</el-button><!-- 企业法规处 -->
|
|
|
|
|
+ <el-button type="primary" style="margin-left: 8px;" size="mini" @click="secUnitSeparateAuditClick" v-if="auditBtn && AnnualStatus == '10'">提交</el-button>
|
|
|
<el-button type="primary" size="mini" style="margin-left: 8px;" onclick="window.history.go(-1)">返回</el-button>
|
|
<el-button type="primary" size="mini" style="margin-left: 8px;" onclick="window.history.go(-1)">返回</el-button>
|
|
|
</span>
|
|
</span>
|
|
|
</div>
|
|
</div>
|
|
@@ -826,6 +820,25 @@
|
|
|
</div>
|
|
</div>
|
|
|
</el-dialog>
|
|
</el-dialog>
|
|
|
|
|
|
|
|
|
|
+ <el-dialog title="审核" :visible.sync="dialogCommonAuditMakeSureVisible">
|
|
|
|
|
+ <el-form :model="shenheForm" label-width="100px" ref="shenheForm">
|
|
|
|
|
+ <el-form-item label="审核状态">
|
|
|
|
|
+ <template>
|
|
|
|
|
+ <el-radio class="radio" v-model="shenheForm.SuccessStatus" :label="1" @change="radioChange">通过</el-radio>
|
|
|
|
|
+ <el-radio class="radio" v-model="shenheForm.SuccessStatus" :label="0" @change="radioChange">未通过</el-radio>
|
|
|
|
|
+ </template>
|
|
|
|
|
+ </el-form-item>
|
|
|
|
|
+ <el-form-item label="意见" :rules="[{ required: true, message: '请输入审批意见', trigger: 'blur' }]">
|
|
|
|
|
+ <el-input type="textarea" v-model="shenheForm.AuditorRemark" :placeholder="textplaceholder">
|
|
|
|
|
+ </el-input>
|
|
|
|
|
+ </el-form-item>
|
|
|
|
|
+ </el-form>
|
|
|
|
|
+ <div slot="footer" class="dialog-footer" style="margin-top: -25px">
|
|
|
|
|
+ <el-button size="small" @click="dialogCommonAuditMakeSureVisible = false">取 消</el-button>
|
|
|
|
|
+ <el-button type="primary" size="small" @click="commonAuditMakeSure()" :loading="loading">确 定</el-button>
|
|
|
|
|
+ </div>
|
|
|
|
|
+ </el-dialog>
|
|
|
|
|
+
|
|
|
<el-dialog title="分配" :visible.sync="dialogProfAudit" width="420px">
|
|
<el-dialog title="分配" :visible.sync="dialogProfAudit" width="420px">
|
|
|
<el-form ref="searchForm" label-width="110px">
|
|
<el-form ref="searchForm" label-width="110px">
|
|
|
<el-form-item label="审批人">
|
|
<el-form-item label="审批人">
|
|
@@ -908,6 +921,65 @@
|
|
|
</span>
|
|
</span>
|
|
|
<br>
|
|
<br>
|
|
|
</el-dialog>
|
|
</el-dialog>
|
|
|
|
|
+ <el-dialog title="分办" :visible.sync="dialogSecUnitSeparateVisible" width="520px">
|
|
|
|
|
+ <el-form label-width="90px" :model="shenheForm" ref="EntityFormref">
|
|
|
|
|
+ <el-row>
|
|
|
|
|
+ <el-col :span="24">
|
|
|
|
|
+ <el-form-item label="审批状态">
|
|
|
|
|
+ <el-radio-group v-model="shenheForm.SuccessStatus">
|
|
|
|
|
+ <el-radio :label="1">通过</el-radio>
|
|
|
|
|
+ <el-radio :label="0">退回</el-radio>
|
|
|
|
|
+ </el-radio-group>
|
|
|
|
|
+ </el-form-item>
|
|
|
|
|
+ </el-col>
|
|
|
|
|
+ <el-col :span="24" v-if="shenheForm.SuccessStatus == 1">
|
|
|
|
|
+ <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-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 label="复审人员">
|
|
|
|
|
+ <el-select ref="selectAuditer" v-model="fushenauditer" placeholder="请选择复审人" style="width: 100%" filterable
|
|
|
|
|
+ allow-create default-first-option>
|
|
|
|
|
+ <el-option v-for="item in secauditerOptions" :key="item.Id" :label="item.Realname" :value="item.Id">
|
|
|
|
|
+ </el-option>
|
|
|
|
|
+ </el-select>
|
|
|
|
|
+ </el-form-item>
|
|
|
|
|
+ </el-col>
|
|
|
|
|
+ <el-col :span="24" v-if="shenheForm.SuccessStatus == 1">
|
|
|
|
|
+ <el-form-item label="备注">
|
|
|
|
|
+ <el-input v-model="shenheForm.AuditorRemark" type="textarea" placeholder="请输入备注内容">
|
|
|
|
|
+ </el-input>
|
|
|
|
|
+ </el-form-item>
|
|
|
|
|
+ </el-col>
|
|
|
|
|
+ <el-col :span="24" v-if="shenheForm.SuccessStatus == 0">
|
|
|
|
|
+ <el-form-item label="退回原因">
|
|
|
|
|
+ <el-input v-model="shenheForm.AuditorRemark" type="textarea" placeholder="退回意见不能少于5个字">
|
|
|
|
|
+ </el-input>
|
|
|
|
|
+ </el-form-item>
|
|
|
|
|
+ </el-col>
|
|
|
|
|
+ </el-row>
|
|
|
|
|
+ </el-form>
|
|
|
|
|
+ <span style="float: right;margin-top:-10px;">
|
|
|
|
|
+ <el-button size="small" @click="dialogSecUnitSeparateVisible = false">取 消</el-button>
|
|
|
|
|
+ <el-button type="primary" size="small" @click="secUnitSeparateAuditMakeSure()" :loading="loading">确 定</el-button>
|
|
|
|
|
+ </span>
|
|
|
|
|
+ <br>
|
|
|
|
|
+ </el-dialog>
|
|
|
<el-dialog title="变更项查看" :visible.sync="myitemsshow" width="780px">
|
|
<el-dialog title="变更项查看" :visible.sync="myitemsshow" width="780px">
|
|
|
<el-table :data="InfoData" border style="width: 100%">
|
|
<el-table :data="InfoData" border style="width: 100%">
|
|
|
<el-table-column align="center" prop="SelectItemName" label="变更项目">
|
|
<el-table-column align="center" prop="SelectItemName" label="变更项目">
|
|
@@ -951,8 +1023,8 @@
|
|
|
import ChooseAuditor from '@/components/oilsupplier/chooseauditor'
|
|
import ChooseAuditor from '@/components/oilsupplier/chooseauditor'
|
|
|
import _ from 'lodash'
|
|
import _ from 'lodash'
|
|
|
// v-viewer
|
|
// v-viewer
|
|
|
- import Vue from 'vue';
|
|
|
|
|
- import Viewer from 'v-viewer'
|
|
|
|
|
|
|
+ import Vue from 'vue'
|
|
|
|
|
+import Viewer from 'v-viewer'
|
|
|
import 'viewerjs/dist/viewer.css'
|
|
import 'viewerjs/dist/viewer.css'
|
|
|
Vue.use(Viewer)
|
|
Vue.use(Viewer)
|
|
|
Viewer.setDefaults({
|
|
Viewer.setDefaults({
|
|
@@ -1157,6 +1229,8 @@ export default {
|
|
|
canUpdateSupplier: true,
|
|
canUpdateSupplier: true,
|
|
|
dictData: null,
|
|
dictData: null,
|
|
|
applyLoading: false,
|
|
applyLoading: false,
|
|
|
|
|
+ dialogCommonAuditMakeSureVisible: false,
|
|
|
|
|
+ dialogSecUnitSeparateVisible: false,
|
|
|
userOptions: [],
|
|
userOptions: [],
|
|
|
subfileList: [],
|
|
subfileList: [],
|
|
|
majorDept: [100000000, 100000001, 100000071],
|
|
majorDept: [100000000, 100000001, 100000071],
|
|
@@ -1479,20 +1553,20 @@ export default {
|
|
|
},
|
|
},
|
|
|
methods: {
|
|
methods: {
|
|
|
|
|
|
|
|
- imgFormat(val,index){
|
|
|
|
|
- if(val !=null && val != undefined && val !=''){
|
|
|
|
|
|
|
+ imgFormat (val, index) {
|
|
|
|
|
+ if (val != null && val != undefined && val != '') {
|
|
|
let fileurlall = val.split('$')[index]
|
|
let fileurlall = val.split('$')[index]
|
|
|
let fileurl = fileurlall.split('|')
|
|
let fileurl = fileurlall.split('|')
|
|
|
- if(fileurl[1] != null && fileurl[1] !='' && fileurl[1] != undefined){
|
|
|
|
|
- let Format = fileurl[1].split(".")
|
|
|
|
|
- if(Format[1]!=null && Format[1] !='' && Format[1] != undefined){
|
|
|
|
|
- let pictureFormat = Format[1];
|
|
|
|
|
- if("jpg"== pictureFormat || "bmp" ==pictureFormat || "png" ==pictureFormat || "gif" ==pictureFormat|| "jpeg" ==pictureFormat){
|
|
|
|
|
- return false;
|
|
|
|
|
|
|
+ if (fileurl[1] != null && fileurl[1] != '' && fileurl[1] != undefined) {
|
|
|
|
|
+ let Format = fileurl[1].split('.')
|
|
|
|
|
+ if (Format[1] != null && Format[1] != '' && Format[1] != undefined) {
|
|
|
|
|
+ let pictureFormat = Format[1]
|
|
|
|
|
+ if (pictureFormat == 'jpg' || pictureFormat == 'bmp' || pictureFormat == 'png' || pictureFormat == 'gif' || pictureFormat == 'jpeg') {
|
|
|
|
|
+ return false
|
|
|
}
|
|
}
|
|
|
}
|
|
}
|
|
|
}
|
|
}
|
|
|
- return true;
|
|
|
|
|
|
|
+ return true
|
|
|
}
|
|
}
|
|
|
},
|
|
},
|
|
|
// Tab
|
|
// Tab
|
|
@@ -1628,6 +1702,93 @@ export default {
|
|
|
this.shenheForm.AnnualId = parseInt(this.annualId)
|
|
this.shenheForm.AnnualId = parseInt(this.annualId)
|
|
|
this.addshow = true
|
|
this.addshow = true
|
|
|
},
|
|
},
|
|
|
|
|
+ // 二级单位分办
|
|
|
|
|
+ secUnitSeparateAuditClick () {
|
|
|
|
|
+ console.log('二级单位分办审批会话框')
|
|
|
|
|
+ this.getFirAuditerByDept()
|
|
|
|
|
+ this.shenheForm.AnnualId = parseInt(this.annualId)
|
|
|
|
|
+ this.dialogSecUnitSeparateVisible = true
|
|
|
|
|
+ },
|
|
|
|
|
+ // 二级单位分办审批参数检查 ⬇
|
|
|
|
|
+ secUnitSeparateAuditParamsCheck () {
|
|
|
|
|
+ if (this.shenheForm.SuccessStatus === 1) {
|
|
|
|
|
+ if (this.auditer === '') {
|
|
|
|
|
+ this.$message({
|
|
|
|
|
+ type: 'warning',
|
|
|
|
|
+ message: '请选择初审人!'
|
|
|
|
|
+ })
|
|
|
|
|
+ return
|
|
|
|
|
+ }
|
|
|
|
|
+ if (this.fushenauditer === '') {
|
|
|
|
|
+ this.$message({
|
|
|
|
|
+ type: 'warning',
|
|
|
|
|
+ message: '请选择复审人!'
|
|
|
|
|
+ })
|
|
|
|
|
+ return
|
|
|
|
|
+ }
|
|
|
|
|
+ if (this.shenheForm.AuditorRemark.trim().length < 1 && this.formData.Status === '5') {
|
|
|
|
|
+ this.$message({
|
|
|
|
|
+ type: 'warning',
|
|
|
|
|
+ message: '请填写审批意见!'
|
|
|
|
|
+ })
|
|
|
|
|
+ return
|
|
|
|
|
+ }
|
|
|
|
|
+ if (this.shenheForm.AuditorRemark.trim().length < 20 && this.formData.Status !== '3' && this.formData.Status !== '5' && this.formData.Status !== '10') {
|
|
|
|
|
+ this.$message({
|
|
|
|
|
+ type: 'warning',
|
|
|
|
|
+ message: '审批意见不能低于20个字符!'
|
|
|
|
|
+ })
|
|
|
|
|
+ return false
|
|
|
|
|
+ }
|
|
|
|
|
+ } else {
|
|
|
|
|
+ this.shenheForm.AuditorRemark = this.backRemark
|
|
|
|
|
+ if (this.shenheForm.AuditorRemark.trim().length < 5 && this.formData.Status !== '3' && this.formData.Status !== '5') {
|
|
|
|
|
+ this.$message({
|
|
|
|
|
+ type: 'warning',
|
|
|
|
|
+ message: '退回意见不能低于5个字符!'
|
|
|
|
|
+ })
|
|
|
|
|
+ return
|
|
|
|
|
+ }
|
|
|
|
|
+ if (this.shenheForm.AuditorRemark.trim().length < 1 && this.formData.Status === '5') {
|
|
|
|
|
+ this.$message({
|
|
|
|
|
+ type: 'warning',
|
|
|
|
|
+ message: '请填写退回意见!'
|
|
|
|
|
+ })
|
|
|
|
|
+ return false
|
|
|
|
|
+ }
|
|
|
|
|
+ }
|
|
|
|
|
+ },
|
|
|
|
|
+ // 二级单位分办审批结果确认 ⬇
|
|
|
|
|
+ secUnitSeparateAuditMakeSure () {
|
|
|
|
|
+ console.log('二级单位分办审批结果确认')
|
|
|
|
|
+ this.secUnitSeparateAuditParamsCheck()
|
|
|
|
|
+ this.loading = true
|
|
|
|
|
+ let params = {
|
|
|
|
|
+ FirstAudit: this.auditer,
|
|
|
|
|
+ SecondAudit: this.fushenauditer,
|
|
|
|
|
+ AuditRemark: this.shenheForm.AuditorRemark
|
|
|
|
|
+ }
|
|
|
|
|
+ console.log('二级单位分办审批结果提交参数:', params)
|
|
|
|
|
+ annualapi.separateAuditEntity(this.shenheForm.AnnualId, params, this.$axios).then(res => {
|
|
|
|
|
+ if (res.data.code === 0) {
|
|
|
|
|
+ console.log('审批提交,成功返回')
|
|
|
|
|
+ this.initDatas()
|
|
|
|
|
+ this.$message({
|
|
|
|
|
+ type: 'success',
|
|
|
|
|
+ message: res.data.message
|
|
|
|
|
+ })
|
|
|
|
|
+ this.dialogSecUnitSeparateVisible = false
|
|
|
|
|
+ } else {
|
|
|
|
|
+ this.$message({
|
|
|
|
|
+ type: 'warning',
|
|
|
|
|
+ message: res.data.message
|
|
|
|
|
+ })
|
|
|
|
|
+ }
|
|
|
|
|
+ this.loading = false
|
|
|
|
|
+ }).catch(err => {
|
|
|
|
|
+ console.error(err)
|
|
|
|
|
+ })
|
|
|
|
|
+ },
|
|
|
orgtreeChange (val) {
|
|
orgtreeChange (val) {
|
|
|
this.userOptions = []
|
|
this.userOptions = []
|
|
|
if (val) {
|
|
if (val) {
|
|
@@ -2085,12 +2246,12 @@ export default {
|
|
|
} else if (val.ChangeInfo === '5000-01-01T23:59:59+08:00') {
|
|
} else if (val.ChangeInfo === '5000-01-01T23:59:59+08:00') {
|
|
|
return '永久'
|
|
return '永久'
|
|
|
} else if (val.SelectItem === 'HseTraining') {
|
|
} else if (val.SelectItem === 'HseTraining') {
|
|
|
- if (val.ChangeInfo === '0') {
|
|
|
|
|
- return '否'
|
|
|
|
|
- } else if (val.ChangeInfo === '1') {
|
|
|
|
|
- return '是'
|
|
|
|
|
- }
|
|
|
|
|
- } else {
|
|
|
|
|
|
|
+ if (val.ChangeInfo === '0') {
|
|
|
|
|
+ return '否'
|
|
|
|
|
+ } else if (val.ChangeInfo === '1') {
|
|
|
|
|
+ return '是'
|
|
|
|
|
+ }
|
|
|
|
|
+ } else {
|
|
|
let val2 = val.ChangeInfo.replace('T', ' ')
|
|
let val2 = val.ChangeInfo.replace('T', ' ')
|
|
|
return val2.substring(0, 10)
|
|
return val2.substring(0, 10)
|
|
|
}
|
|
}
|
|
@@ -2242,9 +2403,9 @@ export default {
|
|
|
_this.infochangeForm.SelectItemName = '行业特殊要求的认证证书'
|
|
_this.infochangeForm.SelectItemName = '行业特殊要求的认证证书'
|
|
|
} else if (_this.infochangeForm.SelectItem === 'BusinessScope') {
|
|
} else if (_this.infochangeForm.SelectItem === 'BusinessScope') {
|
|
|
_this.infochangeForm.SelectItemName = '营业范围'
|
|
_this.infochangeForm.SelectItemName = '营业范围'
|
|
|
- }else if (_this.infochangeForm.SelectItem === 'TjinNotify') {
|
|
|
|
|
|
|
+ } else if (_this.infochangeForm.SelectItem === 'TjinNotify') {
|
|
|
_this.infochangeForm.SelectItemName = '进津备案通知书'
|
|
_this.infochangeForm.SelectItemName = '进津备案通知书'
|
|
|
- }else if (_this.infochangeForm.SelectItem === 'QualifCert') {
|
|
|
|
|
|
|
+ } else if (_this.infochangeForm.SelectItem === 'QualifCert') {
|
|
|
_this.infochangeForm.SelectItemName = '企业资质证书(编号 级别)'
|
|
_this.infochangeForm.SelectItemName = '企业资质证书(编号 级别)'
|
|
|
} else if (_this.infochangeForm.SelectItem === 'Remark') {
|
|
} else if (_this.infochangeForm.SelectItem === 'Remark') {
|
|
|
_this.infochangeForm.SelectItemName = '备注'
|
|
_this.infochangeForm.SelectItemName = '备注'
|
|
@@ -2291,6 +2452,66 @@ export default {
|
|
|
this.shenheForm.AnnualId = parseInt(this.annualId)
|
|
this.shenheForm.AnnualId = parseInt(this.annualId)
|
|
|
this.dialogMakeSure = true
|
|
this.dialogMakeSure = true
|
|
|
},
|
|
},
|
|
|
|
|
+ commonAuditClick () {
|
|
|
|
|
+ console.log('审批公共会话框')
|
|
|
|
|
+ this.shenheForm.AnnualId = parseInt(this.annualId)
|
|
|
|
|
+ this.dialogCommonAuditMakeSureVisible = true
|
|
|
|
|
+ },
|
|
|
|
|
+ commonAuditMakeSure () {
|
|
|
|
|
+ console.log('审批结果公共提交')
|
|
|
|
|
+ let checkRes = this.commonAuditParamsCheck()
|
|
|
|
|
+ console.log(checkRes, '审批结果公共提交')
|
|
|
|
|
+ if (!checkRes) {
|
|
|
|
|
+ return false
|
|
|
|
|
+ }
|
|
|
|
|
+ this.loading = true
|
|
|
|
|
+ let params = {
|
|
|
|
|
+ result: this.shenheForm.SuccessStatus,
|
|
|
|
|
+ AuditRemark: this.shenheForm.AuditorRemark
|
|
|
|
|
+ }
|
|
|
|
|
+ console.log('审批结果提交参数:', params)
|
|
|
|
|
+ annualapi.commonAuditEntity(this.shenheForm.AnnualId, params, this.$axios).then(res => {
|
|
|
|
|
+ if (res.data.code === 0) {
|
|
|
|
|
+ console.log('审批提交,成功返回')
|
|
|
|
|
+ this.$message({
|
|
|
|
|
+ type: 'success',
|
|
|
|
|
+ message: res.data.message
|
|
|
|
|
+ })
|
|
|
|
|
+ this.$router.push('/')
|
|
|
|
|
+ } else {
|
|
|
|
|
+ this.$message({
|
|
|
|
|
+ type: 'warning',
|
|
|
|
|
+ message: res.data.message
|
|
|
|
|
+ })
|
|
|
|
|
+ }
|
|
|
|
|
+ this.dialogCommonAuditMakeSureVisible = false
|
|
|
|
|
+ this.loading = false
|
|
|
|
|
+ }).catch(err => {
|
|
|
|
|
+ console.error(err)
|
|
|
|
|
+ })
|
|
|
|
|
+ },
|
|
|
|
|
+ commonAuditParamsCheck () {
|
|
|
|
|
+ if (this.shenheForm.SuccessStatus === 1) {
|
|
|
|
|
+ if (this.shenheForm.AuditorRemark.trim().length < 20 && this.AnnualStatus && this.AnnualStatus !== '10') {
|
|
|
|
|
+ if (this.AnnualStatus !== '5') {
|
|
|
|
|
+ this.$message({
|
|
|
|
|
+ type: 'warning',
|
|
|
|
|
+ message: '审批意见不能低于20个字符!'
|
|
|
|
|
+ })
|
|
|
|
|
+ return false
|
|
|
|
|
+ }
|
|
|
|
|
+ }
|
|
|
|
|
+ } else {
|
|
|
|
|
+ if (this.shenheForm.AuditorRemark.trim().length < 5) {
|
|
|
|
|
+ this.$message({
|
|
|
|
|
+ type: 'warning',
|
|
|
|
|
+ message: '退回意见不能低于5个字符!'
|
|
|
|
|
+ })
|
|
|
|
|
+ return false
|
|
|
|
|
+ }
|
|
|
|
|
+ }
|
|
|
|
|
+ return true
|
|
|
|
|
+ },
|
|
|
profAudit () {
|
|
profAudit () {
|
|
|
this.shenheForm.AnnualId = parseInt(this.annualId)
|
|
this.shenheForm.AnnualId = parseInt(this.annualId)
|
|
|
this.auditOrgChange()
|
|
this.auditOrgChange()
|