diff --git a/src/app/pages/audit/audit-ing/audit-ing.component.ts b/src/app/pages/audit/audit-ing/audit-ing.component.ts
index 86c93bc..286285d 100644
--- a/src/app/pages/audit/audit-ing/audit-ing.component.ts
+++ b/src/app/pages/audit/audit-ing/audit-ing.component.ts
@@ -81,9 +81,9 @@ export class AuditIngComponent implements OnInit {
dispose(item) {
- console.log(item)
+ // console.log(item)
this.getData(item).then(res => {
- console.log('审批具体信息', res)
+ // console.log('审批具体信息', res)
item.getData = res
const modal = this.modal.create({
nzContent: AuditDisposeComponent,
@@ -189,6 +189,8 @@ export class AuditIngComponent implements OnInit {
}
return new Promise((resolve, reject) => {
let params = { id: item.itemId }
+
+ console.log('xxxxxxxxxxxxxxx走着了吗')
this.http.get(url, { params }).subscribe((data: any) => {
let auditLog = { rejectReason: item.rejectReason }
let organization = { displayName: item.organization ? item.organization.displayName : "" }
diff --git a/src/app/pages/audit/gas-base-info/gas-base-info.component.html b/src/app/pages/audit/gas-base-info/gas-base-info.component.html
index 8e7685e..11a6ee9 100644
--- a/src/app/pages/audit/gas-base-info/gas-base-info.component.html
+++ b/src/app/pages/audit/gas-base-info/gas-base-info.component.html
@@ -1,4 +1,4 @@
-
+
详情
@@ -12,7 +12,8 @@
-
+
@@ -75,6 +76,91 @@
+
+
加油机
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
油罐设备
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
输油管
+
+
+
+
+
+
+
+
+
+
+
+
+
+
油气回收
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
阀门
+
+
+
+
+
+
+
+
+
+
+
+
-
+
\ No newline at end of file
diff --git a/src/app/pages/audit/gas-base-info/gas-base-info.component.scss b/src/app/pages/audit/gas-base-info/gas-base-info.component.scss
index 8604584..b280cfd 100644
--- a/src/app/pages/audit/gas-base-info/gas-base-info.component.scss
+++ b/src/app/pages/audit/gas-base-info/gas-base-info.component.scss
@@ -1,47 +1,89 @@
+.box {
+ max-height: 520px;
+ overflow-y: auto;
+
+}
+
+::-webkit-input-placeholder {
+ /* WebKit browsers */
+ color: #345d85;
+}
+
+//滚动条样式
+::-webkit-scrollbar {
+ width: 5px;
+}
+
+::-webkit-scrollbar-thumb {
+ background-image: linear-gradient(#2495f8, #1c73c2, #0a3d6a, #061d3c);
+}
+
+::-webkit-scrollbar-track {
+ background-color: #061d3c;
+}
+
p {
- margin-bottom: 0;
- color: #C4E2FC;
- margin: 10px 0;
- img {
- width: 88px;
- height: 56px;
- cursor: pointer;
- }
-}
-label{ display: inline-block; vertical-align: middle; }
+ margin-bottom: 0;
+ color: #C4E2FC;
+ margin: 10px 0;
+
+ img {
+ width: 88px;
+ height: 56px;
+ cursor: pointer;
+ }
+}
+
+label {
+ display: inline-block;
+ vertical-align: middle;
+}
+
.marginLeft {
- width: 55%;
- overflow: hidden;
+ width: 55%;
+ overflow: hidden;
+}
+
+.marginLeft2 {
+ width: 100%;
+ overflow: hidden;
+
+ img {
+ width: 120px;
+ height: 80px;
+ }
}
+
.title {
- font-family: sybold;
+ font-family: sybold;
+ width: 100%;
+ height: 48px;
+ background: linear-gradient(270deg, rgba(35, 153, 255, 0) 0%, rgba(35, 153, 255, 0.57) 50%, rgba(35, 153, 255, 0) 100%);
+ display: flex;
+ align-items: center;
+ position: relative;
+
+ .titlecontent {
width: 100%;
- height: 48px;
+ height: 32px;
+ line-height: 32px;
background: linear-gradient(270deg, rgba(35, 153, 255, 0) 0%, rgba(35, 153, 255, 0.57) 50%, rgba(35, 153, 255, 0) 100%);
- display: flex;
- align-items: center;
- position: relative;
-
- .titlecontent {
- width: 100%;
- height: 32px;
- line-height: 32px;
- background: linear-gradient(270deg, rgba(35, 153, 255, 0) 0%, rgba(35, 153, 255, 0.57) 50%, rgba(35, 153, 255, 0) 100%);
- text-align: center;
- color: #91CCFF;
- font-size: 16px;
- }
-
- i {
- position: absolute;
- right: 12px;
- color: #fff;
- font-size: 18px;
- cursor: pointer;
- }
-}
-.recordP{
- display: flex;
- justify-content: space-between;
- align-items: center;
-}
\ No newline at end of file
+ text-align: center;
+ color: #91CCFF;
+ font-size: 16px;
+ }
+
+ i {
+ position: absolute;
+ right: 12px;
+ color: #fff;
+ font-size: 18px;
+ cursor: pointer;
+ }
+}
+
+.recordP {
+ display: flex;
+ justify-content: space-between;
+ align-items: center;
+}
diff --git a/src/app/pages/audit/gas-base-info/gas-base-info.component.ts b/src/app/pages/audit/gas-base-info/gas-base-info.component.ts
index 2a21d19..d5ecea4 100644
--- a/src/app/pages/audit/gas-base-info/gas-base-info.component.ts
+++ b/src/app/pages/audit/gas-base-info/gas-base-info.component.ts
@@ -1,7 +1,7 @@
import { HttpClient } from '@angular/common/http';
import { Component, Input, OnInit } from '@angular/core';
import { NzModalRef } from 'ng-zorro-antd/modal';
-
+import Viewer from 'viewerjs';
@Component({
selector: 'app-gas-base-info',
templateUrl: './gas-base-info.component.html',
@@ -9,7 +9,7 @@ import { NzModalRef } from 'ng-zorro-antd/modal';
})
export class GasBaseInfoComponent implements OnInit {
- constructor(private modal: NzModalRef,private http: HttpClient) { }
+ constructor(private modal: NzModalRef, private http: HttpClient) { }
@Input() data?: any;
isDetails: boolean = false; //是否是详情
@@ -24,14 +24,36 @@ export class GasBaseInfoComponent implements OnInit {
baseInfo: any = {
stationType: null,
}
+
+ otherData
getBaseInfo() {
let params = { organizationUnitId: this.data.organizationId }
- this.http.get('/api/services/app/GasStation/Get',{params}).subscribe((data: any)=>{
- data.result.govUnitDetail? data.result.govUnitDetail = JSON.parse(data.result.govUnitDetail) : null;
+ this.http.get('/api/services/app/GasStation/Get', { params }).subscribe((data: any) => {
+ data.result.govUnitDetail ? data.result.govUnitDetail = JSON.parse(data.result.govUnitDetail) : null;
this.baseInfo = data.result
+ this.baseInfo.otherData ? this.otherData = JSON.parse(this.baseInfo.otherData) : null
+ console.log('otherData', this.otherData)
})
}
-
+ //查看图片
+ viewImg(url) {
+ let dom = document.getElementById(`viewerjs`)
+ let pObjs = dom.childNodes;
+ let node = document.createElement("img")
+ node.style.display = "none";
+ node.src = url;
+ node.id = 'img'
+ dom.appendChild(node)
+ setTimeout(() => {
+ let viewer = new Viewer(document.getElementById(`viewerjs`), {
+ hidden: () => {
+ dom.removeChild(pObjs[0]);
+ viewer.destroy();
+ }
+ });
+ node.click();
+ }, 0);
+ }
destroyModal() {
this.modal.destroy({ data: 'this the result data' });
}
@@ -43,7 +65,7 @@ export class GasBaseInfoComponent implements OnInit {
return
}
let params = { orgId: this.data.organizationId }
- this.http.get(`/api/services/app/GasStation/GetAuditted`,{params}).subscribe((data: any)=>{
+ this.http.get(`/api/services/app/GasStation/GetAuditted`, { params }).subscribe((data: any) => {
//this.auditList = data.result.actionList || []
console.log(data)
})
@@ -52,7 +74,7 @@ export class GasBaseInfoComponent implements OnInit {
//获取审核次数
getVerifyNum(): number {
let num = 0
- this.auditList.forEach(item=>{
+ this.auditList.forEach(item => {
if (item.auditStatus == 2 || item.auditStatus == 3) {
num = num + 1
}
@@ -63,7 +85,7 @@ export class GasBaseInfoComponent implements OnInit {
//获取驳回次数
getRejectNum(): number {
let num = 0
- this.auditList.forEach(item=>{
+ this.auditList.forEach(item => {
if (item.auditStatus == 3) {
num = num + 1
}
diff --git a/src/app/pages/oil-station-info/oil-station-info.component.html b/src/app/pages/oil-station-info/oil-station-info.component.html
index 72eb763..dd807d1 100644
--- a/src/app/pages/oil-station-info/oil-station-info.component.html
+++ b/src/app/pages/oil-station-info/oil-station-info.component.html
@@ -301,136 +301,410 @@
-
-
-
- 审核中...
-
-
+
+
+
+
+ 油罐设备
+
+
+
-->
+
+
+
+
+
+
+
+
+
+
+
+