修改了表格中10月份的第2,3,4,6个问题

This commit is contained in:
zyl
2025-11-03 15:40:49 +08:00
parent f4e1149121
commit 9e52728271
12 changed files with 147 additions and 5148 deletions

View File

@ -157,8 +157,14 @@ export default {
this.$prompt("请输入名称", "提示", {
confirmButtonText: "确定",
cancelButtonText: "取消",
// inputPattern: /[\w!#$%&'*+/=?^_`{|}~-]+(?:\.[\w!#$%&'*+/=?^_`{|}~-]+)*@(?:[\w](?:[\w-]*[\w])?\.)+[\w](?:[\w-]*[\w])?/,
// inputErrorMessage: "邮箱格式不正确"
inputValidator: (value) => {
// 可选:同时限制不能为空
if (!value.trim()) {
return '输入内容不能为空!';
}
// 验证通过返回 true或不返回内容
return true;
}
})
.then(({value}) => {
/* const newChild = { id: id++, label: 'testtest', children: [] };
@ -167,7 +173,7 @@ export default {
}
data.children.push(newChild);
*/
console.log(this.$parent);
console.log("value",value);
addDirectory(
(res) => {
// console.log(res);

View File

@ -72,7 +72,7 @@ export default {
mounted() {},
methods: {
submit() {
if (this.form.name==""){
if (this.form.name=="" ||(this.form.name.trim()=='')){
this.$message.warning("请输入名称")
return
}
@ -83,6 +83,7 @@ export default {
this.form.plan_create_time = new TSTY.Util().timeToStamp(
this.form.plan_create_time
);
console.log("新疆")
addPlan(this.form, (res) => {
res.create_time_format = new TSTY.Util().parseTime(
res.create_time,

View File

@ -26,7 +26,7 @@
/>
</div>
<div>
<span class="label">仿真时间</span>
<span class="label">创建时间</span>
<el-date-picker
class="datepicker"
v-model="value2"
@ -259,11 +259,12 @@ export default {
let params = JSON.parse(JSON.stringify(this.searchForm));
params.startTime == 0 && delete params.startTime;
params.endTime == 0 && delete params.endTime;
this.getList(params,()=>{
setTimeout(() => {
this.searching = false;
}, 500);
})
console.log(params)
// this.getList(params,()=>{
// setTimeout(() => {
// this.searching = false;
// }, 500);
// })
/* planList(params, (res) => {
// if()
this.formatTime(res.list);

View File

@ -693,28 +693,30 @@ export default {
},
closeSituationEdit() {
// 新增态势0906
window.draw && window.draw.end();
Array.from(ts_Map.values()).forEach((entity) => entity.remove());
ts_Map.clear();
// setTimeout(() => {
if (window.Earth1) {
window.draw && window.draw.end();
Array.from(ts_Map.values()).forEach((entity) => entity.remove());
ts_Map.clear();
window.Earth1.destroy();
window.Earth1 = null;
}
this.$refs.Deduction.stop();
this.editSituation = !this.editSituation;
this.eventsList = false;
this.showList = !this.showList;
//新增态势0824
// //新增态势0824
this.showElementBtn = "";
this.showCabinBtn = "";
this.showCabin = "";
this.showElement = "";
//
// this.eventBox = false;
this.eventBox = false;
this.$refs.Deduction.stop();
this.$nextTick(() => {
this.$refs.situation.getList();
});
// }, 10);
},
getRowKey(row) {
// 需要为每一行设置一个唯一标识这里假设每行的id是唯一的
@ -817,7 +819,7 @@ export default {
this.createEarth("earthContainers");
/*
console.log("eventList", res);
// obj.tasks = res.list;
let arr = [];
@ -830,7 +832,7 @@ export default {
// window.Clock = new TSTY.clock();
this.scales = Store.scales;
this.tasks = Store.tasks;
this.showList = !this.showList;
this.editSituation = !this.editSituation;
this.createEarth("earthContainers");
@ -1115,7 +1117,7 @@ export default {
}
.selectImgBox{
z-index: 9999999;
}
}
.ModelSetBox{
z-index: 10000;
}