update+build:修改计划任务输入框手动填值
This commit is contained in:
parent
d03c5710d3
commit
dfea8d66a5
@ -5,5 +5,5 @@
|
||||
window.ver = "2.0.278";
|
||||
window.SYS = {CONFIG:{}, URL:{}};</script><script>window._AMapSecurityConfig = {
|
||||
securityJsCode:"07788e7ebd7e913985722bfc5986999f"
|
||||
}</script><script src="https://mall.gpxscs.cn/admin/config.js?v=2.0.278"></script><script src="https://mall.gpxscs.cn/admin/im/libs3.6.0.min.js?v=2.0.278"></script><script src="https://mall.gpxscs.cn/admin/im/im.js?v=2.0.278"></script><link href="static/css/chunk-19648027.83a11e8c.css" rel="prefetch"><link href="static/css/chunk-982af3b2.2e626fb8.css" rel="prefetch"><link href="static/css/vab-extra.9da8d2d7.css" rel="prefetch"><link href="static/js/chunk-19648027.6233a553.js" rel="prefetch"><link href="static/js/chunk-982af3b2.f2d8b0ef.js" rel="prefetch"><link href="static/js/vab-extra.29abc81b.js" rel="prefetch"><link href="static/css/app.d3766ec2.css" rel="preload" as="style"><link href="static/css/element-ui.0e3a750b.css" rel="preload" as="style"><link href="static/js/app.52cdf3c7.js" rel="preload" as="script"><link href="static/js/element-ui.4e8e0db4.js" rel="preload" as="script"><link href="static/js/vue.11eaebc3.js" rel="preload" as="script"><link href="static/css/element-ui.0e3a750b.css" rel="stylesheet"><link href="static/css/app.d3766ec2.css" rel="stylesheet"><link rel="icon" type="image/png" sizes="32x32" href="img/icons/favicon-32x32.png"><link rel="icon" type="image/png" sizes="16x16" href="img/icons/favicon-16x16.png"><link rel="manifest" href="manifest.json"><meta name="theme-color" content="#ffffff"><meta name="apple-mobile-web-app-capable" content="yes"><meta name="apple-mobile-web-app-status-bar-style" content="black"><meta name="apple-mobile-web-app-title" content="xiaofa-admin"><link rel="apple-touch-icon" href="img/icons/apple-touch-icon-152x152.png"><link rel="mask-icon" href="img/icons/safari-pinned-tab.svg" color="#ffffff"><meta name="msapplication-TileImage" content="img/icons/msapplication-icon-144x144.png"><meta name="msapplication-TileColor" content="#ffffff"></head><body><noscript></noscript><div id="app"><div class="first-loading-wrp"><div class="loading-wrp"><span class="dot dot-spin"><i></i> <i></i> <i></i> <i></i></span></div><h1>小发同城</h1></div></div><script>if (window.location.hostname !== 'localhost') {
|
||||
}</script><script src="static/js/element-ui.4e8e0db4.js"></script><script src="static/js/vue.11eaebc3.js"></script><script src="static/js/app.52cdf3c7.js"></script></body></html>
|
||||
}</script><script src="https://mall.gpxscs.cn/admin/config.js?v=2.0.278"></script><script src="https://mall.gpxscs.cn/admin/im/libs3.6.0.min.js?v=2.0.278"></script><script src="https://mall.gpxscs.cn/admin/im/im.js?v=2.0.278"></script><link href="static/css/chunk-19648027.83a11e8c.css" rel="prefetch"><link href="static/css/chunk-982af3b2.2e626fb8.css" rel="prefetch"><link href="static/css/vab-extra.9da8d2d7.css" rel="prefetch"><link href="static/js/chunk-19648027.6233a553.js" rel="prefetch"><link href="static/js/chunk-982af3b2.3e791963.js" rel="prefetch"><link href="static/js/vab-extra.29abc81b.js" rel="prefetch"><link href="static/css/app.d3766ec2.css" rel="preload" as="style"><link href="static/css/element-ui.0e3a750b.css" rel="preload" as="style"><link href="static/js/app.f79dc756.js" rel="preload" as="script"><link href="static/js/element-ui.4e8e0db4.js" rel="preload" as="script"><link href="static/js/vue.11eaebc3.js" rel="preload" as="script"><link href="static/css/element-ui.0e3a750b.css" rel="stylesheet"><link href="static/css/app.d3766ec2.css" rel="stylesheet"><link rel="icon" type="image/png" sizes="32x32" href="img/icons/favicon-32x32.png"><link rel="icon" type="image/png" sizes="16x16" href="img/icons/favicon-16x16.png"><link rel="manifest" href="manifest.json"><meta name="theme-color" content="#ffffff"><meta name="apple-mobile-web-app-capable" content="yes"><meta name="apple-mobile-web-app-status-bar-style" content="black"><meta name="apple-mobile-web-app-title" content="xiaofa-admin"><link rel="apple-touch-icon" href="img/icons/apple-touch-icon-152x152.png"><link rel="mask-icon" href="img/icons/safari-pinned-tab.svg" color="#ffffff"><meta name="msapplication-TileImage" content="img/icons/msapplication-icon-144x144.png"><meta name="msapplication-TileColor" content="#ffffff"></head><body><noscript></noscript><div id="app"><div class="first-loading-wrp"><div class="loading-wrp"><span class="dot dot-spin"><i></i> <i></i> <i></i> <i></i></span></div><h1>小发同城</h1></div></div><script>if (window.location.hostname !== 'localhost') {
|
||||
}</script><script src="static/js/element-ui.4e8e0db4.js"></script><script src="static/js/vue.11eaebc3.js"></script><script src="static/js/app.f79dc756.js"></script></body></html>
|
||||
File diff suppressed because it is too large
Load Diff
@ -14,7 +14,7 @@
|
||||
importScripts("https://storage.googleapis.com/workbox-cdn/releases/4.3.1/workbox-sw.js");
|
||||
|
||||
importScripts(
|
||||
"precache-manifest.b780d40cc148a215e3c74cad49255c60.js"
|
||||
"precache-manifest.678bbf676047b2904f09256a4b479570.js"
|
||||
);
|
||||
|
||||
workbox.core.setCacheNameDetails({prefix: "xiaofa-admin"});
|
||||
|
||||
File diff suppressed because one or more lines are too long
@ -1,7 +1,7 @@
|
||||
/*!
|
||||
* build: xiaofa-admin
|
||||
* copyright: https://www.lancerdt.com
|
||||
* time: 2025-9-26 15:14:07
|
||||
* time: 2025-9-27 09:45:25
|
||||
*/
|
||||
/*!
|
||||
* Quill Editor v1.3.7
|
||||
|
||||
File diff suppressed because one or more lines are too long
@ -1,5 +1,5 @@
|
||||
/*!
|
||||
* build: xiaofa-admin
|
||||
* copyright: https://www.lancerdt.com
|
||||
* time: 2025-9-26 15:14:07
|
||||
* time: 2025-9-27 09:45:25
|
||||
*/@media only screen and (max-width:767px){.hidden-xs-only{display:none!important}}@media only screen and (min-width:768px){.hidden-sm-and-up{display:none!important}}@media only screen and (min-width:768px) and (max-width:991px){.hidden-sm-only{display:none!important}}@media only screen and (max-width:991px){.hidden-sm-and-down{display:none!important}}@media only screen and (min-width:992px){.hidden-md-and-up{display:none!important}}@media only screen and (min-width:992px) and (max-width:1199px){.hidden-md-only{display:none!important}}@media only screen and (max-width:1199px){.hidden-md-and-down{display:none!important}}@media only screen and (min-width:1200px){.hidden-lg-and-up{display:none!important}}@media only screen and (min-width:1200px) and (max-width:1919px){.hidden-lg-only{display:none!important}}@media only screen and (max-width:1919px){.hidden-lg-and-down{display:none!important}}@media only screen and (min-width:1920px){.hidden-xl-only{display:none!important}}
|
||||
@ -1,5 +1,5 @@
|
||||
/*!
|
||||
* build: xiaofa-admin
|
||||
* copyright: https://www.lancerdt.com
|
||||
* time: 2025-9-26 15:14:07
|
||||
* time: 2025-9-27 09:45:25
|
||||
*/[data-v-28093814]:export{menu-color:#fff;menu-color-active:#fff;menu-background:#282c34;column-second-menu-background:#fff}.vab-avatar-list[data-v-28093814] .el-avatar{display:inline-block;margin-left:-15px;cursor:pointer;border:3px solid #fff}.echarts{width:600px;height:400px}[data-v-7f7baab5]:export{menu-color:#fff;menu-color-active:#fff;menu-background:#282c34;column-second-menu-background:#fff}@media only screen and (max-width:767px){[data-v-7f7baab5] .vab-cropper-canvas{display:block;float:none;margin:0 auto}[data-v-7f7baab5] .vab-cropper-preview{display:none}}[data-v-7f7baab5] .el-textarea{margin-top:20px}[data-v-7f7baab5] .el-dialog__footer{height:72px}[data-v-7f7baab5] .el-dialog__footer:before{display:block;clear:both;content:""}[data-v-7f7baab5] .el-dialog__footer>div>div{display:inline}[data-v-7f7baab5] .el-dialog__footer>div>div .el-upload-list{display:none}[data-v-7f7baab5] .el-dialog__footer>div>div .el-upload--picture-card{float:right;width:auto;height:32px;line-height:32px;vertical-align:middle;background-color:transparent;border:0;border-radius:0}[data-v-7f7baab5] .el-dialog__footer>div .el-button{float:right;margin-left:10px}.icon-selector-popper .el-card__body{position:relative;display:flex;flex-direction:column;align-items:center;justify-content:center;height:20px;cursor:pointer}.icon-selector-popper .el-card__body i{font-size:28px;color:rgba(0,0,0,.65);text-align:center;vertical-align:middle;pointer-events:none;cursor:pointer}.icon-selector-popper .el-pagination{margin:0}[data-v-3aef4cea]:export{menu-color:#fff;menu-color-active:#fff;menu-background:#282c34;column-second-menu-background:#fff}.upload[data-v-3aef4cea]{height:500px}.upload .upload-content .el-upload__tip[data-v-3aef4cea]{display:block;height:30px;line-height:30px}.upload .upload-content[data-v-3aef4cea] .el-upload--picture-card{width:128px;height:128px;margin:3px 8px 8px 8px;border:2px dashed #c0ccda}.upload .upload-content[data-v-3aef4cea] .el-upload-list--picture{margin-bottom:20px}.upload .upload-content[data-v-3aef4cea] .el-upload-list--picture-card .el-upload-list__item{width:128px;height:128px;margin:3px 8px 8px 8px}
|
||||
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@ -44,6 +44,11 @@
|
||||
v-model="form.crontab_minute"
|
||||
:placeholder="__('每分')"
|
||||
:style="{ width: '100%' }"
|
||||
filterable
|
||||
allow-create
|
||||
@blur="handleSelectBlur('crontab_minute')"
|
||||
@input="handleSelectInput($event, 'crontab_minute')"
|
||||
ref="minuteSelect"
|
||||
>
|
||||
<el-option
|
||||
v-for="item in crontab_minute_opt"
|
||||
@ -60,6 +65,11 @@
|
||||
v-model="form.crontab_hour"
|
||||
:placeholder="__('小时')"
|
||||
:style="{ width: '100%' }"
|
||||
filterable
|
||||
allow-create
|
||||
@blur="handleSelectBlur('crontab_hour')"
|
||||
@input="handleSelectInput($event, 'crontab_hour')"
|
||||
ref="hourSelect"
|
||||
>
|
||||
<el-option
|
||||
v-for="item in crontab_hour_opt"
|
||||
@ -78,6 +88,11 @@
|
||||
v-model="form.crontab_day"
|
||||
:placeholder="__('每天')"
|
||||
:style="{ width: '100%' }"
|
||||
filterable
|
||||
allow-create
|
||||
@blur="handleSelectBlur('crontab_day')"
|
||||
@input="handleSelectInput($event, 'crontab_day')"
|
||||
ref="daySelect"
|
||||
>
|
||||
<el-option
|
||||
v-for="item in crontab_day_opt"
|
||||
@ -94,13 +109,18 @@
|
||||
v-model="form.crontab_month"
|
||||
:placeholder="__('每月')"
|
||||
:style="{ width: '100%' }"
|
||||
filterable
|
||||
allow-create
|
||||
@blur="handleSelectBlur('crontab_month')"
|
||||
@input="handleSelectInput($event, 'crontab_month')"
|
||||
ref="monthSelect"
|
||||
>
|
||||
<el-option
|
||||
<el-option
|
||||
v-for="item in crontab_month_opt"
|
||||
:key="item.value"
|
||||
:label="item.label"
|
||||
:value="item.value"
|
||||
/>
|
||||
/>
|
||||
</el-select>
|
||||
</el-form-item>
|
||||
</el-col>
|
||||
@ -112,6 +132,11 @@
|
||||
v-model="form.crontab_week"
|
||||
:placeholder="__('每周')"
|
||||
:style="{ width: '100%' }"
|
||||
filterable
|
||||
allow-create
|
||||
@input="handleSelectInput($event, 'crontab_week')"
|
||||
@blur="handleSelectBlur('crontab_week')"
|
||||
ref="weekSelect"
|
||||
>
|
||||
<el-option
|
||||
v-for="item in crontab_week_opt"
|
||||
@ -239,6 +264,37 @@
|
||||
}
|
||||
this.crontab_month_opt = crontab_month_opt
|
||||
},
|
||||
handleSelectInput(value, field) {
|
||||
// 对于自定义输入,value 可能为 null,需要特殊处理
|
||||
if (value === null) {
|
||||
// 直接获取输入框的值
|
||||
const inputValue = this.$refs[`${field}Select`].$refs.input.value;
|
||||
if (inputValue) {
|
||||
this.$set(this.form, field, inputValue.trim());
|
||||
}
|
||||
} else {
|
||||
this.$set(this.form, field, value);
|
||||
}
|
||||
},
|
||||
|
||||
// 处理失去焦点事件 - 确保值被正确保留
|
||||
handleSelectBlur(field) {
|
||||
const selectComp = this.$refs[`${field}Select`];
|
||||
if (selectComp) {
|
||||
const inputValue = selectComp.$refs.input.value.trim();
|
||||
const currentValue = this.form[field];
|
||||
|
||||
// 如果输入框有值但未被正确绑定,则强制绑定
|
||||
if (inputValue && inputValue !== currentValue) {
|
||||
this.$set(this.form, field, inputValue);
|
||||
|
||||
// 手动更新组件内部状态,防止显示异常
|
||||
selectComp.currentValue = inputValue;
|
||||
selectComp.selectedLabel = inputValue;
|
||||
selectComp.$forceUpdate();
|
||||
}
|
||||
}
|
||||
},
|
||||
initHour() {
|
||||
let crontab_hour_opt = []
|
||||
crontab_hour_opt.push({
|
||||
|
||||
Loading…
Reference in New Issue
Block a user