Commit 5522663b authored by 黄奎's avatar 黄奎

页面修改

parent 278c0635
...@@ -16,11 +16,12 @@ ...@@ -16,11 +16,12 @@
<div class="col-12"> <div class="col-12">
<div style="display:flex;align-items:center;"> <div style="display:flex;align-items:center;">
<a :href="fileObj.FileUrl" style="margin-right:10px;">{{fileObj.FileName}}</a> <a :href="fileObj.FileUrl" style="margin-right:10px;">{{fileObj.FileName}}</a>
<el-upload class="upload-demo" action="" :show-file-list="false" <el-upload class="upload-demo" action="" :show-file-list="false" :http-request="UploadAttachment"
:http-request="UploadAttachment" :multiple="uploadMultple"> :multiple="uploadMultple">
<q-btn color="accent" size="sm" icon="add" label="上传供应商合同" /> <q-btn color="accent" size="sm" icon="add" label="上传供应商合同" />
</el-upload> </el-upload>
<a v-if="objOption.SupplierContract" style="margin-left:10px;color:#2961FE;text-decoration:none;" :href="objOption.SupplierContract">查看合同</a> <a v-if="objOption.SupplierContract" style="margin-left:10px;color:#2961FE;text-decoration:none;"
:href="objOption.SupplierContract">查看合同</a>
</div> </div>
</div> </div>
</div> </div>
...@@ -56,7 +57,7 @@ ...@@ -56,7 +57,7 @@
type: Object, type: Object,
default: null default: null
}, },
Type:{ Type: {
type: Number, type: Number,
default: null default: null
} }
...@@ -75,10 +76,10 @@ ...@@ -75,10 +76,10 @@
optionTitle: "", optionTitle: "",
saveLoading: false, saveLoading: false,
supplierList: [], //供应商下拉数据 supplierList: [], //供应商下拉数据
uploadMultple:true, uploadMultple: true,
fileObj:{ fileObj: {
FileName:'', FileName: '',
FileUrl:'' FileUrl: ''
} }
} }
}, },
...@@ -119,8 +120,16 @@ ...@@ -119,8 +120,16 @@
this.$emit('close') this.$emit('close')
this.persistent = false this.persistent = false
}, },
//保存菜单 //保存留学就业信息
saveStudyInfo() { saveStudyInfo() {
if (this.objOption.SupplierContract == '') {
this.$q.notify({
type: 'negative',
position: "top",
message: `请上传供应商合同!`
})
return;
}
this.saveLoading = true; this.saveLoading = true;
saveStudyAbroad(this.objOption).then(res => { saveStudyAbroad(this.objOption).then(res => {
this.saveLoading = false this.saveLoading = false
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment