承包商人员出场批量审核功能增加
This commit is contained in:
parent
189c97843b
commit
9c67e950f9
|
|
@ -6,12 +6,12 @@ const cbc_iv = CryptoJS.enc.Utf8.parse('1234567812345678')
|
|||
* 默认参数需要加密
|
||||
* @type {boolean}
|
||||
*/
|
||||
const jia_mi = true
|
||||
const jia_mi = false
|
||||
/**
|
||||
* 默认后台会自动加密
|
||||
* @type {boolean}
|
||||
*/
|
||||
const jie_mi = true
|
||||
const jie_mi = false
|
||||
/**
|
||||
* 加密
|
||||
* @param word
|
||||
|
|
|
|||
|
|
@ -36,7 +36,7 @@
|
|||
</el-form-item>
|
||||
</el-form>
|
||||
<el-table v-loading="loading" :data="personList" @selection-change="handleSelectionChange">
|
||||
<el-table-column type="selection" width="55" align="center" />
|
||||
<el-table-column type="selection" width="55" align="center" :selectable="row => row.status == 1" />
|
||||
<el-table-column
|
||||
type="index"
|
||||
width="55"
|
||||
|
|
@ -154,6 +154,31 @@
|
|||
<bns-kkFile-preview :items="kkFilePreview"></bns-kkFile-preview>
|
||||
</div>
|
||||
</el-dialog>
|
||||
|
||||
<!-- 批量审核弹框 -->
|
||||
<el-dialog title="批量审核" :visible.sync="batchAuditing" width="40%" append-to-body>
|
||||
<el-form :model="batchAuditingForm" ref="batchAuditingRef" size="small" label-width="auto">
|
||||
<el-form-item label="审核结果" prop="name">
|
||||
<el-radio v-model="batchAuditingForm.isResult" :label="1">通过</el-radio>
|
||||
<el-radio v-model="batchAuditingForm.isResult" :label="2">驳回</el-radio>
|
||||
</el-form-item>
|
||||
<el-form-item label="审核意见" prop="name">
|
||||
<el-input
|
||||
type="textarea"
|
||||
maxlength="100"
|
||||
show-word-limit
|
||||
placeholder="请输入审核意见"
|
||||
:autosize="{ minRows: 2, maxRows: 4 }"
|
||||
v-model="batchAuditingForm.isOpinion"
|
||||
></el-input>
|
||||
</el-form-item>
|
||||
</el-form>
|
||||
|
||||
<el-row style="text-align: right">
|
||||
<el-button size="mini" @click="onCancelBatchAuditing">取消</el-button>
|
||||
<el-button size="mini" type="primary" @click="onSubmitBatchAuditing">确定</el-button>
|
||||
</el-row>
|
||||
</el-dialog>
|
||||
</div>
|
||||
</template>
|
||||
<script>
|
||||
|
|
@ -218,6 +243,11 @@ export default {
|
|||
|
||||
// 批量审核选择的数据源
|
||||
selectList: [],
|
||||
batchAuditing: false,
|
||||
batchAuditingForm: {
|
||||
isResult: 1, // 审核结果
|
||||
isOpinion: '', // 审核意见
|
||||
},
|
||||
}
|
||||
},
|
||||
created() {
|
||||
|
|
@ -417,10 +447,41 @@ export default {
|
|||
this.$modal.msgError('请勾选需要审核的数据!')
|
||||
return
|
||||
}
|
||||
this.batchAuditing = true
|
||||
console.log(this.selectList, 'this.selectList')
|
||||
// const res = batchAuditingApi()
|
||||
},
|
||||
|
||||
// 批量审核弹框取消按钮
|
||||
async onCancelBatchAuditing() {
|
||||
this.batchAuditingForm.isResult = 1
|
||||
this.batchAuditingForm.isOpinion = ''
|
||||
|
||||
const batchAuditingParams = this.selectList.map(e => {
|
||||
return {
|
||||
reason: this.batchAuditingForm.isOpinion,
|
||||
agree: this.batchAuditingForm.isResult + '',
|
||||
uuid: e.uuid,
|
||||
taskId: e.taskId,
|
||||
procInstId: e.procInsId,
|
||||
contUuid: e.contUuid,
|
||||
showType: 2,
|
||||
isExamine: true,
|
||||
btnShow: true,
|
||||
finalCheck: e.finalCheck,
|
||||
}
|
||||
})
|
||||
const res = await batchAuditingApi(batchAuditingParams)
|
||||
if (res.code === 200) {
|
||||
this.$modal.msgSuccess('审核成功!')
|
||||
this.getList()
|
||||
}
|
||||
},
|
||||
// 批量审核弹框确定按钮
|
||||
onSubmitBatchAuditing() {
|
||||
this.batchAuditingForm.isResult = 1
|
||||
this.batchAuditingForm.isOpinion = ''
|
||||
},
|
||||
},
|
||||
}
|
||||
</script>
|
||||
<style scoped lang="scss"></style>
|
||||
|
|
|
|||
|
|
@ -39,9 +39,9 @@ module.exports = {
|
|||
// target: 'http://192.168.0.176:18080',
|
||||
// target: 'http://192.168.0.58:19090', // 杰
|
||||
// target: 'http://192.168.0.14:18080', // 测试环境
|
||||
target: 'http://218.21.27.6:1999/prod-api', // 生产环境
|
||||
// target: 'http://218.21.27.6:1999/prod-api', // 生产环境
|
||||
// target: 'http://192.168.0.38:18080', // 郝志权
|
||||
// target: 'http://192.168.2.125:18080', // 梁超
|
||||
target: 'http://192.168.2.125:18080', // 梁超
|
||||
changeOrigin: true,
|
||||
pathRewrite: {
|
||||
['^' + process.env.VUE_APP_BASE_API]: '',
|
||||
|
|
|
|||
Loading…
Reference in New Issue