Commit d787dec2 authored by 黄奎's avatar 黄奎

页面修改

parent ba7470f2
...@@ -162,3 +162,14 @@ export function saveManagerAudit(data) { ...@@ -162,3 +162,14 @@ export function saveManagerAudit(data) {
data data
}) })
} }
/**
* 获取留学就业审核人配置
*/
export function queryStudyAbroadAudit(data) {
return request({
url: '/StudyAbroad/GetStudyAbroadAudit',
method: 'post',
data
})
}
...@@ -161,7 +161,6 @@ ...@@ -161,7 +161,6 @@
if (jsonData && jsonData.length > 0) { if (jsonData && jsonData.length > 0) {
this.AllemployeeList = JSON.parse(JSON.stringify(jsonData)); this.AllemployeeList = JSON.parse(JSON.stringify(jsonData));
this.EmployeeList = JSON.parse(JSON.stringify(jsonData)); this.EmployeeList = JSON.parse(JSON.stringify(jsonData));
console.log(res,'数据来了');
} }
} }
}) })
......
...@@ -2,10 +2,10 @@ ...@@ -2,10 +2,10 @@
<q-dialog v-model="persistent" content-class="bg-grey-1" persistent transition-show="scale" transition-hide="scale"> <q-dialog v-model="persistent" content-class="bg-grey-1" persistent transition-show="scale" transition-hide="scale">
<q-card style="width: 800px;max-width:900px;"> <q-card style="width: 800px;max-width:900px;">
<q-card-section> <q-card-section>
<div class="text-h6">{{objOption.Id==0?'新增留学':'修改留学'}}</div> <div class="text-h6">{{objOption.Id==0?'新增':'修改'}}{{Type==1?'留学':'就业'}}</div>
</q-card-section> </q-card-section>
<q-card-section class="q-pt-none scroll" style="max-height: 70vh"> <q-card-section class="q-pt-none scroll" style="max-height: 70vh">
<div class="text-caption q-mb-lg q-px-md text-grey-6">留学信息</div> <div class="text-caption q-mb-lg q-px-md text-grey-6">{{Type==1?'留学':'就业'}}信息</div>
<div class="row wrap"> <div class="row wrap">
<q-input filled stack-label maxlength="30" :dense="false" v-model="objOption.Name" ref="Name" <q-input filled stack-label maxlength="30" :dense="false" v-model="objOption.Name" ref="Name"
class="col-6 q-pr-lg q-pb-lg" label="项目名称" :rules="[val => !!val || '项目名称']" /> class="col-6 q-pr-lg q-pb-lg" label="项目名称" :rules="[val => !!val || '项目名称']" />
...@@ -63,12 +63,11 @@ ...@@ -63,12 +63,11 @@
persistent: true, persistent: true,
objOption: { objOption: {
Id: 0, Id: 0,
Type: 1, //1留学 2就业 Type: 0, //1留学 2就业
Name: '', //项目名称 Name: '', //项目名称
SupplierId: 0, //供应商编号 SupplierId: 0, //供应商编号
SupplierContract: '', //供应商合同 SupplierContract: '', //供应商合同
Remark: '', //备注 Remark: '', //备注
}, },
optionTitle: "", optionTitle: "",
saveLoading: false, saveLoading: false,
...@@ -150,7 +149,6 @@ ...@@ -150,7 +149,6 @@
UploadAttachment(files) { UploadAttachment(files) {
UploadSelfFile('Attachment', files.file, res => { UploadSelfFile('Attachment', files.file, res => {
if (res.Code == 1) { if (res.Code == 1) {
console.log(res);
this.fileObj.FileName = res.FileName; this.fileObj.FileName = res.FileName;
this.fileObj.FileUrl = res.FileUrl; this.fileObj.FileUrl = res.FileUrl;
this.objOption.SupplierContract = res.FileUrl; this.objOption.SupplierContract = res.FileUrl;
......
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
<q-dialog v-model="persistent" persistent content-class="bg-grey-1" transition-show="scale" transition-hide="scale"> <q-dialog v-model="persistent" persistent content-class="bg-grey-1" transition-show="scale" transition-hide="scale">
<q-card style="width: 800px;max-width:900px;"> <q-card style="width: 800px;max-width:900px;">
<q-card-section> <q-card-section>
<div class="text-h6">设置留学价格</div> <div class="text-h6">设置{{Type==1?'留学':'就业'}}价格</div>
</q-card-section> </q-card-section>
<q-card-section class="q-pt-none scroll" style="max-height: 70vh"> <q-card-section class="q-pt-none scroll" style="max-height: 70vh">
<div class="text-caption q-mb-lg text-grey-6">基础价格设置</div> <div class="text-caption q-mb-lg text-grey-6">基础价格设置</div>
...@@ -144,12 +144,15 @@ ...@@ -144,12 +144,15 @@
saveObj: { saveObj: {
type: Object, type: Object,
default: null default: null
},
Type: {
type: Number,
default: null
} }
}, },
data() { data() {
return { return {
persistent: true, persistent: true,
optionTitle: "",
saveStudyAbroadLoading: false, saveStudyAbroadLoading: false,
//价格对象 //价格对象
priceObj: { priceObj: {
...@@ -212,9 +215,7 @@ ...@@ -212,9 +215,7 @@
this.priceObj.priceList = res.Data.PreferentialList; this.priceObj.priceList = res.Data.PreferentialList;
} }
}); });
this.optionTitle = "修改留学优惠信息";
} else { } else {
this.optionTitle = "新增留学优惠信息";
this.priceObj.studyAbroadObj.CourseId = 0; this.priceObj.studyAbroadObj.CourseId = 0;
this.priceObj.studyAbroadObj.SuggestPrice = 0; this.priceObj.studyAbroadObj.SuggestPrice = 0;
this.priceObj.studyAbroadObj.SellPrice = 0; this.priceObj.studyAbroadObj.SellPrice = 0;
......
This diff is collapsed.
...@@ -101,7 +101,7 @@ ...@@ -101,7 +101,7 @@
@click="EditStudy(props.row)" /> @click="EditStudy(props.row)" />
<q-btn flat size="xs" icon="edit" color="accent" style="font-weight:400" label="价格设置" <q-btn flat size="xs" icon="edit" color="accent" style="font-weight:400" label="价格设置"
@click="EditStudyPrice(props.row)" /> @click="EditStudyPrice(props.row)" />
<q-btn flat size="xs" icon="edit" color="accent" style="font-weight:400" label="申请审核" <q-btn v-if="props.row.SaleState==1&&props.row.SaleState==4" flat size="xs" icon="edit" color="accent" style="font-weight:400" label="申请审核"
@click="applyApply(props.row)" /> @click="applyApply(props.row)" />
</q-td> </q-td>
</template> </template>
...@@ -113,7 +113,7 @@ ...@@ -113,7 +113,7 @@
<studyAbroad-form v-if="isShowStudy" :save-obj="studyObj" :Type="1" @close="closeStudyForm" <studyAbroad-form v-if="isShowStudy" :save-obj="studyObj" :Type="1" @close="closeStudyForm"
@success="refreshPage"> @success="refreshPage">
</studyAbroad-form> </studyAbroad-form>
<studyAbroadprice-form v-if="isShowStudyPrice" :save-obj="studyObj" @close="closeStudyForm" <studyAbroadprice-form v-if="isShowStudyPrice" :save-obj="studyObj" :Type="1" @close="closeStudyForm"
@success="refreshPage"> @success="refreshPage">
</studyAbroadprice-form> </studyAbroadprice-form>
</div> </div>
...@@ -291,7 +291,7 @@ ...@@ -291,7 +291,7 @@
}; };
this.$q.dialog({ this.$q.dialog({
title: '提示信息', title: '提示信息',
message: '是否要提交审核?', message: '是否要提交主管审核?',
cancel: true, cancel: true,
persistent: true, persistent: true,
ok: "确定", ok: "确定",
......
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