From f404e0d67bd92b7c83cacaec4eb5c9303a2cb468 Mon Sep 17 00:00:00 2001 From: sriram-at-840620226347 Date: Sat, 17 Oct 2020 13:03:13 +0530 Subject: [PATCH] common question img validation --- .../capture-btn/capture-btn.component.html | 4 +- .../common-ques/common-ques.component.html | 66 +++--- .../common-ques/common-ques.component.scss | 4 +- .../common-ques/common-ques.component.ts | 190 +++++++++++++----- .../dynamic-docs-form.component.html | 4 +- .../schedule-pd/schedule-pd.component.html | 21 +- .../schedule-pd/schedule-pd.component.scss | 3 + .../pd-service/pd-triger.service.ts | 5 + ng6-seed/src/assets/images/PD_watermark.png | Bin 0 -> 2357 bytes 9 files changed, 205 insertions(+), 92 deletions(-) create mode 100755 ng6-seed/src/assets/images/PD_watermark.png diff --git a/ng6-seed/src/app/personal-discussion/manage-pd/list-pd/pd-questions/capture-btn/capture-btn.component.html b/ng6-seed/src/app/personal-discussion/manage-pd/list-pd/pd-questions/capture-btn/capture-btn.component.html index 9aaee10..9c64dd8 100644 --- a/ng6-seed/src/app/personal-discussion/manage-pd/list-pd/pd-questions/capture-btn/capture-btn.component.html +++ b/ng6-seed/src/app/personal-discussion/manage-pd/list-pd/pd-questions/capture-btn/capture-btn.component.html @@ -1,6 +1,6 @@ \ No newline at end of file diff --git a/ng6-seed/src/app/personal-discussion/manage-pd/list-pd/pd-questions/common-ques/common-ques.component.html b/ng6-seed/src/app/personal-discussion/manage-pd/list-pd/pd-questions/common-ques/common-ques.component.html index bcf0a0d..8ead091 100755 --- a/ng6-seed/src/app/personal-discussion/manage-pd/list-pd/pd-questions/common-ques/common-ques.component.html +++ b/ng6-seed/src/app/personal-discussion/manage-pd/list-pd/pd-questions/common-ques/common-ques.component.html @@ -39,25 +39,24 @@
Not Met - - - + formControlName="is_person_met"> +
Met

-
+
-
+
- - + + @@ -68,8 +67,8 @@
- - + + Name of Person Met Person Name required -
-
+ + + - Person Met pic is Required -
+ +
@@ -118,7 +117,7 @@ src="{{getQuestionControl().at(0).value.person_met_entered_pic}}" style="max-width: 70px;max-height: 70px" >
- + ID Proof of the person + Required
@@ -409,8 +409,10 @@ + - @@ -574,7 +580,9 @@ + + @@ -624,8 +632,12 @@
No Photographs Found
- +
+ + + Add More +
diff --git a/ng6-seed/src/app/personal-discussion/manage-pd/list-pd/schedule-pd/schedule-pd.component.html b/ng6-seed/src/app/personal-discussion/manage-pd/list-pd/schedule-pd/schedule-pd.component.html index 80b1bdb..26a0d58 100755 --- a/ng6-seed/src/app/personal-discussion/manage-pd/list-pd/schedule-pd/schedule-pd.component.html +++ b/ng6-seed/src/app/personal-discussion/manage-pd/list-pd/schedule-pd/schedule-pd.component.html @@ -3,19 +3,19 @@
- -
+
+
-
+
- + - {{selectedMoment | date: 'dd/MM/yyyy'}} + {{selectedMoment | date: 'dd/MM/yyyy'}}     {{selectedMoment | date:'h:mm a'}} - + - - + + - +
+
diff --git a/ng6-seed/src/app/personal-discussion/manage-pd/list-pd/schedule-pd/schedule-pd.component.scss b/ng6-seed/src/app/personal-discussion/manage-pd/list-pd/schedule-pd/schedule-pd.component.scss index e69de29..ee1781a 100755 --- a/ng6-seed/src/app/personal-discussion/manage-pd/list-pd/schedule-pd/schedule-pd.component.scss +++ b/ng6-seed/src/app/personal-discussion/manage-pd/list-pd/schedule-pd/schedule-pd.component.scss @@ -0,0 +1,3 @@ +.mat-list-item-content{ + padding:0px !important; +} diff --git a/ng6-seed/src/app/personal-discussion/pd-service/pd-triger.service.ts b/ng6-seed/src/app/personal-discussion/pd-service/pd-triger.service.ts index c055db5..e7b7252 100755 --- a/ng6-seed/src/app/personal-discussion/pd-service/pd-triger.service.ts +++ b/ng6-seed/src/app/personal-discussion/pd-service/pd-triger.service.ts @@ -318,6 +318,11 @@ export class PdTrigerService { catchError(this.handleError('operation', [])) ) } + saveApplicantImgFromVendorForm(params) { + let userId= this._aws.getlocale(); + params.fk_createdby= userId + return this._http.post(this.apiUrl+'saveApplicantImgFromVendorForm',params) + } // load PD question answers // getAnswersForPD(list: any): Observable { diff --git a/ng6-seed/src/assets/images/PD_watermark.png b/ng6-seed/src/assets/images/PD_watermark.png new file mode 100755 index 0000000000000000000000000000000000000000..a3809e8792c63c3ca2478141f5754b9ead186220 GIT binary patch literal 2357 zcmV-53Ci|~P)rkRP8I;ORD)V?$4-1lKF*LRn<#8*7YKg9R$yWjcU^L^+0&bc}{Jtt;xT{I1q zi#m$B=V*WIVhG}c8b>os|B^_3L3loSrX58D8pzRN5DBYn?K2+j=Zlr2COfzjfP zi|RQ$;;Au`BgYo|Y4Nj)grtFohfCMNmF#G^92Wv3A+hi)O{1k?ygqevd!Ho)o1rWL zo2%6g++twMCKfkFarNf(rdt%Pi;;nFG$#(HYs!HX9j@YZ~r7u{B^G&sAyabl1X&F_@J zBp;LnoGV3GH5mJm4rExtoIeDXT$72G+4Zc}FoU-$f>Dako>jjIq1sV15GEPbD{_KF7GLM=eGqo#|To%2pW z(N%P+QqAC;spOCXtF;A;%^+E@l=ChwcX!Os(h7gb*4P5^4OtWhQ8QJ5^~r!$*$7ss z1V-J{tF#9Rpk6?wqh^a7oykrCw3o;hm9#H$G6&wg@Rm1i1gn<>Gngu3+DwOq8IOU@ z7T=6B6^4|}sNj290c-&$Q$SLQWCIjc^9SX?I@v#(1wRNhnA*mZ))!|g-``@6QN*5_ zrlRY!q@Z-VeqaagUs?&4g1RRGcF&1TK{)O1*^m^~Rp0BI^3|w^E6{=WqQ?KmrRX3p zfuk8LTEN!W3>hdoR3DcDqtgg0SSQUCl~8mpJuVe3)QHoTpx3^mqB2_B$5*qonRZ9y z880VC@HNcRH<-F#a*^VrKjBccVBPR4)oh2){JemsBXy_7bK~GjS|ndVpYvM+ zg<)?$#OppmHFBmxu#II&rBgg#m#OG zh`$#4bt~aamGS*oX6d}6Rc%8C@N^YL0(r*F0eL=3fq)*(yPN(sOc(L<^+ zi25{QutU@VrfB^=BLh-ny6pi)S(p0pPX;!a4gu8v|CfzW_t<@;p%~b)^vDjre|Rt_ zk5Bs(Yr{&Yb0{CF@z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