mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/fe-manage.git
synced 2025-12-13 04:46:46 +08:00
选择按钮回显名称,message提示统一warning
This commit is contained in:
@@ -33,11 +33,15 @@
|
||||
<button class="checkEval" @click="showEvalDrawer">
|
||||
选择测评
|
||||
</button>
|
||||
<span style="margin-left: 10px">
|
||||
<a-tag class="tag-style" v-if="evaluationTypeName !== ''" :closable="true" @close="delTag">{{
|
||||
evaluationTypeName
|
||||
}}</a-tag>
|
||||
</span>
|
||||
<div v-if="(evaluationTypeName !== '')" style="margin-left:20px">
|
||||
<a-tag closable @close="delTag" color="processing">
|
||||
<span style="font-size: 14px; line-height: 33px"
|
||||
>{{evaluationTypeName}}</span
|
||||
>
|
||||
</a-tag>
|
||||
</div>
|
||||
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<div class="main_item">
|
||||
@@ -259,11 +263,11 @@ export default {
|
||||
const editInvistText = () => {
|
||||
if (!state.inputV1) {
|
||||
message.destroy();
|
||||
return message.info("请输入测评名称");
|
||||
return message.warning("请输入测评名称");
|
||||
}
|
||||
if (!state.evaluationTypeId) {
|
||||
message.destroy();
|
||||
return message.info("请选择测评");
|
||||
return message.warning("请选择测评");
|
||||
}
|
||||
let objei = {
|
||||
evaluationName: state.inputV1,
|
||||
@@ -295,11 +299,11 @@ export default {
|
||||
const createEvalText = () => {
|
||||
if (!state.inputV1) {
|
||||
message.destroy();
|
||||
return message.info("请输入测评名称");
|
||||
return message.warning("请输入测评名称");
|
||||
}
|
||||
if (!state.evaluationTypeId) {
|
||||
message.destroy();
|
||||
return message.info("请选择测评");
|
||||
return message.warning("请选择测评");
|
||||
}
|
||||
let obj = {
|
||||
evaluationName: state.inputV1,
|
||||
|
||||
Reference in New Issue
Block a user