提交 f6867fbe 编写于 作者: 刘英杰's avatar 刘英杰

v20240202 更新系统配置 富文本框

上级 f57ff512
[data-v-993a7c66] .ivu-divider-horizontal{display:block;height:0;width:100%;min-width:100%;margin:24px 0;clear:both}.demo-drawer-profile[data-v-993a7c66]{font-size:14px}.demo-drawer-profile .ivu-col[data-v-993a7c66]{margin-bottom:12px}[data-v-993a7c66] .ivu-card-body{padding:10px 10px 20px 10px}[data-v-993a7c66].table{border-left:10px solid #fff;border-right:10px solid #fff;width:100%}.HeaderCard[data-v-993a7c66]{border-bottom-color:#f5efea;border-bottom-left-radius:0;border-bottom-right-radius:0;border:none;white-space:nowrap;border-top-left-radius:.5em;border-top-right-radius:.5em}.letf_bottom_border[data-v-993a7c66]{border-top-right-radius:0;border-color:#d5c4b9}.letf_bottom_border[data-v-993a7c66],.right_bottom_border[data-v-993a7c66]{border-bottom-right-radius:0;border-bottom-left-radius:0;background-color:#f5efea;color:#574f44;box-shadow:0 0 0 0 transparent}.right_bottom_border[data-v-993a7c66]{border-top-left-radius:0;border-color:#d5c4b9}.center_bottom_border[data-v-993a7c66]{border-top-right-radius:0;border-bottom-right-radius:0;border-top-left-radius:0;border-bottom-left-radius:0;background-color:#f5efea;border-color:#d5c4b9;color:#574f44;box-shadow:0 0 0 0 transparent}[data-v-993a7c66] .ivu-table th{height:40px;white-space:nowrap;overflow:hidden;background-color:#f4efea}[data-v-993a7c66] .ivu-input{display:inline-block;width:100%;height:32px;line-height:1.5;padding:4px 7px;font-size:14px;border:1px solid #dcdee2;border-radius:4px;color:#515a6e;background-color:#f9f3ef;background-image:none;position:relative;cursor:text;transition:border .2s ease-in-out,background .2s ease-in-out,box-shadow .2s ease-in-out;border-color:#d5c4b9}[data-v-993a7c66] .ivu-input::-webkit-input-placeholder{color:#d5c4b9}[data-v-993a7c66] .ivu-input::-moz-placeholder{color:#d5c4b9}[data-v-993a7c66] .ivu-input::-ms-input-placeholder{color:#d5c4b9}.FooterCard[data-v-993a7c66]{border-bottom-color:#f5efea;border-top-left-radius:0;border-top-right-radius:0;border-bottom-left-radius:.5em;border-bottom-right-radius:.5em;border:none;white-space:nowrap;height:100px;padding:15px 0 0 0}.FooterCard[data-v-993a7c66]:hover{box-shadow:0 0 0 0 transparent}[data-v-993a7c66] .ivu-page-next{border:1.5px solid #f5efea}.ivu-page-item-jump-next[data-v-993a7c66],.ivu-page-item-jump-prev[data-v-993a7c66],.ivu-page-next[data-v-993a7c66],[data-v-993a7c66] .ivu-page-prev{color:#666;transition:all .2s ease-in-out}.ivu-page-item-jump-next[data-v-993a7c66],.ivu-page-item-jump-prev[data-v-993a7c66],.ivu-page-next[data-v-993a7c66],[data-v-993a7c66] .ivu-page-item,[data-v-993a7c66] .ivu-page-prev{display:inline-block;vertical-align:middle;user-select:none;min-width:32px;height:32px;line-height:30px;list-style:none;text-align:center;cursor:pointer;font-family:Arial;border:1.5px solid #f5efea;border-radius:4px}[data-v-993a7c66] .ivu-page-item{margin-right:4px;background-color:#fff;font-weight:500;transition:border .2s ease-in-out,background .2s ease-in-out,box-shadow .2s ease-in-out!important}[data-v-993a7c66] .ivu-page-item:first-child{display:inline-block;vertical-align:middle;min-width:32px;height:32px;line-height:30px;margin-right:4px;text-align:center;list-style:none;background-color:#dc0d0d;user-select:none;cursor:pointer;font-family:Arial;font-weight:500;border:1.5px solid #f5efea;border-radius:4px;transition:border .2s ease-in-out,background .2s ease-in-out,box-shadow .2s ease-in-out!important}[data-v-993a7c66] .ivu-select-selection{display:block;box-sizing:border-box;outline:none;user-select:none;cursor:pointer;position:relative;background-color:#fff;border-radius:4px;border:1.5px solid #f5efea;transition:all .2s ease-in-out;transition:border .2s ease-in-out,background .2s ease-in-out,box-shadow .2s ease-in-out}[data-v-993a7c66] .ivu-page-options-elevator input{display:inline-block;width:100%;height:32px;line-height:1.5;padding:4px 7px;font-size:14px;border:1.5px solid #f5efea;color:#515a6e;background-color:#fff;background-image:none;position:relative;cursor:text;transition:border .2s ease-in-out,background .2s ease-in-out,box-shadow .2s ease-in-out;border-radius:4px;margin:0 8px;width:50px}[data-v-993a7c66] .ivu-table td{min-width:0;height:48px;box-sizing:border-box;text-align:left;text-overflow:ellipsis;vertical-align:middle;border-bottom:1.5px solid #f5efea}[data-v-993a7c66] .ivu-table:before{content:"";width:100%;height:1px;position:absolute;left:0;bottom:0;background-color:#f5efea;z-index:4}
\ No newline at end of file
[data-v-494a6a82] .ivu-divider-horizontal{display:block;height:0;width:100%;min-width:100%;margin:24px 0;clear:both}.demo-drawer-profile[data-v-494a6a82]{font-size:14px}.demo-drawer-profile .ivu-col[data-v-494a6a82]{margin-bottom:12px}[data-v-494a6a82] .ivu-card-body{padding:10px 10px 20px 10px}[data-v-494a6a82].table{border-left:10px solid #fff;border-right:10px solid #fff;width:100%}.HeaderCard[data-v-494a6a82]{border-bottom-color:#f5efea;border-bottom-left-radius:0;border-bottom-right-radius:0;border:none;white-space:nowrap;border-top-left-radius:.5em;border-top-right-radius:.5em}.letf_bottom_border[data-v-494a6a82]{border-top-right-radius:0;border-color:#d5c4b9}.letf_bottom_border[data-v-494a6a82],.right_bottom_border[data-v-494a6a82]{border-bottom-right-radius:0;border-bottom-left-radius:0;background-color:#f5efea;color:#574f44;box-shadow:0 0 0 0 transparent}.right_bottom_border[data-v-494a6a82]{border-top-left-radius:0;border-color:#d5c4b9}.center_bottom_border[data-v-494a6a82]{border-top-right-radius:0;border-bottom-right-radius:0;border-top-left-radius:0;border-bottom-left-radius:0;background-color:#f5efea;border-color:#d5c4b9;color:#574f44;box-shadow:0 0 0 0 transparent}[data-v-494a6a82] .ivu-table th{height:40px;white-space:nowrap;overflow:hidden;background-color:#f4efea}[data-v-494a6a82] .ivu-input{display:inline-block;width:100%;height:32px;line-height:1.5;padding:4px 7px;font-size:14px;border:1px solid #dcdee2;border-radius:4px;color:#515a6e;background-color:#f9f3ef;background-image:none;position:relative;cursor:text;transition:border .2s ease-in-out,background .2s ease-in-out,box-shadow .2s ease-in-out;border-color:#d5c4b9}[data-v-494a6a82] .ivu-input::-webkit-input-placeholder{color:#d5c4b9}[data-v-494a6a82] .ivu-input::-moz-placeholder{color:#d5c4b9}[data-v-494a6a82] .ivu-input::-ms-input-placeholder{color:#d5c4b9}.FooterCard[data-v-494a6a82]{border-bottom-color:#f5efea;border-top-left-radius:0;border-top-right-radius:0;border-bottom-left-radius:.5em;border-bottom-right-radius:.5em;border:none;white-space:nowrap;height:100px;padding:15px 0 0 0}.FooterCard[data-v-494a6a82]:hover{box-shadow:0 0 0 0 transparent}[data-v-494a6a82] .ivu-page-next{border:1.5px solid #f5efea}.ivu-page-item-jump-next[data-v-494a6a82],.ivu-page-item-jump-prev[data-v-494a6a82],.ivu-page-next[data-v-494a6a82],[data-v-494a6a82] .ivu-page-prev{color:#666;transition:all .2s ease-in-out}.ivu-page-item-jump-next[data-v-494a6a82],.ivu-page-item-jump-prev[data-v-494a6a82],.ivu-page-next[data-v-494a6a82],[data-v-494a6a82] .ivu-page-item,[data-v-494a6a82] .ivu-page-prev{display:inline-block;vertical-align:middle;user-select:none;min-width:32px;height:32px;line-height:30px;list-style:none;text-align:center;cursor:pointer;font-family:Arial;border:1.5px solid #f5efea;border-radius:4px}[data-v-494a6a82] .ivu-page-item{margin-right:4px;background-color:#fff;font-weight:500;transition:border .2s ease-in-out,background .2s ease-in-out,box-shadow .2s ease-in-out!important}[data-v-494a6a82] .ivu-page-item:first-child{display:inline-block;vertical-align:middle;min-width:32px;height:32px;line-height:30px;margin-right:4px;text-align:center;list-style:none;background-color:#dc0d0d;user-select:none;cursor:pointer;font-family:Arial;font-weight:500;border:1.5px solid #f5efea;border-radius:4px;transition:border .2s ease-in-out,background .2s ease-in-out,box-shadow .2s ease-in-out!important}[data-v-494a6a82] .ivu-select-selection{display:block;box-sizing:border-box;outline:none;user-select:none;cursor:pointer;position:relative;background-color:#fff;border-radius:4px;border:1.5px solid #f5efea;transition:all .2s ease-in-out;transition:border .2s ease-in-out,background .2s ease-in-out,box-shadow .2s ease-in-out}[data-v-494a6a82] .ivu-page-options-elevator input{display:inline-block;width:100%;height:32px;line-height:1.5;padding:4px 7px;font-size:14px;border:1.5px solid #f5efea;color:#515a6e;background-color:#fff;background-image:none;position:relative;cursor:text;transition:border .2s ease-in-out,background .2s ease-in-out,box-shadow .2s ease-in-out;border-radius:4px;margin:0 8px;width:50px}[data-v-494a6a82] .ivu-table td{min-width:0;height:48px;box-sizing:border-box;text-align:left;text-overflow:ellipsis;vertical-align:middle;border-bottom:1.5px solid #f5efea}[data-v-494a6a82] .ivu-table:before{content:"";width:100%;height:1px;position:absolute;left:0;bottom:0;background-color:#f5efea;z-index:4}
\ No newline at end of file
<!DOCTYPE html><html><head><meta charset=utf-8><meta http-equiv=X-UA-Compatible content="IE=edge"><meta name=viewport content="width=device-width,initial-scale=1,maximum-scale=1,user-scalable=0"><link rel="shortcut icon" href=favicon.ico><title>琼台博物馆预约系统</title><link href=css/chunk-vendors.663a2580.css rel=stylesheet><link href=css/app.7994a66a.css rel=stylesheet></head><body><script src=/a/manager/identify/identify.js></script><noscript><strong>请开启 JavaScript 功能来使用 琼台博物馆预约系统。</strong></noscript><div id=app></div><script src=js/chunk-vendors.e485a7b3.js></script><script src=js/app.ac26001e.js></script></body></html>
\ No newline at end of file
<!DOCTYPE html><html><head><meta charset=utf-8><meta http-equiv=X-UA-Compatible content="IE=edge"><meta name=viewport content="width=device-width,initial-scale=1,maximum-scale=1,user-scalable=0"><link rel="shortcut icon" href=favicon.ico><title>琼台博物馆预约系统</title><link href=css/chunk-vendors.663a2580.css rel=stylesheet><link href=css/app.7994a66a.css rel=stylesheet></head><body><script src=/a/manager/identify/identify.js></script><noscript><strong>请开启 JavaScript 功能来使用 琼台博物馆预约系统。</strong></noscript><div id=app></div><script src=js/chunk-vendors.e485a7b3.js></script><script src=js/app.bc43a21d.js></script></body></html>
\ No newline at end of file
此差异已折叠。
此差异已折叠。
......@@ -2,8 +2,10 @@
<div>
<Card style="width:100%" dis-hover class="HeaderCard">
<div style="padding-bottom: 7px;" >
<Button class="letf_bottom_border" :style="ButColor1" @click="key++,page_index=1,page_size=10,WatingUseFun( approvalState=1,'',StateTransformInitializePageIndexMiddle=1),StateTransformInitializePageIndexMiddle = 1">待使用({{this.UseCode.Wait_Use}})</Button>
<Button type="primary" :style="ButColor2" class="center_bottom_border" @click="key++,page_index=1,page_size=10,WatingUseFun(approvalState=2,'',StateTransformInitializePageIndexMiddle=1),StateTransformInitializePageIndexMiddle = 1 ">已使用({{ this.UseCode.Use}})</Button>
<!-- <Button class="letf_bottom_border" :style="ButColor1" @click="key++,page_index=1,page_size=10,WatingUseFun( approvalState=1,'',StateTransformInitializePageIndexMiddle=1),StateTransformInitializePageIndexMiddle = 1">待使用({{this.UseCode.Wait_Use}})</Button>-->
<!-- <Button type="primary" :style="ButColor2" class="center_bottom_border" @click="key++,page_index=1,page_size=10,WatingUseFun(approvalState=2,'',StateTransformInitializePageIndexMiddle=1),StateTransformInitializePageIndexMiddle = 1 ">已使用({{ this.UseCode.Use}})</Button>-->
<Button type="primary" :style="ButColor6" class="center_bottom_border" @click="key++,page_index=1,page_size=10,WatingUseFun(approvalState=6,'',StateTransformInitializePageIndexMiddle=1),StateTransformInitializePageIndexMiddle = 1 ">预约({{ this.UseCode.appointment_count}})</Button>
<Button type="primary" :style="ButColor3" class="center_bottom_border" @click="key++,page_index=1,page_size=10,WatingUseFun(approvalState=3,'',StateTransformInitializePageIndexMiddle=1),StateTransformInitializePageIndexMiddle = 1" >预约过期({{this.UseCode.Expired}})</Button>
<Button type="primary" :style="ButColor4" class="center_bottom_border" @click="key++,page_index=1,page_size=10,WatingUseFun(approvalState=4,'',StateTransformInitializePageIndexMiddle=1),StateTransformInitializePageIndexMiddle = 1" >预约变更({{this.UseCode.changeCount}})</Button>
<Button type="primary" :style="ButColor0" class="right_bottom_border" @click="key++,page_index=1,page_size=10,WatingUseFun(approvalState=5,'',StateTransformInitializePageIndexMiddle=1),AloneButControl(),currentPage(1),StateTransformInitializePageIndexMiddle = 1">汇总({{this.UseCode.ResultSum}})</Button>
......@@ -21,6 +23,9 @@
<template #change_remark="{row}" >
{{ row.change_remark }}
</template>
<template #employ_state="{row}" >
{{ ['已取消','待使用','已使用','预约变更','预约过期',][Number(row.employ_state)] }}
</template>
<template #action="{ row, index }">
<Button type="primary" size="small" style="background-color: #d89a7c;border-color: #d89a7c; " @click="show(index,row)">详情</Button>
......@@ -99,6 +104,7 @@ import {WaitingUse,TravelList,IndividualStatus} from "../../api/IndividualBookin
ButColor3:'',
ButColor4:'',
ButColor2:'',
ButColor6:'',
ButColor1:'background-color: #d5c4b9 !important;', // 状态初始化按钮 背景
SearchMiddleVakue:'',// 搜索框中间值
// show_sizer_count:10, //分页 show_sizer 条数
......@@ -113,9 +119,10 @@ import {WaitingUse,TravelList,IndividualStatus} from "../../api/IndividualBookin
Expired:'',
ResultSum:'',
changeCount:'',
appointment_count:'',
},
Pacemaker:[],//详细信息领队人与同行人
approvalState:1,//控制数据列表的初始值 1 带使用 2使用 3 预约过期 ''为汇总
approvalState:6,//控制数据列表的初始值 1 带使用 2使用 3 预约过期 ''为汇总
// approvalStates:{
// 1:"待使用",
// 2:"已使用",
......@@ -173,6 +180,12 @@ import {WaitingUse,TravelList,IndividualStatus} from "../../api/IndividualBookin
key:'PeerPeopleNnmber',
minWidth:100
},
// {
// title: '预约状态',
// slot: 'employ_state',
// minWidth:130,
// },
{
title: '变更理由',
slot: 'change_remark',
......@@ -212,29 +225,51 @@ import {WaitingUse,TravelList,IndividualStatus} from "../../api/IndividualBookin
if (newValue) {
this.SearchMiddleVakue = null
this.ButColorControl()
console.log(newValue, 'newvalue');
}
// newValue === 1 || newValue === 2 || newValue === 3
if (newValue === 1 || newValue === 2 || newValue === 3) {
if (!this.spliceFlag){
this.columns.splice(3, 1)
this.spliceFlag = !this.spliceFlag
this.spliceFlag1 = false
}
}else {
if (!this.spliceFlag1){
this.columns.splice(3, 0, {
title: '变更理由',
slot: 'change_remark',
minWidth:130,
},)
this.spliceFlag = false
this.spliceFlag1 = !this.spliceFlag1
}
// if (newValue === 1 || newValue === 2 || newValue === 3) {
// if (!this.spliceFlag){
// this.columns.splice(3, 1)
// this.spliceFlag = !this.spliceFlag
// this.spliceFlag1 = false
// }
// }else {
// if (!this.spliceFlag1){
// this.columns.splice(3, 0, {
// title: '变更理由',
// slot: 'change_remark',
// minWidth:130,
// },)
// this.spliceFlag = false
// this.spliceFlag1 = !this.spliceFlag1
// }
// }
if (newValue !== 4 ||newValue !== 5) {
this.columns.forEach((cur,index)=>{
if (cur.slot ==='change_remark') this.columns.splice(index,1)
})
}
if (newValue === 4|| newValue === 5){
this.columns.splice(3, 0, {
title: '变更理由',
slot: 'change_remark',
minWidth:130,
},)
}
if (newValue !== 6){
this.columns.forEach((cur,index)=>{
if (cur.slot ==='employ_state') this.columns.splice(index,1)
})
}
if (newValue === 6){
this.columns.splice(4, 0, {
title: '预约状态',
slot: 'employ_state',
minWidth:130,
},)
}
},
immediate: true
}
......@@ -248,6 +283,7 @@ import {WaitingUse,TravelList,IndividualStatus} from "../../api/IndividualBookin
this.ButColor2 = ''
this.ButColor3 = ''
this.ButColor4 = ''
this.ButColor6 =''
},
ButColorControl(){ //状态按钮选中背景控制
// console.log("🚀🚀🚀,",this.page_index)
......@@ -258,6 +294,8 @@ import {WaitingUse,TravelList,IndividualStatus} from "../../api/IndividualBookin
this.ButColor3 = ''
this.ButColor0 = ''
this.ButColor4 = ''
this.ButColor6 =''
// console.log('approvalState == 1');
}else if(this.approvalState == 2 ){
......@@ -266,6 +304,8 @@ import {WaitingUse,TravelList,IndividualStatus} from "../../api/IndividualBookin
this.ButColor3 = ''
this.ButColor0 = ''
this.ButColor4 = ''
this.ButColor6 =''
}else if(this.approvalState == 3){
this.ButColor3 = 'background-color: #d5c4b9 '
......@@ -273,6 +313,8 @@ import {WaitingUse,TravelList,IndividualStatus} from "../../api/IndividualBookin
this.ButColor2 = ''
this.ButColor0 = ''
this.ButColor4 = ''
this.ButColor6 =''
}
else if(this.approvalState == 4){
......@@ -281,6 +323,18 @@ import {WaitingUse,TravelList,IndividualStatus} from "../../api/IndividualBookin
this.ButColor2 = ''
this.ButColor0 = ''
this.ButColor3 = ''
this.ButColor6 =''
}
else if(this.approvalState == 6){
this.ButColor6 = 'background-color: #d5c4b9 '
this.ButColor1 = ''
this.ButColor2 = ''
this.ButColor0 = ''
this.ButColor3 = ''
this.ButColor4 =''
}
},
async SearchValueAction(SearchValue){
......@@ -326,6 +380,7 @@ import {WaitingUse,TravelList,IndividualStatus} from "../../api/IndividualBookin
this.UseCode.Expired = res.response.exceed_count
this.UseCode.ResultSum = res.response.all_count
this.UseCode.changeCount = res.response.change_count
this.UseCode.appointment_count = res.response.appointment_count
})
......@@ -389,6 +444,7 @@ import {WaitingUse,TravelList,IndividualStatus} from "../../api/IndividualBookin
BookAnAdmissionDate:res.response.data[index].moment === 1 ? res.response.data[index].museum_date + ' 上午':res.response.data[index].museum_date + ' 下午',
appointmentid:res.response.data[index].appointmentid,
change_remark:res.response.data[index].change_remark,
employ_state:res.response.data[index].employ_state,
})
});
......
Markdown 格式
0% or
您添加了 0 人 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册 或