Commit a7a8772a authored by zhengke's avatar zhengke

修改

parent b20b3576
......@@ -142,23 +142,28 @@
</template>
</div>
</div>
<div class="row" style="margin-bottom:0;">
<div class="col-12">
<q-radio v-model="saveMsg.ManagerStatus" style="margin-right:20px;" :val="0" size="xs" label="通过"
color="secondary" />
<q-radio v-model="saveMsg.ManagerStatus" :val="1" size="xs" label="拒绝" color="negative" />
</div>
</div>
<div class="row">
<div class="col-12">
<q-input filled stack-label :dense="false" v-model="saveMsg.ManagerOpinion" style="margin-top: 20px"
type="textarea" class="col-12" label="意见" />
</div>
<template v-if="isShow">
<div style="margin:20px;">
<div class="row" style="margin-bottom:0;">
<div class="col-12">
<q-radio v-model="saveMsg.ManagerStatus" style="margin-right:20px;" :val="0" size="xs" label="通过"
color="secondary" />
<q-radio v-model="saveMsg.ManagerStatus" :val="1" size="xs" label="拒绝" color="negative" />
</div>
</div>
<div class="row">
<div class="col-12">
<q-input filled stack-label :dense="false" v-model="saveMsg.ManagerOpinion" style="margin-top: 20px"
type="textarea" class="col-12" label="意见" />
</div>
</div>
<div style="margin:30px 10px 0 0;text-align:right;">
<q-btn color="accent" class="q-mr-md" icon="add" label="提交" @click="saveSatMsg()" />
</div>
</div>
<div style="margin:30px 10px 0 0;text-align:right;">
<q-btn color="accent" class="q-mr-md" icon="add" label="提交" @click="saveSatMsg()" />
</div>
</div>
</template>
</q-card>
<div class="dialog-out-close" @click="closeperForm"
style="height:40px !important;border-top-left-radius: 4px !important;border-bottom-left-radius: 4px !important;">
......@@ -171,9 +176,6 @@
queryStudyAbroadAudit,
queryStudyAbroadInfo
} from "../../api/studyabroad/index";
import {
mapState
} from "vuex";
export default {
meta: {
title: "留学详情"
......@@ -196,27 +198,17 @@
Id: 0,
IsGetPrice: 1
},
saveObj:{}
saveObj: {},
auditList: [], //权限数据
isShow: false,
}
},
computed: mapState({
isHavePriceAction(state) {
// if (state.user.userInfo.ActionMenuList) {
// let action = state.user.userInfo.ActionMenuList.find(x => {
// if (x.FunctionCode == "Edit_CoursePrice") {
// return x;
// }
// });
// return action && action.FunctionCode;
// }
// return false;
}
}),
mounted() {
this.msg.Id = this.Id;
this.queryStudy();
this.initObj();
},
created() {},
methods: {
//获取数据
initObj() {
......@@ -228,12 +220,19 @@
},
queryStudy() {
queryStudyAbroadAudit({}).then(res => {
console.log(res, '数据来了');
this.auditList = res.Data;
let userInfo = this.getLocalStorage();
this.auditList.forEach(x => {
if (x.Id === userInfo.Id) {
this.isShow = true;
}
})
console.log(this.isShow, 'this.isShow');
})
.catch(() => {});
},
//保存
saveSatMsg(){
saveSatMsg() {
},
closeperForm() {
......
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