parent
7b07159179
commit
1cd73243f6
|
@ -1,10 +1,10 @@
|
|||
<template>
|
||||
<div>
|
||||
<el-dialog v-loading = "loading" :visible.sync="visible" :append-to-body="appendToBody" :before-close="beforeClose" title="审批" width="1200px" destroy-on-close>
|
||||
<el-form ref="form" :model="form" :rules="rules" label-width="200px" label-position="right" type="flex">
|
||||
<el-form ref="form" :model="form" :rules="rules" label-width="210px" label-position="right" type="flex">
|
||||
<el-row :gutter="12">
|
||||
<el-col :span="12">
|
||||
<el-form-item prop="APPOINT_DEPARTMENT_ID" label="指定监管部门:">
|
||||
<el-form-item prop="APPOINT_DEPARTMENT_ID" label="指定辖区单位主管部门:">
|
||||
<Treeselect
|
||||
:options="departmentTree"
|
||||
:normalizer="normalizer"
|
||||
|
@ -18,7 +18,7 @@
|
|||
</el-form-item>
|
||||
</el-col>
|
||||
<el-col :span="12">
|
||||
<el-form-item prop="APPOINT_USER_ID" label="指定监管部门审批人:">
|
||||
<el-form-item prop="APPOINT_USER_ID" label="指定辖区单位主管部门审批人:">
|
||||
<el-select v-model="form.user" style="width: 300px" placeholder="请选择" @change="chooseUser">
|
||||
<el-option v-for="item in peopleList" :key="item.USER_ID" :value="JSON.stringify(item)" :label="item.NAME"/>
|
||||
</el-select>
|
||||
|
@ -32,7 +32,7 @@
|
|||
:file-list.sync="form.APPOINT_ANNEX"
|
||||
:multiple="false"
|
||||
:accept="'.pdf,.jpg,.png,doc,docx'"
|
||||
:limit="1"
|
||||
:limit="20"
|
||||
:size="1024"
|
||||
:upload-type="1"/>
|
||||
</el-form-item>
|
||||
|
@ -133,7 +133,9 @@ export default {
|
|||
Object.keys(this.form).map(key => {
|
||||
formData.append(key, this.form[key])
|
||||
})
|
||||
formData.append('weiTuoShu', this.form.APPOINT_ANNEX[0].raw)
|
||||
for (let i = 0; i < this.form.APPOINT_ANNEX.length; i++) {
|
||||
formData.append('weiTuoShu', this.form.APPOINT_ANNEX[i].raw)
|
||||
}
|
||||
upload('/xgf/user/attorney', formData)
|
||||
.then((data) => {
|
||||
this.$message.success('推送成功')
|
||||
|
|
|
@ -43,7 +43,7 @@
|
|||
<template slot-scope="{row}">
|
||||
<el-button type="primary" icon="el-icon-edit" size="mini" @click="handleShow(row)">详情</el-button>
|
||||
<el-button v-if="row.power_flag === '1'" type="primary" icon="el-icon-s-claim" size="mini" @click="approve([row])">审批</el-button>
|
||||
<el-button v-if="row.power_flag === '1' && row.FLOWS_STEP === 1" type="primary" icon="el-icon-s-claim" size="mini" @click="entrust([row])">委托制单单位审批</el-button>
|
||||
<el-button v-if="row.power_flag === '1' && row.FLOWS_STEP === 1" type="primary" icon="el-icon-s-claim" size="mini" @click="entrust([row])">委托辖区单位审批</el-button>
|
||||
<el-button v-if="false" type="success" icon="el-icon-edit" size="mini" @click="getUserInfo(row)">电子合格证</el-button>
|
||||
</template>
|
||||
</el-table-column>
|
||||
|
|
|
@ -139,12 +139,20 @@
|
|||
</table>
|
||||
<div v-if="userDetailForm.ANNEX" style="padding-bottom: 10px">
|
||||
<div class="level-title">
|
||||
<h1>承诺书</h1>
|
||||
<h1>相关方承诺书</h1>
|
||||
</div>
|
||||
<div>
|
||||
<el-button icon="el-icon-download" type="primary" @click = "download(userDetailForm.ANNEX)">下载附件</el-button>
|
||||
</div>
|
||||
</div>
|
||||
<div v-if="userDetailForm.COMMITMENT_LETTER" style="padding-bottom: 10px">
|
||||
<div class="level-title">
|
||||
<h1>集团单位承诺书</h1>
|
||||
</div>
|
||||
<div>
|
||||
<el-button icon="el-icon-download" type="primary" @click = "download(userDetailForm.COMMITMENT_LETTER)">下载附件</el-button>
|
||||
</div>
|
||||
</div>
|
||||
<div v-if="userDetailForm.ATTORNEY" style="padding-bottom: 10px">
|
||||
<div class="level-title">
|
||||
<h1>委托书</h1>
|
||||
|
|
Loading…
Reference in New Issue