diff --git a/src/application/mk/basic-pages/list.vue b/src/application/mk/basic-pages/list.vue
index 451e1c1..9f22456 100644
--- a/src/application/mk/basic-pages/list.vue
+++ b/src/application/mk/basic-pages/list.vue
@@ -40,6 +40,10 @@
+
+
+
+
@@ -273,7 +277,7 @@ export default {
date[0]._d.setHours(0, 0, 0, 0);
date[1]._d.setHours(23, 59, 59, 59);
this.start_time = parseInt(date[0]._d.getTime() / 1000); // 将日期转换为时间戳
- this.end_time = parseInt( date[1]._d.getTime() / 1000); // 将日期转换为时间戳
+ this.end_time = parseInt(date[1]._d.getTime() / 1000); // 将日期转换为时间戳
} else { // 如果没有值
this.start_time = 0; // 将日期转换为时间戳
this.end_time = 0; // 将日期转换为时间戳
@@ -359,8 +363,8 @@ export default {
width: this.$mk.getWindowSize().width * 0.9,
height: this.$mk.getWindowSize().height * 0.9,
dataId: 0,
- callback:({success})=>{
- if(success){
+ callback: ({ success }) => {
+ if (success) {
this.$refs.xGrid.commitProxy('query')
}
}
@@ -459,7 +463,7 @@ export default {
if (editPage != null) {
editPage.beforeTabClose().then(() => {
this.$closePage(this.options.editPageUrl);
- this.showPageEdit( row[this.options.keyName]); // 打开页面
+ this.showPageEdit(row[this.options.keyName]); // 打开页面
});
} else {
this.showPageEdit(row[this.options.keyName]); // 打开页面
@@ -474,27 +478,27 @@ export default {
},
- showPageEdit(dataId){
+ showPageEdit(dataId) {
- if( this.options.editPage){
+ if (this.options.editPage) {
this.$mk.dialog.open({
- page: this.options.editPage,
- title: this.options.editPageTitle,
- pageOptions: {
- },
- width: this.$mk.getWindowSize().width * 0.9,
- height: this.$mk.getWindowSize().height * 0.9,
- dataId: dataId,
- callback:({success})=>{
- if(success){
- this.$refs.xGrid.commitProxy('query')
- }
+ page: this.options.editPage,
+ title: this.options.editPageTitle,
+ pageOptions: {
+ },
+ width: this.$mk.getWindowSize().width * 0.9,
+ height: this.$mk.getWindowSize().height * 0.9,
+ dataId: dataId,
+ callback: ({ success }) => {
+ if (success) {
+ this.$refs.xGrid.commitProxy('query')
}
- });
- }else{
+ }
+ });
+ } else {
this.$openPage(this.options.editPageUrl + dataId);
}
-
+
},
diff --git a/src/pages/Middle/Mes/MesStaff/MesStaff/Edit.vue b/src/pages/Middle/Mes/MesStaff/MesStaff/Edit.vue
index f676a68..fea14e4 100644
--- a/src/pages/Middle/Mes/MesStaff/MesStaff/Edit.vue
+++ b/src/pages/Middle/Mes/MesStaff/MesStaff/Edit.vue
@@ -1,5 +1,7 @@
-
+
+
+