|
@@ -239,7 +239,7 @@
|
|
|
<el-dialog
|
|
|
title="添加体检信息"
|
|
|
:visible.sync="opene"
|
|
|
- width="1016px"
|
|
|
+ width="980px"
|
|
|
append-to-body
|
|
|
:close-on-click-modal="false"
|
|
|
>
|
|
@@ -276,7 +276,7 @@
|
|
|
v-model="form.contents"
|
|
|
type="textarea"
|
|
|
placeholder=""
|
|
|
- style="width: 920px"
|
|
|
+ style="width: 870px"
|
|
|
></el-input>
|
|
|
</el-form-item>
|
|
|
</el-form>
|
|
@@ -292,7 +292,7 @@
|
|
|
<el-dialog
|
|
|
:title="title"
|
|
|
:visible.sync="openes"
|
|
|
- width="1016px"
|
|
|
+ width="985px"
|
|
|
append-to-body
|
|
|
:close-on-click-modal="false"
|
|
|
>
|
|
@@ -304,7 +304,7 @@
|
|
|
style="margin-left: 30px"
|
|
|
>
|
|
|
<div class="jiben">体检人员</div>
|
|
|
- <el-form-item label="单位" prop="yeardate" style="margin-right: 45px">
|
|
|
+ <el-form-item label="单位" prop="yeardate" style="margin-right: 45px;margin-left:17px">
|
|
|
<el-input v-model="form.unitName" disabled />
|
|
|
</el-form-item>
|
|
|
<el-form-item label="姓名" prop="yeardate" style="margin-right: 45px">
|
|
@@ -313,21 +313,25 @@
|
|
|
<el-form-item label="工作岗位" prop="yeardate">
|
|
|
<el-input v-model="form.job" disabled />
|
|
|
</el-form-item>
|
|
|
- <div class="ee" v-for="(item,index) in form.examineDetails" :key="item.id">
|
|
|
+ <div
|
|
|
+ class="ee"
|
|
|
+ v-for="(item, index) in form.examineDetails"
|
|
|
+ :key="item.id"
|
|
|
+ >
|
|
|
<div class="jiben">
|
|
|
体检信息
|
|
|
<span style="margin-left: 100px">
|
|
|
时间 : {{ item.createTime }}
|
|
|
</span>
|
|
|
<el-button
|
|
|
- style="margin-left: 518px"
|
|
|
+ style="margin-left: 450px"
|
|
|
size="btd"
|
|
|
type="text"
|
|
|
- @click="shanchus(item,index)"
|
|
|
+ @click="shanchus(item, index)"
|
|
|
>删除</el-button
|
|
|
>
|
|
|
</div>
|
|
|
- <el-form-item label="年份" prop="yeardate">
|
|
|
+ <el-form-item label="年份" prop="yeardate" style="margin-left:17px">
|
|
|
<el-input v-model="item.year" disabled />
|
|
|
</el-form-item>
|
|
|
<div class="xiangMu">
|
|
@@ -343,7 +347,7 @@
|
|
|
</el-form-item>
|
|
|
</div>
|
|
|
|
|
|
- <div style="margin-bottom: 20px; display: flex; align-items: center">
|
|
|
+ <div style="margin-bottom: 20px;margin-left:17px; display: flex; align-items: center">
|
|
|
<span class="filename">{{ item.fileName }}</span>
|
|
|
<a
|
|
|
:href="url + item.filePath"
|
|
@@ -354,19 +358,19 @@
|
|
|
>下载附件</a
|
|
|
>
|
|
|
</div>
|
|
|
- <el-form-item>
|
|
|
+ <el-form-item style="margin-left:17px">
|
|
|
<el-input
|
|
|
v-model="item.contents"
|
|
|
type="textarea"
|
|
|
placeholder=""
|
|
|
disabled
|
|
|
- style="width: 920px"
|
|
|
+ style="width: 839px"
|
|
|
>
|
|
|
</el-input>
|
|
|
</el-form-item>
|
|
|
</div>
|
|
|
</el-form>
|
|
|
- <div slot="footer" class="dialog-footer">
|
|
|
+ <div slot="footer" class="dialog-footer" style="margin-right:32px">
|
|
|
<el-button @click="cancelss" size="btn">取 消</el-button>
|
|
|
</div>
|
|
|
</el-dialog>
|
|
@@ -470,17 +474,16 @@ export default {
|
|
|
},
|
|
|
methods: {
|
|
|
// 删除
|
|
|
- shanchus(row,index) {
|
|
|
- console.log(row)
|
|
|
+ shanchus(row, index) {
|
|
|
+ console.log(row);
|
|
|
const ids = row.id || this.ids;
|
|
|
this.$modal
|
|
|
.confirm("是否确认删除?")
|
|
|
.then(function () {
|
|
|
-
|
|
|
return delshanchu(ids);
|
|
|
})
|
|
|
.then(() => {
|
|
|
- this.form.examineDetails.splice(index,1)
|
|
|
+ this.form.examineDetails.splice(index, 1);
|
|
|
this.$modal.msgSuccess("删除成功");
|
|
|
})
|
|
|
.catch(() => {});
|
|
@@ -687,6 +690,9 @@ export default {
|
|
|
};
|
|
|
</script>
|
|
|
<style scoped>
|
|
|
+::v-deep .upload-file-list{
|
|
|
+ width: 540px !important;
|
|
|
+}
|
|
|
/* 对话框背景颜色 */
|
|
|
.qq {
|
|
|
padding: 30px 30px 20px 30px !important;
|
|
@@ -876,7 +882,7 @@ input::-webkit-inner-spin-button {
|
|
|
.filename {
|
|
|
display: inline-block;
|
|
|
color: white;
|
|
|
- width: 700px;
|
|
|
+ width: 728px;
|
|
|
height: 30px;
|
|
|
border: 1px solid white;
|
|
|
line-height: 30px;
|