|
|
@@ -114,6 +114,28 @@
|
|
|
</div>
|
|
|
</el-dialog>
|
|
|
|
|
|
+ <!-- 专业科室提交评价 -->
|
|
|
+ <el-dialog title="提交" :close-on-click-modal="false" :visible.sync="dialogBusinessOfficeSeparateSubmitVisible">
|
|
|
+ <el-form :model="shenheForm" label-width="100px" ref="shenheForm">
|
|
|
+ <el-form-item label="审批人">
|
|
|
+ <el-select ref="selectAuditer" v-model="ProfessionalAudit" placeholder="请选择" style="width: 100%" filterable
|
|
|
+ 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-form-item label="意见">
|
|
|
+ <el-input type="textarea" v-model="shenheForm.AuditorRemark" placeholder="请输入审核意见"></el-input>
|
|
|
+ </el-form-item>
|
|
|
+ </el-form>
|
|
|
+ <div slot="footer" class="dialog-footer" style="margin-top: -25px">
|
|
|
+ <el-button size="small" @click="dialogBusinessOfficeSeparateSubmitVisible = false">取 消</el-button>
|
|
|
+ <el-button type="primary" size="small" @click="businessOfficeSeparateSubmitMakeSure()" :loading="btnloading">确
|
|
|
+ 定
|
|
|
+ </el-button>
|
|
|
+ </div>
|
|
|
+ </el-dialog>
|
|
|
+
|
|
|
<!-- 专业科室接收 批量审批 -->
|
|
|
<el-dialog title="分配" :close-on-click-modal="false" :visible.sync="dialogBusinessOfficeSeparateBatchAuditVisible">
|
|
|
<el-form :model="shenheForm" label-width="100px" ref="shenheForm">
|
|
|
@@ -196,6 +218,7 @@ export default {
|
|
|
dialogVisibleCom: false, // 初审
|
|
|
dialogCommonAuditMakeSureVisible: false, // 复审
|
|
|
dialogBusinessOfficeSeparateAuditVisible: false, // 专业科室接收
|
|
|
+ dialogBusinessOfficeSeparateSubmitVisible: false, // 专业科室提交评价审批
|
|
|
dialogBusinessOfficeSeparateBatchAuditVisible: false, // 专业科室接收批量审批
|
|
|
|
|
|
chooseAuditorVisibleFen: false,
|
|
|
@@ -263,6 +286,15 @@ export default {
|
|
|
console.error(err)
|
|
|
})
|
|
|
},
|
|
|
+ // 业务处室提交审核获取审批人
|
|
|
+ auditOrgChangeForBusiness () {
|
|
|
+ let auditStepCode = 'SECOND_TRIAL'
|
|
|
+ api.getAuditerByDept(this.authUser.Profile.DepartmentId, auditStepCode, this.$axios).then(res => {
|
|
|
+ this.secauditerOptions = res.data.item
|
|
|
+ }).catch(err => {
|
|
|
+ console.error(err)
|
|
|
+ })
|
|
|
+ },
|
|
|
// 业务处室分办 单条(待办入口)
|
|
|
businessOfficeSeparateAuditMakeSure () {
|
|
|
if (this.ProfessionalAudit === '') {
|
|
|
@@ -306,6 +338,41 @@ export default {
|
|
|
console.error(err)
|
|
|
})
|
|
|
},
|
|
|
+ // 业务处室提交评价审核
|
|
|
+ businessOfficeSeparateSubmitMakeSure () {
|
|
|
+ if (this.ProfessionalAudit === '') {
|
|
|
+ this.$message({
|
|
|
+ type: 'warning',
|
|
|
+ message: '请选择审批人!'
|
|
|
+ })
|
|
|
+ return
|
|
|
+ }
|
|
|
+ let params = {
|
|
|
+ ProfessionalAudit: this.ProfessionalAudit,
|
|
|
+ AuditRemark: this.shenheForm.AuditorRemark
|
|
|
+ }
|
|
|
+ this.btnloading = true
|
|
|
+ let _this = this
|
|
|
+ apiOilcontract.submitReviewAuditByBusiness(this.formData.Id, params, this.$axios).then(res => {
|
|
|
+ if (res.data.code === 0) {
|
|
|
+ this.$message({
|
|
|
+ type: 'success',
|
|
|
+ message: res.data.message
|
|
|
+ })
|
|
|
+ _this.$emit('refreshPage', {})
|
|
|
+ // _this.$refs['WfHistory'].getHistoryTask()
|
|
|
+ } else {
|
|
|
+ this.$message({
|
|
|
+ type: 'warning',
|
|
|
+ message: res.data.message
|
|
|
+ })
|
|
|
+ }
|
|
|
+ _this.dialogBusinessOfficeSeparateSubmitVisible = false
|
|
|
+ _this.btnloading = false
|
|
|
+ }).catch(err => {
|
|
|
+ console.error(err)
|
|
|
+ })
|
|
|
+ },
|
|
|
// 日常评价业务处室分办 批量审批
|
|
|
businessOfficeSeparateBatchAuditMakeSure () {
|
|
|
if (this.ProfessionalAudit === '') {
|