lyfO_o
2022-04-07 3114376a8a061ae86762155a7da0b3d5afef1ceb
Merge remote-tracking branch 'remotes/origin/shf' into master
已修改12个文件
已删除1个文件
202 ■■■■ 文件已修改
.idea/inspectionProfiles/Project_Default.xml 6 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/assets/menu/dash.svg 4 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/assets/menu/facilities.svg 6 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/assets/menu/security.svg 4 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/router/index.js 4 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/contingencyplan/index.vue 72 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/safetyproduction/checklist.vue 27 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/safetyproduction/checklistself.vue 23 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/safetyproduction/feature.vue 32 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/safetyproduction/gojudging.vue 7 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/safetyproduction/new.vue 13 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/safetyproduction/review.vue 2 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/safetyproduction/reviewXG.vue 2 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
.idea/inspectionProfiles/Project_Default.xml
文件已删除
src/assets/menu/dash.svg
@@ -5,6 +5,6 @@
    <desc>Created with Sketch.</desc>
    <g id="icon/menu/dash" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
        <g id="dashboard" transform="translate(2.000000, 3.000000)"></g>
        <path d="M4.57175,9.25925 C4.57175,9.023 4.48775,8.8205 4.3205,8.65325 C4.15325,8.486 3.9515,8.402 3.71525,8.402 C3.479,8.402 3.2765,8.486 3.10925,8.65325 C2.942,8.8205 2.858,9.02225 2.858,9.25925 C2.858,9.4955 2.942,9.698 3.10925,9.86525 C3.2765,10.0325 3.479,10.1165 3.71525,10.1165 C3.9515,10.1165 4.154,10.0325 4.32125,9.86525 C4.4885,9.698 4.57175,9.4955 4.57175,9.25925 L4.57175,9.25925 Z M5.858,6.25925 C5.858,6.023 5.774,5.8205 5.60675,5.65325 C5.4395,5.486 5.237,5.402 5.00075,5.402 C4.7645,5.402 4.562,5.486 4.39475,5.65325 C4.2275,5.8205 4.1435,6.023 4.1435,6.25925 C4.1435,6.4955 4.2275,6.698 4.39475,6.86525 C4.562,7.0325 4.76375,7.1165 5.00075,7.1165 C5.237,7.1165 5.4395,7.0325 5.60675,6.86525 C5.774,6.698 5.858,6.49625 5.858,6.25925 L5.858,6.25925 Z M8.72375,9.4805 L9.40025,6.923 C9.42725,6.80675 9.41,6.69875 9.34925,6.59825 C9.28925,6.497 9.203,6.43175 9.09125,6.401 C8.98025,6.37025 8.873,6.3845 8.77025,6.4445 C8.6675,6.5045 8.60075,6.593 8.56925,6.70925 L7.89275,9.26675 C7.625,9.28925 7.3865,9.386 7.1765,9.5585 C6.9665,9.73025 6.82625,9.95075 6.755,10.2185 C6.66575,10.56275 6.71075,10.88825 6.8885,11.1965 C7.067,11.50475 7.328,11.70275 7.6715,11.792 C8.01575,11.88125 8.34125,11.83625 8.6495,11.6585 C8.95775,11.48 9.15575,11.219 9.245,10.8755 C9.31625,10.60775 9.30275,10.34675 9.2045,10.0925 C9.10625,9.83825 8.945,9.635 8.72225,9.48275 L8.72375,9.4805 L8.72375,9.4805 Z M13.14275,9.25925 C13.14275,9.023 13.05875,8.8205 12.8915,8.65325 C12.72425,8.486 12.52175,8.402 12.2855,8.402 C12.04925,8.402 11.84675,8.486 11.6795,8.65325 C11.51225,8.8205 11.42825,9.023 11.42825,9.25925 C11.42825,9.4955 11.51225,9.698 11.6795,9.86525 C11.84675,10.0325 12.04925,10.1165 12.2855,10.1165 C12.52175,10.1165 12.72425,10.0325 12.8915,9.86525 C13.0595,9.698 13.14275,9.4955 13.14275,9.25925 L13.14275,9.25925 Z M8.85725,4.97375 C8.85725,4.7375 8.77325,4.535 8.606,4.36775 C8.43875,4.2005 8.237,4.1165 8.00075,4.1165 C7.7645,4.1165 7.562,4.2005 7.39475,4.36775 C7.22675,4.535 7.1435,4.7375 7.1435,4.97375 C7.1435,5.21 7.22675,5.4125 7.39475,5.57975 C7.562,5.747 7.7645,5.831 8.00075,5.831 C8.237,5.831 8.4395,5.747 8.60675,5.57975 C8.774,5.4125 8.85725,5.21 8.85725,4.97375 L8.85725,4.97375 Z M11.85725,6.25925 C11.85725,6.023 11.77325,5.8205 11.606,5.65325 C11.43875,5.486 11.237,5.402 11,5.402 C10.76375,5.402 10.56125,5.486 10.394,5.65325 C10.22675,5.8205 10.14275,6.023 10.14275,6.25925 C10.14275,6.4955 10.22675,6.698 10.394,6.86525 C10.562,7.0325 10.76375,7.1165 11,7.1165 C11.23625,7.1165 11.43875,7.0325 11.606,6.86525 C11.77325,6.698 11.85725,6.49625 11.85725,6.25925 L11.85725,6.25925 Z M14,9.25925 C14,10.424 13.685,11.5025 13.05575,12.49325 C12.971,12.623 12.85025,12.6875 12.69425,12.6875 L3.3065,12.6875 C3.1505,12.6875 3.02975,12.623 2.945,12.49325 C2.315,11.50625 2,10.4285 2,9.25925 C2,8.447 2.15825,7.67 2.4755,6.929 C2.79275,6.188 3.21875,5.54975 3.75425,5.01425 C4.28975,4.47875 4.928,4.05275 5.669,3.7355 C6.41,3.41825 7.187,3.25925 7.99925,3.25925 C8.8115,3.25925 9.5885,3.4175 10.3295,3.73475 C11.0705,4.052 11.70875,4.478 12.24425,5.0135 C12.77975,5.549 13.20575,6.18725 13.523,6.92825 C13.84025,7.66925 13.9985,8.44625 13.9985,9.2585 L14,9.2585 L14,9.25925 Z" id="Shape" fill="#FFFFFF" fill-rule="nonzero"></path>
        <path d="M4.57175,9.25925 C4.57175,9.023 4.48775,8.8205 4.3205,8.65325 C4.15325,8.486 3.9515,8.402 3.71525,8.402 C3.479,8.402 3.2765,8.486 3.10925,8.65325 C2.942,8.8205 2.858,9.02225 2.858,9.25925 C2.858,9.4955 2.942,9.698 3.10925,9.86525 C3.2765,10.0325 3.479,10.1165 3.71525,10.1165 C3.9515,10.1165 4.154,10.0325 4.32125,9.86525 C4.4885,9.698 4.57175,9.4955 4.57175,9.25925 L4.57175,9.25925 Z M5.858,6.25925 C5.858,6.023 5.774,5.8205 5.60675,5.65325 C5.4395,5.486 5.237,5.402 5.00075,5.402 C4.7645,5.402 4.562,5.486 4.39475,5.65325 C4.2275,5.8205 4.1435,6.023 4.1435,6.25925 C4.1435,6.4955 4.2275,6.698 4.39475,6.86525 C4.562,7.0325 4.76375,7.1165 5.00075,7.1165 C5.237,7.1165 5.4395,7.0325 5.60675,6.86525 C5.774,6.698 5.858,6.49625 5.858,6.25925 L5.858,6.25925 Z M8.72375,9.4805 L9.40025,6.923 C9.42725,6.80675 9.41,6.69875 9.34925,6.59825 C9.28925,6.497 9.203,6.43175 9.09125,6.401 C8.98025,6.37025 8.873,6.3845 8.77025,6.4445 C8.6675,6.5045 8.60075,6.593 8.56925,6.70925 L7.89275,9.26675 C7.625,9.28925 7.3865,9.386 7.1765,9.5585 C6.9665,9.73025 6.82625,9.95075 6.755,10.2185 C6.66575,10.56275 6.71075,10.88825 6.8885,11.1965 C7.067,11.50475 7.328,11.70275 7.6715,11.792 C8.01575,11.88125 8.34125,11.83625 8.6495,11.6585 C8.95775,11.48 9.15575,11.219 9.245,10.8755 C9.31625,10.60775 9.30275,10.34675 9.2045,10.0925 C9.10625,9.83825 8.945,9.635 8.72225,9.48275 L8.72375,9.4805 L8.72375,9.4805 Z M13.14275,9.25925 C13.14275,9.023 13.05875,8.8205 12.8915,8.65325 C12.72425,8.486 12.52175,8.402 12.2855,8.402 C12.04925,8.402 11.84675,8.486 11.6795,8.65325 C11.51225,8.8205 11.42825,9.023 11.42825,9.25925 C11.42825,9.4955 11.51225,9.698 11.6795,9.86525 C11.84675,10.0325 12.04925,10.1165 12.2855,10.1165 C12.52175,10.1165 12.72425,10.0325 12.8915,9.86525 C13.0595,9.698 13.14275,9.4955 13.14275,9.25925 L13.14275,9.25925 Z M8.85725,4.97375 C8.85725,4.7375 8.77325,4.535 8.606,4.36775 C8.43875,4.2005 8.237,4.1165 8.00075,4.1165 C7.7645,4.1165 7.562,4.2005 7.39475,4.36775 C7.22675,4.535 7.1435,4.7375 7.1435,4.97375 C7.1435,5.21 7.22675,5.4125 7.39475,5.57975 C7.562,5.747 7.7645,5.831 8.00075,5.831 C8.237,5.831 8.4395,5.747 8.60675,5.57975 C8.774,5.4125 8.85725,5.21 8.85725,4.97375 L8.85725,4.97375 Z M11.85725,6.25925 C11.85725,6.023 11.77325,5.8205 11.606,5.65325 C11.43875,5.486 11.237,5.402 11,5.402 C10.76375,5.402 10.56125,5.486 10.394,5.65325 C10.22675,5.8205 10.14275,6.023 10.14275,6.25925 C10.14275,6.4955 10.22675,6.698 10.394,6.86525 C10.562,7.0325 10.76375,7.1165 11,7.1165 C11.23625,7.1165 11.43875,7.0325 11.606,6.86525 C11.77325,6.698 11.85725,6.49625 11.85725,6.25925 L11.85725,6.25925 Z M14,9.25925 C14,10.424 13.685,11.5025 13.05575,12.49325 C12.971,12.623 12.85025,12.6875 12.69425,12.6875 L3.3065,12.6875 C3.1505,12.6875 3.02975,12.623 2.945,12.49325 C2.315,11.50625 2,10.4285 2,9.25925 C2,8.447 2.15825,7.67 2.4755,6.929 C2.79275,6.188 3.21875,5.54975 3.75425,5.01425 C4.28975,4.47875 4.928,4.05275 5.669,3.7355 C6.41,3.41825 7.187,3.25925 7.99925,3.25925 C8.8115,3.25925 9.5885,3.4175 10.3295,3.73475 C11.0705,4.052 11.70875,4.478 12.24425,5.0135 C12.77975,5.549 13.20575,6.18725 13.523,6.92825 C13.84025,7.66925 13.9985,8.44625 13.9985,9.2585 L14,9.2585 L14,9.25925 Z" id="Shape" fill="#909399" fill-rule="nonzero"></path>
    </g>
</svg>
</svg>
src/assets/menu/facilities.svg
@@ -6,8 +6,8 @@
    <g id="icon/menu/facilities" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
        <g id="科研系统" transform="translate(2.000000, 2.000000)" fill-rule="nonzero">
            <rect id="Rectangle" fill="#333333" opacity="0" x="0" y="0" width="12" height="12"></rect>
            <path d="M7.921875,1.87488281 L4.10155078,1.87488281 C3.89444531,1.87488281 3.72655078,1.70698828 3.72655078,1.49988281 C3.72655078,1.29277734 3.89444531,1.12488281 4.10155078,1.12488281 L7.921875,1.12488281 C8.12898047,1.12488281 8.296875,1.29277734 8.296875,1.49988281 C8.296875,1.70698828 8.12898047,1.87488281 7.921875,1.87488281 Z M8.79331641,11.2525664 L3.24151172,11.2525664 C2.87824091,11.2524296 2.521375,11.1569 2.20661719,10.9755352 C1.90273828,10.800293 1.64558203,10.5492539 1.46295703,10.2495586 C1.15105078,9.73773047 1.14554297,9.09544922 1.44856641,8.57333203 L1.45033594,8.57030859 L4.60209375,3.25490625 C4.70771484,3.07675781 4.93777734,3.01795312 5.11591406,3.12360937 C5.2940625,3.22924219 5.35284375,3.45928125 5.24721094,3.63742969 L2.0964375,8.95116797 C1.93232812,9.23505469 1.93495312,9.58285547 2.10339844,9.85926562 C2.34520312,10.2560625 2.78130469,10.5025664 3.24151172,10.5025664 L8.79331641,10.5025664 C9.17477344,10.5025664 9.53932031,10.3364766 9.7935,10.0468828 C10.0722773,9.72925781 10.1204531,9.26351953 9.91386328,8.88682031 L6.82567969,3.57394922 C6.72160547,3.39489844 6.78239062,3.165375 6.96144141,3.06128906 C7.14052734,2.95721484 7.37002734,3.018 7.47410156,3.19705078 L10.566457,8.51708203 L10.5683906,8.52058594 C10.9296797,9.17384766 10.8448008,9.98603906 10.3571953,10.5416133 C9.96063281,10.9934297 9.39062109,11.2525664 8.79331641,11.2525664 L8.79331641,11.2525664 Z" id="Shape" fill="#FFFFFF"></path>
            <path d="M4.92304687,3.796875 C4.71594141,3.796875 4.54804687,3.62898047 4.54804687,3.421875 L4.54804687,1.61294531 C4.54804687,1.40583984 4.71594141,1.23794531 4.92304687,1.23794531 C5.13015234,1.23794531 5.29804687,1.40583984 5.29804687,1.61294531 L5.29804687,3.421875 C5.29804687,3.62898047 5.13015234,3.796875 4.92304687,3.796875 Z M7.1484375,3.68382422 C6.94133203,3.68382422 6.7734375,3.51592969 6.7734375,3.30882422 L6.7734375,1.49988281 C6.7734375,1.29277734 6.94133203,1.12488281 7.1484375,1.12488281 C7.35554297,1.12488281 7.5234375,1.29277734 7.5234375,1.49988281 L7.5234375,3.3088125 C7.5234375,3.51592969 7.35554297,3.68382422 7.1484375,3.68382422 L7.1484375,3.68382422 Z M9.73828125,10.6054688 L2.39105859,10.6054688 C2.31371484,10.6054688 1.65234375,10.0265625 1.65234375,9.94921875 L2.25043359,7.64021484 C2.25043359,7.56287109 2.31371484,7.49958984 2.39105859,7.49958984 L9.73828125,7.49958984 C9.815625,7.49958984 9.87890625,7.56287109 9.87890625,7.64021484 L10.3476562,9.92578125 C10.3476562,10.003125 9.815625,10.6054688 9.73828125,10.6054688 Z" id="Shape" fill="#FFFFFF"></path>
            <path d="M7.921875,1.87488281 L4.10155078,1.87488281 C3.89444531,1.87488281 3.72655078,1.70698828 3.72655078,1.49988281 C3.72655078,1.29277734 3.89444531,1.12488281 4.10155078,1.12488281 L7.921875,1.12488281 C8.12898047,1.12488281 8.296875,1.29277734 8.296875,1.49988281 C8.296875,1.70698828 8.12898047,1.87488281 7.921875,1.87488281 Z M8.79331641,11.2525664 L3.24151172,11.2525664 C2.87824091,11.2524296 2.521375,11.1569 2.20661719,10.9755352 C1.90273828,10.800293 1.64558203,10.5492539 1.46295703,10.2495586 C1.15105078,9.73773047 1.14554297,9.09544922 1.44856641,8.57333203 L1.45033594,8.57030859 L4.60209375,3.25490625 C4.70771484,3.07675781 4.93777734,3.01795312 5.11591406,3.12360937 C5.2940625,3.22924219 5.35284375,3.45928125 5.24721094,3.63742969 L2.0964375,8.95116797 C1.93232812,9.23505469 1.93495312,9.58285547 2.10339844,9.85926562 C2.34520312,10.2560625 2.78130469,10.5025664 3.24151172,10.5025664 L8.79331641,10.5025664 C9.17477344,10.5025664 9.53932031,10.3364766 9.7935,10.0468828 C10.0722773,9.72925781 10.1204531,9.26351953 9.91386328,8.88682031 L6.82567969,3.57394922 C6.72160547,3.39489844 6.78239062,3.165375 6.96144141,3.06128906 C7.14052734,2.95721484 7.37002734,3.018 7.47410156,3.19705078 L10.566457,8.51708203 L10.5683906,8.52058594 C10.9296797,9.17384766 10.8448008,9.98603906 10.3571953,10.5416133 C9.96063281,10.9934297 9.39062109,11.2525664 8.79331641,11.2525664 L8.79331641,11.2525664 Z" id="Shape" fill="#909399"></path>
            <path d="M4.92304687,3.796875 C4.71594141,3.796875 4.54804687,3.62898047 4.54804687,3.421875 L4.54804687,1.61294531 C4.54804687,1.40583984 4.71594141,1.23794531 4.92304687,1.23794531 C5.13015234,1.23794531 5.29804687,1.40583984 5.29804687,1.61294531 L5.29804687,3.421875 C5.29804687,3.62898047 5.13015234,3.796875 4.92304687,3.796875 Z M7.1484375,3.68382422 C6.94133203,3.68382422 6.7734375,3.51592969 6.7734375,3.30882422 L6.7734375,1.49988281 C6.7734375,1.29277734 6.94133203,1.12488281 7.1484375,1.12488281 C7.35554297,1.12488281 7.5234375,1.29277734 7.5234375,1.49988281 L7.5234375,3.3088125 C7.5234375,3.51592969 7.35554297,3.68382422 7.1484375,3.68382422 L7.1484375,3.68382422 Z M9.73828125,10.6054688 L2.39105859,10.6054688 C2.31371484,10.6054688 1.65234375,10.0265625 1.65234375,9.94921875 L2.25043359,7.64021484 C2.25043359,7.56287109 2.31371484,7.49958984 2.39105859,7.49958984 L9.73828125,7.49958984 C9.815625,7.49958984 9.87890625,7.56287109 9.87890625,7.64021484 L10.3476562,9.92578125 C10.3476562,10.003125 9.815625,10.6054688 9.73828125,10.6054688 Z" id="Shape" fill="#909399"></path>
        </g>
    </g>
</svg>
</svg>
src/assets/menu/security.svg
@@ -6,7 +6,7 @@
    <g id="icon/menu/security" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
        <g id="安全" transform="translate(2.000000, 2.000000)" fill-rule="nonzero">
            <rect id="Rectangle" fill="#333333" opacity="0" x="0" y="0" width="12" height="12"></rect>
            <path d="M9.912,2.58216 C9.79392,2.4732 9.63936,2.41872 9.48552,2.41872 C9.46728,2.41872 9.45816,2.41872 9.44016,2.41872 C9.43104,2.41872 9.3312,2.42784 9.17688,2.42784 C8.9136,2.42784 8.41464,2.4096 7.93392,2.29176 C7.31664,2.1468 6.59976,1.46616 6.39096,1.32984 C6.29136,1.26624 6.16416,1.23 6.04608,1.23 C5.92824,1.23 5.8104,1.26624 5.70144,1.32984 C5.67432,1.34808 4.93032,2.1192 4.20432,2.29176 C3.72336,2.4096 3.20616,2.42784 2.95224,2.42784 C2.7888,2.42784 2.6892,2.41872 2.68008,2.41872 C2.67096,2.41872 2.65272,2.41872 2.64384,2.41872 C2.4804,2.41872 2.3352,2.4732 2.21736,2.58216 C2.0904,2.69112 2.01792,2.85432 2.01792,3.01776 L2.01792,4.52376 C2.01792,10.07712 5.78328,10.79352 5.9376,10.82088 C5.97384,10.83 6.01032,10.83 6.04632,10.83 C6.08256,10.83 6.11928,10.83 6.15552,10.82088 C6.31872,10.79352 10.10232,10.07688 10.10232,4.52376 L10.10232,3.01776 C10.10232,2.85432 10.02936,2.69112 9.912,2.58216 L9.912,2.58216 Z" id="Path" fill="#FFFFFF"></path>
            <path d="M9.912,2.58216 C9.79392,2.4732 9.63936,2.41872 9.48552,2.41872 C9.46728,2.41872 9.45816,2.41872 9.44016,2.41872 C9.43104,2.41872 9.3312,2.42784 9.17688,2.42784 C8.9136,2.42784 8.41464,2.4096 7.93392,2.29176 C7.31664,2.1468 6.59976,1.46616 6.39096,1.32984 C6.29136,1.26624 6.16416,1.23 6.04608,1.23 C5.92824,1.23 5.8104,1.26624 5.70144,1.32984 C5.67432,1.34808 4.93032,2.1192 4.20432,2.29176 C3.72336,2.4096 3.20616,2.42784 2.95224,2.42784 C2.7888,2.42784 2.6892,2.41872 2.68008,2.41872 C2.67096,2.41872 2.65272,2.41872 2.64384,2.41872 C2.4804,2.41872 2.3352,2.4732 2.21736,2.58216 C2.0904,2.69112 2.01792,2.85432 2.01792,3.01776 L2.01792,4.52376 C2.01792,10.07712 5.78328,10.79352 5.9376,10.82088 C5.97384,10.83 6.01032,10.83 6.04632,10.83 C6.08256,10.83 6.11928,10.83 6.15552,10.82088 C6.31872,10.79352 10.10232,10.07688 10.10232,4.52376 L10.10232,3.01776 C10.10232,2.85432 10.02936,2.69112 9.912,2.58216 L9.912,2.58216 Z" id="Path" fill="#909399"></path>
        </g>
    </g>
</svg>
</svg>
src/router/index.js
@@ -107,7 +107,7 @@
        component: Layout,
        // redirect: '/contingencyplan',
        name: '安全生产标准化',
        meta: { title: '安全生产标准化', icon: 'el-icon-dash' },
        meta: { title: '安全生产标准化', icon: 'el-icon-security' },
        children: [
          {
            id: 1,
@@ -175,7 +175,7 @@
            path: '/majorHazardSourceMonitoring',
            component: Layout,
            name: '重大危险源监测',
            meta: { title: '重大危险源监测', icon: 'el-icon-dash' },
            meta: { title: '重大危险源监测', icon: 'el-icon-facilities' },
            children: [
                {
                    id: 1,
src/views/contingencyplan/index.vue
@@ -7,7 +7,7 @@
            <el-input v-model="listQuery.filter.name"></el-input>
          </el-form-item>
        </el-col>
        <el-col :span="4" style="text-align: center">
        <el-col :span="5" style="text-align: center">
          <el-button type="primary" class="btns" icon="el-icon-search" @click="find()"
            >搜索</el-button
          >
@@ -18,13 +18,40 @@
            class="btns"
            >新增</el-button
          >
            <el-button
                type="primary"
                class="btns"
                @click="reset()"
            >重置</el-button
            >
        </el-col>
      </el-row>
    </el-form>
    <el-table :data="list" border style="width: 100%">
      <el-table-column prop="name" align="center" label="预案名称" width="150">
      </el-table-column>
      <el-table-column prop="name" align="center" label="文件链接"> </el-table-column>
      <el-table-column prop="fileType" align="center" label="文件类型">
          <template slot-scope="scope">
              <span v-if="scope.row.fileType==0">图片</span>
              <span v-if="scope.row.fileType==1">文件</span>
          </template>
      </el-table-column>
        <el-table-column align="center" label="附件">
            <template slot-scope="scope">
                <div v-if="scope.row.fileType==0">
                    <img :src="envUrl+scope.row.fileList[0].fileUrl" @click="showViewer=true" style="max-width: 100px;height: auto"/>
                    <el-image-viewer
                        v-if="showViewer"
                        :on-close="()=>showViewer=false"
                        :url-list="scope.row.viewerList"
                    />
                </div>
                <div v-if="scope.row.fileType==1">
                    <span @click="downLoadFile(scope.row.fileList[0].fileUrl)" style="color: #3A71A8 ; cursor: pointer;">{{ scope.row.fileList[0].fileName }}</span>
                </div>
            </template>
        </el-table-column>
      <el-table-column prop="remark" align="center" label="备注"> </el-table-column>
      <el-table-column prop="createTime" align="center" label="创建时间"> </el-table-column>
      <el-table-column prop="updateTime" align="center" label="更新时间"> </el-table-column>
@@ -57,7 +84,7 @@
      style="text-align: right;margin-top: 20px;"
    >
    </el-pagination>
    <el-dialog :title="title" :visible.sync="dialogVisible":close-on-click-modal="false" width="40%">
    <el-dialog :title="title" :visible.sync="dialogVisible" :close-on-click-modal="false" width="40%">
      <el-form ref="form" :model="form" :rules="rules" label-width="80px">
        <el-form-item label="预案名称" prop="name">
          <el-input v-model="form.name"></el-input>
@@ -88,6 +115,7 @@
<script>
import uploadImg from "@/views/contingencyplan/uploadImg.vue";
import uploadFile from "@/views/contingencyplan/uploadFile.vue";
import elImageViewer from "element-ui/packages/image/src/image-viewer";
import {
  emergencyPlanList,
  emergencyPlanAdd,
@@ -95,12 +123,13 @@
  emergencyPlanDel,
} from "@/api/emergencyplan.js";
export default {
  components: { uploadImg , uploadFile},
  components: { uploadImg , uploadFile ,elImageViewer},
  data() {
    return {
        uploadDisabled:false,
      dialogVisible: false,
      title: "",
      pageSize: 10,
      recordTotal: 0,
@@ -127,12 +156,36 @@
          { required: true, message: "预案名称不能为空", trigger: "change" },
        ],
      },
        showViewer:false,
        viewerList:[],
        envUrl:process.env.IMG_API
    };
  },
  created() {
    this.emergencyPlan();
  },
  methods: {
      reset(){
          this.listQuery.filter={}
          this.listQuery.pageIndex=1
          this.listQuery.pageSize=10
          this.emergencyPlan();
      },
      downLoadFile(fileUrl){
          return this.$confirm(`确定下载该文件?`,'提示',{
              confirmButtonText:'确定',
              cancelButtonText:'取消',
              type:'warning',
          }).then(() =>{
              let a = document.createElement('a')
              a.href = process.env.BASE_API + '/upload/'+fileUrl
              a.click();
          })
      },
      changeFileType(){
          this.fileUrl=""
          this.fileName=""
@@ -164,6 +217,15 @@
        this.recordTotal = res.data.result.total
        this.pageSize=res.data.result.size;
        this.currentPage = res.data.result.current
          for (let i = 0 ; i < this.list.length ; i++){
              if (this.list[i].fileList!=null && this.list[i].fileList.length>0){
                  let viewerList = []
                  for (let j = 0 ; j<this.list[i].fileList.length ; j++){
                      viewerList.push(this.envUrl+this.list[i].fileList[j].fileUrl)
                  }
                  this.list[i].viewerList=viewerList
              }
          }
      }
    },
    emergencyPlanC(value, type) {
@@ -179,7 +241,7 @@
        this.fileList=[]
      } else {
        this.title = "编辑";
        this.form = value;
          this.form=JSON.parse(JSON.stringify(value));
        if (this.form.fileType==0){
            this.fileList=value.fileList
        } else{
src/views/safetyproduction/checklist.vue
@@ -79,6 +79,22 @@
              </p></el-col
            >
          </el-row>
          <el-row>
            <el-col :span="2"><p class="title">否决项:</p></el-col>
            <el-col :span="9"
              ><p class="title-type">
                {{ item.veto }}
              </p></el-col
            >
            <el-col :span="2" :offset="1"
              ><p class="title">扣分项:</p></el-col
            >
            <el-col :span="10"
              ><p class="title-type">
                {{ item.deductionList[index].name}}
              </p></el-col
            >
          </el-row>
        </div>
      </div>
      <!-- 修改 -->
@@ -147,7 +163,6 @@
                    v-model="form.standardizationRequirements"
                    placeholder=""
                    maxlength="250"
                    show-word-limit
                  ></el-input>
                </el-form-item>
              </el-col>
@@ -161,7 +176,6 @@
                    v-model="form.enterpriseStandard"
                    placeholder=""
                    maxlength="250"
                    show-word-limit
                  ></el-input>
                </el-form-item>
              </el-col>
@@ -175,7 +189,6 @@
                    v-model="form.reviewMethod"
                    placeholder=""
                    maxlength="250"
                    show-word-limit
                  ></el-input>
                </el-form-item>
              </el-col>
@@ -192,7 +205,6 @@
                    v-model="form.veto"
                    placeholder=""
                    maxlength="250"
                    show-word-limit
                  ></el-input>
                </el-form-item>
              </el-col>
@@ -364,6 +376,7 @@
      this.listQuery.filter.elementB = data.value;
      safetyInspectionItemList(this.listQuery).then((res) => {
        this.list = res.data.result.records;
        console.log("xxx",this.list)
      });
    },
    safetyInspectionItemC(id, type) {
@@ -509,7 +522,7 @@
}
.box-left {
  width: 20%;
  min-height: 800px;
  min-height: 850px;
  background-color: white;
  border-radius: 5px;
}
@@ -520,11 +533,15 @@
  width: 79%;
  background-color: rgb(223, 229, 235);
  border-radius: 5px;
  height: 850px;
  overflow-y:overlay;
}
.box-rights {
  width: 79%;
  background-color: #fff;
  border-radius: 5px;
   height: 850px;
  overflow-y:overlay;
}
.box-rightXQ {
  margin-bottom: 10px;
src/views/safetyproduction/checklistself.vue
@@ -9,13 +9,13 @@
        </el-col>
        <el-col :span="9">
          <el-form-item label="检查时间">
             <el-col :span="11">
      <el-date-picker
              style="width:100%"
              v-model="listQuery.filter.inspectionStartTime"
              type="date"
              format="yyyy-MM-dd"
              format="yyyy-MM-dd"
              placeholder="选择开始日期"
            >
            </el-date-picker>
@@ -26,7 +26,7 @@
              v-model="listQuery.filter.inspectionEndTime"
              style="width:100%"
              type="date"
              format="yyyy-MM-dd"
              format="yyyy-MM-dd"
              placeholder="选择结束日期"
            >
            </el-date-picker>
@@ -38,7 +38,7 @@
            <el-input v-model="listQuery.filter.inspectorName"></el-input>
          </el-form-item>
        </el-col>
        <el-col :span="4" style="text-align: center">
        <el-col :span="5" style="text-align: center">
          <el-button
            type="primary"
            icon="el-icon-search"
@@ -53,6 +53,12 @@
            @click="jump()"
            >新增</el-button
          >
            <el-button
                type="primary"
                class="btns"
                @click="reset()"
            >重置</el-button
            >
        </el-col>
      </el-row>
    </el-form>
@@ -132,6 +138,13 @@
    this.safetySelfInspectionL();
  },
  methods: {
      reset(){
          this.listQuery.filter={}
          this.listQuery.pageIndex=1
          this.listQuery.pageSize=10
          this.safetySelfInspectionL();
      },
    async safetySelfInspectionL() {
      var res = await safetySelfInspectionList(this.listQuery).then((res) => {
        if (res.data.code == 200) {
@@ -206,4 +219,4 @@
  background-color: #034ea2;
  border: 1px solid #034ea2;
}
</style>
</style>
src/views/safetyproduction/feature.vue
@@ -7,7 +7,24 @@
            <el-input v-model="listQuery.filter.name"></el-input>
          </el-form-item>
        </el-col>
        <el-col :span="4" style="text-align: center">
        <el-col :span="5">
            <el-form-item label="要素类型">
                <el-select
                    v-model="listQuery.filter.type"
                    placeholder="请选择"
                    style="width: 100%"
                >
                    <el-option
                        v-for="item in options"
                        :key="item.value"
                        :label="item.label"
                        :value="item.value"
                    >
                    </el-option>
                </el-select>
            </el-form-item>
        </el-col>
        <el-col :span="6" style="text-align: center">
          <el-button type="primary" icon="el-icon-search" @click="find()" class="btns"
            >搜索</el-button
          >
@@ -18,6 +35,12 @@
            @click="handleClick('', '新增')"
            >新增</el-button
          >
            <el-button
                type="primary"
                class="btns"
                @click="reset()"
            >重置</el-button
            >
        </el-col>
      </el-row>
    </el-form>
@@ -208,6 +231,13 @@
    this.elementManagementL();
  },
  methods: {
      reset(){
        this.listQuery.filter={}
          this.listQuery.pageIndex=1
          this.listQuery.pageSize=10
          this.elementManagementL();
      },
    async elementManagementL() {
      var res = await elementManagementList(this.listQuery);
      if (res.data.code == 200) {
src/views/safetyproduction/gojudging.vue
@@ -59,6 +59,8 @@
                <template slot-scope="scope">
                  <el-table
                    :data="scope.row.selfDeductionList"
                    border
                    :header-cell-style="{background:'#eef1f6',color:'#606266'}" :cell-style="{background:'#fff',color:'#606266'}"
                  >
                    <el-table-column prop="name" align="center" label="扣分项">
                    </el-table-column>
@@ -207,6 +209,8 @@
  background-color: white;
  border-radius: 5px;
  padding: 20px;
  height: 850px;
  overflow-y:overlay;
}
.title {
  font-size: 16px;
@@ -216,4 +220,7 @@
.titles {
  font-size: 14px;
}
.box-right /deep/ .el-table__expanded-cell{
  background-color: #fff !important;
}
</style>
src/views/safetyproduction/new.vue
@@ -69,7 +69,9 @@
                      type="expand"
                    >
                      <template slot-scope="scope">
                        <el-table :data="scope.row.deductionList"  :cell-style="{background:'#fff',color:'#606266'}">
                        <el-table border :data="scope.row.deductionList"
                        :header-cell-style="{background:'#eef1f6',color:'#606266'}" :cell-style="{background:'#fff',color:'#606266'}"
                        >
                          <el-table-column
                            prop="name"
                            align="center"
@@ -231,6 +233,8 @@
                safetySelfInspectionId: "",
                safetyInspectionItemId: "",
              }
              arr[i].child[j].deductionList= arr[i].child[j].selfDeductionList
              console.log(arr[i].child[j])
              capB.safetySelfInspectionId=arr[i].child[j].safetySelfInspectionId
              capB.safetyInspectionItemId=arr[i].child[j].safetyInspectionItemId
              cser.push(capB)
@@ -441,7 +445,7 @@
}
.box-left {
  width: 20%;
  min-height: 800px;
  min-height: 850px;
  background-color: white;
  border-radius: 5px;
}
@@ -453,6 +457,8 @@
  width: 79%;
  background-color: white;
  border-radius: 5px;
  height: 850px;
  overflow-y:overlay;
}
.title {
  font-size: 16px;
@@ -474,4 +480,7 @@
  background-color: #034ea2;
  border: 1px solid #034ea2;
}
.box-right /deep/ .el-table__expanded-cell{
  background-color: #fff !important;
}
</style>
src/views/safetyproduction/review.vue
@@ -332,6 +332,8 @@
  width: 100%;
  background-color: white;
  border-radius: 5px;
   height: 850px;
  overflow-y:overlay;
}
.box-right-content {
  padding: 15px 0;
src/views/safetyproduction/reviewXG.vue
@@ -320,6 +320,8 @@
  width: 100%;
  background-color: white;
  border-radius: 5px;
   height: 850px;
  overflow-y:overlay;
}
.box-right-content {
  padding: 15px 0;