|
@@ -11,42 +11,12 @@
|
|
:model="ruleForm"
|
|
:model="ruleForm"
|
|
:rules="rules"
|
|
:rules="rules"
|
|
ref="ruleForm"
|
|
ref="ruleForm"
|
|
- label-width="150px"
|
|
|
|
|
|
+ label-width="200px"
|
|
class="demo-ruleForm"
|
|
class="demo-ruleForm"
|
|
>
|
|
>
|
|
- <!-- <el-row>
|
|
|
|
- <el-col :xs="24" :sm="24" :md="12" :lg="12" :xl="12">
|
|
|
|
- <el-form-item label="头像" prop="avatar">
|
|
|
|
- <el-upload
|
|
|
|
- accept=".png, .jpg, .jpeg"
|
|
|
|
- class="avatar-uploader"
|
|
|
|
- name="file"
|
|
|
|
- :action="action"
|
|
|
|
- :show-file-list="false"
|
|
|
|
- :on-success="handleAvatarSuccess"
|
|
|
|
- :before-upload="beforeAvatarUpload"
|
|
|
|
- >
|
|
|
|
- <img v-if="ruleForm.avatar" :src="ruleForm.avatar" class="avatar" />
|
|
|
|
- <i v-else class="el-icon-plus avatar-uploader-icon"></i>
|
|
|
|
- <div class="el-upload__tip" slot="tip">
|
|
|
|
- 建议上传jpg/png/jpeg文件,且不超过500kb
|
|
|
|
- </div>
|
|
|
|
- </el-upload>
|
|
|
|
- </el-form-item>
|
|
|
|
- </el-col>
|
|
|
|
- <el-col :xs="24" :sm="24" :md="12" :lg="12" :xl="12">
|
|
|
|
- <el-form-item label="姓名" prop="name">
|
|
|
|
- <el-input
|
|
|
|
- v-model="ruleForm.name"
|
|
|
|
- class="inputCom"
|
|
|
|
- placeholder="请输入姓名"
|
|
|
|
- ></el-input>
|
|
|
|
- </el-form-item>
|
|
|
|
- </el-col>
|
|
|
|
- </el-row> -->
|
|
|
|
<el-row>
|
|
<el-row>
|
|
<el-col :xs="24" :sm="24" :md="12" :lg="12" :xl="12">
|
|
<el-col :xs="24" :sm="24" :md="12" :lg="12" :xl="12">
|
|
- <el-form-item label="报告来源" prop="description">
|
|
|
|
|
|
+ <el-form-item label="报告来源" prop="reportSource">
|
|
<el-input
|
|
<el-input
|
|
v-model="ruleForm.reportSource"
|
|
v-model="ruleForm.reportSource"
|
|
class="inputCom"
|
|
class="inputCom"
|
|
@@ -57,7 +27,7 @@
|
|
<el-col :xs="24" :sm="24" :md="12" :lg="12" :xl="12">
|
|
<el-col :xs="24" :sm="24" :md="12" :lg="12" :xl="12">
|
|
<el-form-item label="公司名称" prop="companyName">
|
|
<el-form-item label="公司名称" prop="companyName">
|
|
<el-input
|
|
<el-input
|
|
- v-model="ruleForm.job"
|
|
|
|
|
|
+ v-model="ruleForm.companyName"
|
|
class="inputCom"
|
|
class="inputCom"
|
|
placeholder="请输入公司名称"
|
|
placeholder="请输入公司名称"
|
|
></el-input>
|
|
></el-input>
|
|
@@ -202,15 +172,6 @@
|
|
</el-upload>
|
|
</el-upload>
|
|
</el-form-item>
|
|
</el-form-item>
|
|
</el-col>
|
|
</el-col>
|
|
- <el-col :xs="24" :sm="24" :md="12" :lg="12" :xl="12">
|
|
|
|
- <el-form-item label="姓名" prop="name">
|
|
|
|
- <el-input
|
|
|
|
- v-model="ruleForm.name"
|
|
|
|
- class="inputCom"
|
|
|
|
- placeholder="请输入姓名"
|
|
|
|
- ></el-input>
|
|
|
|
- </el-form-item>
|
|
|
|
- </el-col>
|
|
|
|
</el-row>
|
|
</el-row>
|
|
</el-row>
|
|
</el-row>
|
|
</el-form>
|
|
</el-form>
|
|
@@ -430,7 +391,6 @@ export default {
|
|
}
|
|
}
|
|
},
|
|
},
|
|
open(val) {
|
|
open(val) {
|
|
- debugger;
|
|
|
|
this.dialogVisible = true;
|
|
this.dialogVisible = true;
|
|
this.isView = val;
|
|
this.isView = val;
|
|
|
|
|