Browse Source

mobile deploy

RainMan 2 years ago
parent
commit
06409283b3

+ 9 - 7
mobile-src/src/views/as/AsDeftDoneViewPage.vue

@@ -109,13 +109,15 @@ export default defineComponent({
 	},
 	},
 	methods: {
 	methods: {
 		onLoad() {
 		onLoad() {
-			commonService.checkLoadStatusView(
-				this,
-				commonService.getView('api/selectTcsDeftView/' + this.$route.params.id).then((view) => {
-					this.dataView = view;
-					this.onLoadElps();
-				})
-			);
+			if (commonService.isNotNull(this.$route.params.id)) {
+				commonService.checkLoadStatusView(
+					this,
+					commonService.getView('api/selectTcsDeftView/' + this.$route.params.id).then((view) => {
+						this.dataView = view;
+						this.onLoadElps();
+					})
+				);
+			}
 		},
 		},
 		onLoadElps() {
 		onLoadElps() {
 			if (commonService.isNotNull(this.dataView) && commonService.isNotNull(this.dataView?.deftNo)) {
 			if (commonService.isNotNull(this.dataView) && commonService.isNotNull(this.dataView?.deftNo)) {

+ 33 - 31
mobile-src/src/views/as/AsDeftIngViewPage.vue

@@ -123,37 +123,39 @@ export default defineComponent({
 	},
 	},
 	methods: {
 	methods: {
 		onLoad(e?: any) {
 		onLoad(e?: any) {
-			commonService.checkLoadStatusView(
-				this,
-				commonService.getView('api/selectTcsDeftView/' + this.$route.params.id).then((view) => {
-					this.dataView = view;
-					switch (this.dataView?.deftPrcgStusCd) {
-						case 'A':
-						case 'B':
-						case 'C':
-							this.toolbars[0].disabled = false;
-							this.toolbars[1].disabled = false;
-							this.toolbars[2].disabled = false;
-							this.toolbars[3].disabled = false;
-							break;
-						case 'D':
-							this.toolbars[0].disabled = true;
-							this.toolbars[1].disabled = false;
-							this.toolbars[2].disabled = false;
-							this.toolbars[3].disabled = false;
-							break;
-						case 'Z':
-						case 'X':
-						default:
-							this.toolbars[0].disabled = true;
-							this.toolbars[1].disabled = true;
-							this.toolbars[2].disabled = true;
-							this.toolbars[3].disabled = false;
-							break;
-					}
-					this.onLoadElps();
-				}, e)
-			);
+			if (commonService.isNotNull(this.$route.params.id)) {
+				commonService.checkLoadStatusView(
+					this,
+					commonService.getView('api/selectTcsDeftView/' + this.$route.params.id).then((view) => {
+						this.dataView = view;
+						switch (this.dataView?.deftPrcgStusCd) {
+							case 'A':
+							case 'B':
+							case 'C':
+								this.toolbars[0].disabled = false;
+								this.toolbars[1].disabled = false;
+								this.toolbars[2].disabled = false;
+								this.toolbars[3].disabled = false;
+								break;
+							case 'D':
+								this.toolbars[0].disabled = true;
+								this.toolbars[1].disabled = false;
+								this.toolbars[2].disabled = false;
+								this.toolbars[3].disabled = false;
+								break;
+							case 'Z':
+							case 'X':
+							default:
+								this.toolbars[0].disabled = true;
+								this.toolbars[1].disabled = true;
+								this.toolbars[2].disabled = true;
+								this.toolbars[3].disabled = false;
+								break;
+						}
+						this.onLoadElps();
+					}, e)
+				);
+			}
 		},
 		},
 		onLoadElps() {
 		onLoadElps() {
 			if (commonService.isNotNull(this.dataView) && commonService.isNotNull(this.dataView?.deftNo)) {
 			if (commonService.isNotNull(this.dataView) && commonService.isNotNull(this.dataView?.deftNo)) {

+ 10 - 8
mobile-src/src/views/po/PoDeftMangViewPage.vue

@@ -157,14 +157,16 @@ export default defineComponent({
 	},
 	},
 	methods: {
 	methods: {
 		onLoad(e?: any) {
 		onLoad(e?: any) {
-			commonService.checkLoadStatusView(
-				this,
-				commonService.getView('api/selectTcsDeftView/' + this.$route.params.id).then((view) => {
-					this.dataView = view;
-					this.params = Object.assign({}, view);
-					this.onLoadElps();
-				}, e)
-			);
+			if (commonService.isNotNull(this.$route.params.id)) {
+				commonService.checkLoadStatusView(
+					this,
+					commonService.getView('api/selectTcsDeftView/' + this.$route.params.id).then((view) => {
+						this.dataView = view;
+						this.params = Object.assign({}, view);
+						this.onLoadElps();
+					}, e)
+				);
+			}
 		},
 		},
 		changeForm(colunm: string) {
 		changeForm(colunm: string) {
 			switch (colunm) {
 			switch (colunm) {

+ 28 - 26
mobile-src/src/views/po/PoDeftQueViewPage.vue

@@ -130,32 +130,34 @@ export default defineComponent({
 	},
 	},
 	methods: {
 	methods: {
 		onLoad() {
 		onLoad() {
-			commonService.checkLoadStatusView(
-				this,
-				commonService.getView('api/selectTcsDeftView/' + this.$route.params.id).then((view) => {
-					this.dataView = view;
-					switch (this.dataView?.deftPrcgStusCd) {
-						case 'Z':
-						case 'X':
-							this.toolbars[2].disabled = true;
-							break;
-						default:
-							this.toolbars[2].disabled = false;
-							break;
-					}
-					switch (this.dataView?.deftPrcgStusCd) {
-						case 'D':
-							this.toolbars[0].label = 'DEFT.BTN_ATTACH_PHOTO';
-							this.toolbars[1].label = 'DEFT.BTN_REG_SIGN';
-							break;
-						default:
-							this.toolbars[0].label = 'DEFT.BTN_VIEW_PHOTO';
-							this.toolbars[1].label = 'DEFT.BTN_VIEW_SIGN';
-							break;
-					}
-					this.onLoadElps();
-				})
-			);
+			if (commonService.isNotNull(this.$route.params.id)) {
+				commonService.checkLoadStatusView(
+					this,
+					commonService.getView('api/selectTcsDeftView/' + this.$route.params.id).then((view) => {
+						this.dataView = view;
+						switch (this.dataView?.deftPrcgStusCd) {
+							case 'Z':
+							case 'X':
+								this.toolbars[2].disabled = true;
+								break;
+							default:
+								this.toolbars[2].disabled = false;
+								break;
+						}
+						switch (this.dataView?.deftPrcgStusCd) {
+							case 'D':
+								this.toolbars[0].label = 'DEFT.BTN_ATTACH_PHOTO';
+								this.toolbars[1].label = 'DEFT.BTN_REG_SIGN';
+								break;
+							default:
+								this.toolbars[0].label = 'DEFT.BTN_VIEW_PHOTO';
+								this.toolbars[1].label = 'DEFT.BTN_VIEW_SIGN';
+								break;
+						}
+						this.onLoadElps();
+					})
+				);
+			}
 		},
 		},
 		onLoadElps() {
 		onLoadElps() {
 			if (commonService.isNotNull(this.dataView) && commonService.isNotNull(this.dataView?.deftNo)) {
 			if (commonService.isNotNull(this.dataView) && commonService.isNotNull(this.dataView?.deftNo)) {

File diff suppressed because it is too large
+ 0 - 0
src/main/webapp/mobile/index.html


File diff suppressed because it is too large
+ 0 - 0
src/main/webapp/mobile/index.jsp


File diff suppressed because it is too large
+ 0 - 0
src/main/webapp/mobile/js/142.ced6987a.js


File diff suppressed because it is too large
+ 0 - 0
src/main/webapp/mobile/js/142.ced6987a.js.map


File diff suppressed because it is too large
+ 0 - 0
src/main/webapp/mobile/js/266.d70144b9.js


File diff suppressed because it is too large
+ 0 - 0
src/main/webapp/mobile/js/266.d70144b9.js.map


File diff suppressed because it is too large
+ 0 - 0
src/main/webapp/mobile/js/450.aa105bdd.js


File diff suppressed because it is too large
+ 0 - 0
src/main/webapp/mobile/js/450.aa105bdd.js.map


File diff suppressed because it is too large
+ 0 - 0
src/main/webapp/mobile/js/454.c949bf56.js


File diff suppressed because it is too large
+ 0 - 0
src/main/webapp/mobile/js/454.c949bf56.js.map


File diff suppressed because it is too large
+ 0 - 0
src/main/webapp/mobile/js/504.6bee00fb.js


File diff suppressed because it is too large
+ 0 - 0
src/main/webapp/mobile/js/504.6bee00fb.js.map


File diff suppressed because it is too large
+ 0 - 0
src/main/webapp/mobile/js/608.5d7cff37.js


File diff suppressed because it is too large
+ 0 - 0
src/main/webapp/mobile/js/608.5d7cff37.js.map


File diff suppressed because it is too large
+ 0 - 0
src/main/webapp/mobile/js/869.fc4ea62f.js.map


File diff suppressed because it is too large
+ 0 - 0
src/main/webapp/mobile/js/913.d0a18bf4.js.map


File diff suppressed because it is too large
+ 0 - 0
src/main/webapp/mobile/js/app.9bd24495.js


File diff suppressed because it is too large
+ 0 - 0
src/main/webapp/mobile/js/app.ba7fe7c5.js


File diff suppressed because it is too large
+ 0 - 0
src/main/webapp/mobile/js/app.ba7fe7c5.js.map


File diff suppressed because it is too large
+ 0 - 0
src/main/webapp/mobile/service-worker.js


File diff suppressed because it is too large
+ 0 - 0
src/main/webapp/mobile/service-worker.js.map


Some files were not shown because too many files changed in this diff