|
|
@@ -2,9 +2,10 @@
|
|
|
.edit{
|
|
|
button{
|
|
|
position: relative;
|
|
|
+ width: 100%;
|
|
|
}
|
|
|
- .el-input{
|
|
|
- width: 300px;
|
|
|
+ .el-input,.el-select,.el-cascader{
|
|
|
+ width: 100% !important;
|
|
|
position: relative;
|
|
|
}
|
|
|
.gou{
|
|
|
@@ -69,14 +70,18 @@
|
|
|
</el-form-item>
|
|
|
<el-form-item label="发票类型">
|
|
|
<el-select v-model="form.bill_type" placeholder="请选择" clearable>
|
|
|
- <el-option label="不需要发票" :value="0"></el-option>
|
|
|
- <el-option label="个人发票" :value="1"></el-option>
|
|
|
- <el-option label="公司发票" :value="2"></el-option>
|
|
|
+ <el-option label="不需要发票" :value="1"></el-option>
|
|
|
+ <el-option label="个人发票" :value="2"></el-option>
|
|
|
+ <el-option label="企业发票" :value="3"></el-option>
|
|
|
</el-select>
|
|
|
</el-form-item>
|
|
|
- <el-form-item label="发票方式">
|
|
|
+ <el-form-item label="发票方式" v-if='form.bill_type != 1'>
|
|
|
<el-radio v-model="form.bill_type" label="1">纸质发票</el-radio>
|
|
|
</el-form-item>
|
|
|
+ <el-form-item label="税号" v-if='form.bill_type == 3'>
|
|
|
+ <span v-show="form.bill_no" class="gou">✓</span>
|
|
|
+ <el-input v-model="form.bill_no"></el-input>
|
|
|
+ </el-form-item>
|
|
|
<el-form-item label="领证方式">
|
|
|
<el-radio-group v-model="form.receive_card">
|
|
|
<el-radio label="自取">自取</el-radio>
|
|
|
@@ -94,32 +99,39 @@
|
|
|
<el-input v-model="form.address"></el-input>
|
|
|
</el-form-item>
|
|
|
|
|
|
- <el-form-item label="正面照">
|
|
|
+ <el-form-item label="">
|
|
|
<template v-if="form.idnoimg_face" >
|
|
|
<img width="150" :src="form.idnoimg_face" alt=""> <br>
|
|
|
</template>
|
|
|
- <el-button type="warning">上传 <input @change="upload('idnoimg_face')" id='idnoimg_face' type="file"> </el-button>
|
|
|
+ <el-button icon="el-icon-upload" type="warning">上传正面照 <input @change="upload('idnoimg_face')" id='idnoimg_face' type="file"> </el-button>
|
|
|
</el-form-item>
|
|
|
- <el-form-item label="反面照">
|
|
|
+ <el-form-item label="">
|
|
|
<template v-if="form.idnoimg_back" >
|
|
|
<img width="150" :src="form.idnoimg_back" alt=""> <br>
|
|
|
</template>
|
|
|
- <el-button type="warning">上传 <input @change="upload('idnoimg_back')" id='idnoimg_back' type="file"> </el-button>
|
|
|
+ <el-button icon="el-icon-upload" type="warning">上传反面照 <input @change="upload('idnoimg_back')" id='idnoimg_back' type="file"> </el-button>
|
|
|
</el-form-item>
|
|
|
- <el-form-item label="上半身照">
|
|
|
+ <el-form-item label="">
|
|
|
<template v-if="form.halfbody_img" >
|
|
|
<img width="150" :src="form.halfbody_img" alt=""> <br>
|
|
|
</template>
|
|
|
- <el-button type="warning">上传 <input @change="upload('halfbody_img')" id='halfbody_img' type="file"> </el-button>
|
|
|
+ <el-button icon="el-icon-upload" type="warning">上传上半身照 <input @change="upload('halfbody_img')" id='halfbody_img' type="file"> </el-button>
|
|
|
</el-form-item>
|
|
|
- <el-form-item label="学历照">
|
|
|
+ <el-form-item label="">
|
|
|
<template v-if="form.education_img" >
|
|
|
<img width="150" :src="form.education_img" alt=""> <br>
|
|
|
</template>
|
|
|
- <el-button type="warning">上传 <input @change="upload('education_img')" id='education_img' type="file"> </el-button>
|
|
|
+ <el-button icon="el-icon-upload" type="warning">上传学历照 <input @change="upload('education_img')" id='education_img' type="file"> </el-button>
|
|
|
</el-form-item>
|
|
|
+ <el-form-item label="" v-if='form.train_type == "换证"'>
|
|
|
+ <template v-if="form.oldcard_img" >
|
|
|
+ <img width="150" :src="form.oldcard_img" alt=""> <br>
|
|
|
+ </template>
|
|
|
+ <el-button icon="el-icon-upload" type="warning">上传换证证件照 <input @change="upload('oldcard_img')" id='oldcard_img' type="file"> </el-button>
|
|
|
+ </el-form-item>
|
|
|
+
|
|
|
<el-form-item label=" " >
|
|
|
- <el-button @click="save" style="width:300px" type="primary">保存</el-button>
|
|
|
+ <el-button @click="save" type="primary">修改报名</el-button>
|
|
|
</el-form-item>
|
|
|
</el-form>
|
|
|
</div>
|
|
|
@@ -167,7 +179,7 @@ export default {
|
|
|
this.$api.updateSign(parm).then(res=>{
|
|
|
if(res.data.code==0){
|
|
|
this.$message({message: '修改成功!',type: 'success'});
|
|
|
- // this.$router.push({path:'/new'})
|
|
|
+ this.$router.go(-1);
|
|
|
}else{
|
|
|
this.$message.error(res.data.message);
|
|
|
}
|