浏览代码

更改领导本接口,更改人员请假

sunyanqiang 2 年之前
父节点
当前提交
8cfc6733e4
共有 34 个文件被更改,包括 554 次插入341 次删除
  1. 4 3
      src/api/grassrootsregistration/bdglarmament.js
  2. 4 3
      src/api/grassrootsregistration/bdgldrill.js
  3. 4 3
      src/api/grassrootsregistration/bdglequip.js
  4. 4 3
      src/api/grassrootsregistration/bdglfilemanagement.js
  5. 4 3
      src/api/grassrootsregistration/bdglpublicproperty.js
  6. 4 3
      src/api/grassrootsregistration/bdglsecrecy.js
  7. 6 4
      src/components/look_word/bdgldiary.vue
  8. 95 60
      src/components/look_word/bdglequip.vue
  9. 30 19
      src/views/combatduty/Quantitative/index.vue
  10. 5 45
      src/views/combatduty/info/index.vue
  11. 1 1
      src/views/combatduty/taskdutyinfo/index.vue
  12. 26 8
      src/views/grassrootsregistration/bdglarmament/index.vue
  13. 14 2
      src/views/grassrootsregistration/bdglarmaments/index.vue
  14. 9 3
      src/views/grassrootsregistration/bdgldrill/index.vue
  15. 15 3
      src/views/grassrootsregistration/bdgldrills/index.vue
  16. 29 37
      src/views/grassrootsregistration/bdglequip/index.vue
  17. 14 2
      src/views/grassrootsregistration/bdglequips/index.vue
  18. 21 4
      src/views/grassrootsregistration/bdglevens/index.vue
  19. 9 2
      src/views/grassrootsregistration/bdglfilemanagement/index.vue
  20. 15 4
      src/views/grassrootsregistration/bdglfilemanagements/index.vue
  21. 19 2
      src/views/grassrootsregistration/bdglmeetings/index.vue
  22. 21 5
      src/views/grassrootsregistration/bdglpartys/index.vue
  23. 10 2
      src/views/grassrootsregistration/bdglpublicproperty/index.vue
  24. 57 42
      src/views/grassrootsregistration/bdglpublicpropertys/index.vue
  25. 10 6
      src/views/grassrootsregistration/bdglsecrecy/index.vue
  26. 35 22
      src/views/grassrootsregistration/bdglsecrecys/index.vue
  27. 21 4
      src/views/grassrootsregistration/bdglsoldiers/index.vue
  28. 12 13
      src/views/peopleChuRu/bdglLeave/index.vue
  29. 2 2
      src/views/regulations/fileinfo/index.vue
  30. 1 1
      src/views/taishi/index.vue
  31. 1 1
      src/views/taishi/tanshi1.vue
  32. 12 2
      src/views/thought/getready/index.vue
  33. 29 25
      src/views/thought/parliament/index.vue
  34. 11 2
      src/views/thought/teacherFile/index.vue

+ 4 - 3
src/api/grassrootsregistration/bdglarmament.js

@@ -17,10 +17,11 @@ export function getBdglarmament(id) {
   })
   })
 }
 }
 // 查看军械装备登记簿详细
 // 查看军械装备登记簿详细
-export function armamentunits(id) {
+export function armamentunits(query) {
   return request({
   return request({
-    url: '/grassrootsregistration/bdglarmament/armamentunits?unitid=' + id,
-    method: 'get'
+    url: '/grassrootsregistration/bdglarmament/armamentunits',
+    method: 'get',
+    params: query
   })
   })
 }
 }
 
 

+ 4 - 3
src/api/grassrootsregistration/bdgldrill.js

@@ -10,10 +10,11 @@ export function listBdgldrill(query) {
 }
 }
 
 
 // 查看军事训练登记簿详细
 // 查看军事训练登记簿详细
-export function getInfoByUnitId(id) {
+export function getInfoByUnitId(query) {
   return request({
   return request({
-    url: '/grassrootsregistration/bdgldrill/getInfoByUnitId?unitId=' + id,
-    method: 'get'
+    url: '/grassrootsregistration/bdgldrill/getInfoByUnitId',
+    method: 'get',
+    params: query
   })
   })
 }
 }
 // 修改军事训练登记簿详细
 // 修改军事训练登记簿详细

+ 4 - 3
src/api/grassrootsregistration/bdglequip.js

@@ -18,10 +18,11 @@ export function getBdglequip(id) {
 }
 }
 
 
 // 查看训练器材/教材登记薄详细
 // 查看训练器材/教材登记薄详细
-export function equipuntits(id) {
+export function equipuntits(query) {
   return request({
   return request({
-    url: '/grassrootsregistration/bdglequip/equipunits?unitid=' + id,
-    method: 'get'
+    url: '/grassrootsregistration/bdglequip/equipunits' ,
+    method: 'get',
+    params: query
   })
   })
 }
 }
 // 预览训练器材/教材登记薄
 // 预览训练器材/教材登记薄

+ 4 - 3
src/api/grassrootsregistration/bdglfilemanagement.js

@@ -18,10 +18,11 @@ export function getBdglfilemanagement(id) {
 }
 }
 
 
 // 查看文件管理登计本详细
 // 查看文件管理登计本详细
-export function fileunits(id) {
+export function fileunits(query) {
   return request({
   return request({
-    url: '/grassrootsregistration/bdglfilemanagement/fileunits?unitid=' + id,
-    method: 'get'
+    url: '/grassrootsregistration/bdglfilemanagement/fileunits',
+    method: 'get',
+    params: query
   })
   })
 }
 }
 
 

+ 4 - 3
src/api/grassrootsregistration/bdglpublicproperty.js

@@ -18,10 +18,11 @@ export function getBdglpublicproperty(id) {
 }
 }
 
 
 // 查看营产,公物管理登记簿详细
 // 查看营产,公物管理登记簿详细
-export function publiccpropertyunits(id) {
+export function publiccpropertyunits(query) {
   return request({
   return request({
-    url: '/grassrootsregistration/bdglpublicproperty/publiccpropertyunits?unitid=' + id,
-    method: 'get'
+    url: '/grassrootsregistration/bdglpublicproperty/publiccpropertyunits',
+    method: 'get',
+    params: query
   })
   })
 }
 }
 
 

+ 4 - 3
src/api/grassrootsregistration/bdglsecrecy.js

@@ -17,10 +17,11 @@ export function getBdglsecrecy(id) {
   })
   })
 }
 }
 // 查看/手机/涉密载体登记本详细
 // 查看/手机/涉密载体登记本详细
-export function units(unitid, sdate) {
+export function units(query) {
   return request({
   return request({
-    url: `/grassrootsregistration/bdglsecrecy/units?unitid=${unitid}&sdate=${sdate}`,
-    method: 'get'
+    url: `/grassrootsregistration/bdglsecrecy/units`,
+    method: 'get',
+    params: query
   })
   })
 }
 }
 
 

+ 6 - 4
src/components/look_word/bdgldiary.vue

@@ -770,15 +770,17 @@ export default {
             Date.parse(new Date(item.returnTime)) -
             Date.parse(new Date(item.returnTime)) -
             Date.parse(new Date(item.endTime));
             Date.parse(new Date(item.endTime));
           if (nums % 1 != 0) {
           if (nums % 1 != 0) {
-            nums = (nums / 3600 / 1000).toFixed(1);
+            // nums = (nums / 3600 / 1000).toFixed(1);
           } else {
           } else {
-            nums = nums / 3600 / 1000;
+            // nums = nums / 3600 / 1000;
+            nums = (nums / 3600 / 1000).toFixed(1);
           }
           }
           if (chao >= 0) {
           if (chao >= 0) {
             if (chao % 1 != 0) {
             if (chao % 1 != 0) {
-              chao = (chao / 3600 / 1000).toFixed(1);
+              // chao = (chao / 3600 / 1000).toFixed(1);
             } else {
             } else {
-              chao = chao / 3600 / 1000;
+              // chao = chao / 3600 / 1000;
+              chao = (chao / 3600 / 1000).toFixed(1);
             }
             }
             this.message.bdglLeaveOneList[i].chao = chao;
             this.message.bdglLeaveOneList[i].chao = chao;
           }
           }

+ 95 - 60
src/components/look_word/bdglequip.vue

@@ -288,7 +288,9 @@
                 font-size: 16px;
                 font-size: 16px;
               "
               "
             >
             >
-              <span align="center" class="JR_right" v-if="message">{{ item.title }}</span>
+              <span align="center" class="JR_right" v-if="message">{{
+                item.title
+              }}</span>
             </td>
             </td>
             <td
             <td
               width="64"
               width="64"
@@ -299,7 +301,9 @@
                 font-size: 16px;
                 font-size: 16px;
               "
               "
             >
             >
-              <span align="center" class="JR_right" v-if="message">{{ item.unitName }}</span>
+              <span align="center" class="JR_right" v-if="message">{{
+                item.unitName
+              }}</span>
             </td>
             </td>
             <td
             <td
               width="54"
               width="54"
@@ -323,7 +327,9 @@
                 font-size: 16px;
                 font-size: 16px;
               "
               "
             >
             >
-              <span align="center" class="JR_right" v-if="message">{{ item.grantnum }}</span>
+              <span align="center" class="JR_right" v-if="message">{{
+                item.grantnum
+              }}</span>
             </td>
             </td>
             <td
             <td
               width="47"
               width="47"
@@ -334,7 +340,9 @@
                 font-size: 16px;
                 font-size: 16px;
               "
               "
             >
             >
-              <span align="center" class="JR_right" v-if="message">{{ item.ownnum }}</span>
+              <span align="center" class="JR_right" v-if="message">{{
+                item.ownnum
+              }}</span>
             </td>
             </td>
             <td
             <td
               width="55"
               width="55"
@@ -345,7 +353,9 @@
                 font-size: 16px;
                 font-size: 16px;
               "
               "
             >
             >
-              <span align="center" class="JR_right" v-if="message">{{ item.stocknum }}</span>
+              <span align="center" class="JR_right" v-if="message">{{
+                item.stocknum
+              }}</span>
             </td>
             </td>
             <td
             <td
               width="53"
               width="53"
@@ -356,8 +366,8 @@
                 font-size: 16px;
                 font-size: 16px;
               "
               "
             >
             >
-              <span align="center" class="JR_right " v-if="message">{{
-                item.intime | dataFormatyss
+              <span align="center" class="JR_right" v-if="message">{{
+                item.intime
               }}</span>
               }}</span>
             </td>
             </td>
             <td
             <td
@@ -369,7 +379,9 @@
                 font-size: 16px;
                 font-size: 16px;
               "
               "
             >
             >
-              <span align="center" class="JR_right" v-if="message">{{ item.innum }}</span>
+              <span align="center" class="JR_right" v-if="message">{{
+                item.innum
+              }}</span>
             </td>
             </td>
             <td
             <td
               width="72"
               width="72"
@@ -380,7 +392,9 @@
                 font-size: 16px;
                 font-size: 16px;
               "
               "
             >
             >
-              <span align="center" class="JR_right" v-if="message">{{ item.peopleName }}</span>
+              <span align="center" class="JR_right" v-if="message">{{
+                item.peopleName
+              }}</span>
             </td>
             </td>
             <td
             <td
               width="55"
               width="55"
@@ -391,9 +405,12 @@
                 font-size: 16px;
                 font-size: 16px;
               "
               "
             >
             >
-              <span align="center" class="JR_right" v-if="message">{{
-                item.outtime | dataFormatyss
-              }}</span>
+              <span
+                align="center"
+                class="JR_right"
+                v-if="message && item.outtime"
+                >{{ item.outtime }}</span
+              >
             </td>
             </td>
             <td
             <td
               width="46"
               width="46"
@@ -404,7 +421,9 @@
                 font-size: 16px;
                 font-size: 16px;
               "
               "
             >
             >
-              <span align="center" class="JR_right" v-if="message">{{ item.outnum }}</span>
+              <span align="center" class="JR_right" v-if="message">{{
+                item.outnum
+              }}</span>
             </td>
             </td>
             <td
             <td
               width="75"
               width="75"
@@ -428,7 +447,9 @@
                 font-size: 16px;
                 font-size: 16px;
               "
               "
             >
             >
-              <span align="center" class="JR_right" v-if="message">{{ item.quality }}</span>
+              <span align="center" class="JR_right" v-if="message">{{
+                item.quality
+              }}</span>
             </td>
             </td>
             <td
             <td
               width="55"
               width="55"
@@ -439,7 +460,9 @@
                 font-size: 16px;
                 font-size: 16px;
               "
               "
             >
             >
-              <span align="center" class="JR_right" v-if="message">{{ item.info }}</span>
+              <span align="center" class="JR_right" v-if="message">{{
+                item.info
+              }}</span>
             </td>
             </td>
           </tr>
           </tr>
         </tbody>
         </tbody>
@@ -555,53 +578,65 @@ export default {
         // footer: "测试页脚", //页脚标题
         // footer: "测试页脚", //页脚标题
         direction: "Horizontal", //默认或不填写为纵向,Horizontal 为横向
         direction: "Horizontal", //默认或不填写为纵向,Horizontal 为横向
         dom: "#contents", // dom节点
         dom: "#contents", // dom节点
-        num:0
+        num: 0,
       },
       },
     };
     };
   },
   },
   mounted() {
   mounted() {
-  if(this.message.length>0){
-    this.message.forEach((item, i) => {
-      item.outtime = this.zhuanhuan(item.outtime);
-      item.intime = this.zhuanhuan(item.intime);
-      item.granttime = this.zhuanhuan(item.granttime);
-      item.ids = i + 1;
-    });
-    //循环遍历
-    for (var i = 0; i < this.message.length; i++) {
-      //循环开始行
-      var start_row;
-      //需合并的行数
-      var rowspan = 1;
-      //循环到最后一行时
-      if (i == this.message.length - 1) {
-        //如果最后一行和倒数第二行属性不同,则rowspan=1;否则直接结束循环
-        if (this.message[i].type != this.message[i - 1].type) {
-          this.message[i].rowspan = rowspan;
+    if (this.message.length > 0) {
+      this.message.forEach((item, i) => {
+        if (item.outtime) {
+          item.outtime = this.zhuanhuan(item.outtime);
+        } else {
+          item.outtime = "";
         }
         }
-        break;
-      }
-      //内层循环记录rowspan的数量
-      for (var j = i; j < this.message.length - 1; j++) {
-        //记录循环结束的行数
-        start_row = j;
-        //属性相同则rowspan+1;否则直接结束内循环
-        if (this.message[j].type == this.message[j + 1].type) {
-          rowspan++;
+        if (item.intime) {
+          item.intime = this.zhuanhuan(item.intime);
         } else {
         } else {
+          item.intime = "";
+        }
+        if (item.granttime) {
+          item.granttime = this.zhuanhuan(item.granttime);
+        } else {
+          item.outtime = "";
+        }
+        item.ids = i + 1;
+      });
+      //循环遍历
+      for (var i = 0; i < this.message.length; i++) {
+        //循环开始行
+        var start_row;
+        //需合并的行数
+        var rowspan = 1;
+        //循环到最后一行时
+        if (i == this.message.length - 1) {
+          //如果最后一行和倒数第二行属性不同,则rowspan=1;否则直接结束循环
+          if (this.message[i].type != this.message[i - 1].type) {
+            this.message[i].rowspan = rowspan;
+          }
           break;
           break;
         }
         }
+        //内层循环记录rowspan的数量
+        for (var j = i; j < this.message.length - 1; j++) {
+          //记录循环结束的行数
+          start_row = j;
+          //属性相同则rowspan+1;否则直接结束内循环
+          if (this.message[j].type == this.message[j + 1].type) {
+            rowspan++;
+          } else {
+            break;
+          }
+        }
+        //为数组添加rowspan属性
+        this.message[i].rowspan = rowspan;
+        //控制外循环从内循环结束的行数开始
+        i = start_row;
       }
       }
-      //为数组添加rowspan属性
-      this.message[i].rowspan = rowspan;
-      //控制外循环从内循环结束的行数开始
-      i = start_row;
-    }
-    //页面渲染
-    var tbody = document.getElementById("tbody");
-    var html = ``;
-    for (var i = 0; i < this.message.length; i++) {
-      html += `<tr><td
+      //页面渲染
+      var tbody = document.getElementById("tbody");
+      var html = ``;
+      for (var i = 0; i < this.message.length; i++) {
+        html += `<tr><td
               width="35"
               width="35"
               valign="center"
               valign="center"
               style="
               style="
@@ -612,11 +647,11 @@ export default {
             >
             >
               <span align="center" class="JR_right" >${this.message[i].ids}</span>
               <span align="center" class="JR_right" >${this.message[i].ids}</span>
             </td>`;
             </td>`;
-      //动态添加rowspan属性
-      if (this.message[i].rowspan != null) {
-        html += `<td width="63" rowspan = '${this.message[i].rowspan}'>${this.message[i].type}</td>`;
-      }
-      html += `
+        //动态添加rowspan属性
+        if (this.message[i].rowspan != null) {
+          html += `<td width="63" rowspan = '${this.message[i].rowspan}'>${this.message[i].type}</td>`;
+        }
+        html += `
       <td
       <td
               width="82"
               width="82"
               valign="center"
               valign="center"
@@ -774,9 +809,9 @@ export default {
             </td>
             </td>
           </tr>
           </tr>
 `;
 `;
+      }
+      tbody.innerHTML = html;
     }
     }
-    tbody.innerHTML = html;
-  }
   },
   },
   methods: {
   methods: {
     daochu() {
     daochu() {

+ 30 - 19
src/views/combatduty/Quantitative/index.vue

@@ -40,7 +40,7 @@
             <div class="wrap-top-left-top-item">
             <div class="wrap-top-left-top-item">
               <div class="wrap-top-left-top-item-left">值 班 分 队 一</div>
               <div class="wrap-top-left-top-item-left">值 班 分 队 一</div>
               <div
               <div
-                class="wrap-top-left-top-item-right wrap-top-left-top-item-name"
+                class="wrap-top-left-top-item-right wrap-top-left-top-item-name box1"
                 :title="BaseOnDuty.detachmentoneName"
                 :title="BaseOnDuty.detachmentoneName"
               >
               >
                 {{ this.BaseOnDuty.detachmentoneName }}
                 {{ this.BaseOnDuty.detachmentoneName }}
@@ -69,7 +69,7 @@
             <div class="wrap-top-left-top-item">
             <div class="wrap-top-left-top-item">
               <div class="wrap-top-left-top-item-left">值 班 分 队 二</div>
               <div class="wrap-top-left-top-item-left">值 班 分 队 二</div>
               <div
               <div
-                class="wrap-top-left-top-item-right wrap-top-left-top-item-name"
+                class="wrap-top-left-top-item-right wrap-top-left-top-item-name box1"
                 :title="BaseOnDuty.detachmentwoName"
                 :title="BaseOnDuty.detachmentwoName"
               >
               >
                 {{ this.BaseOnDuty.detachmentwoName }}
                 {{ this.BaseOnDuty.detachmentwoName }}
@@ -137,7 +137,6 @@
             <div class="wrap-top-left-top-item-left">机要值班员</div>
             <div class="wrap-top-left-top-item-left">机要值班员</div>
             <div
             <div
               class="wrap-top-left-top-item-right wrap-top-left-top-item-name"
               class="wrap-top-left-top-item-right wrap-top-left-top-item-name"
-              style="margin-left: 22px"
               :title="GreatDuty1.confidentialName"
               :title="GreatDuty1.confidentialName"
             >
             >
               {{ this.GreatDuty1.confidentialName }}
               {{ this.GreatDuty1.confidentialName }}
@@ -149,6 +148,7 @@
             <div
             <div
               class="wrap-top-left-top-item-right wrap-top-left-top-item-name"
               class="wrap-top-left-top-item-right wrap-top-left-top-item-name"
               :title="GreatDuty1.dutyOffierName"
               :title="GreatDuty1.dutyOffierName"
+              style="margin-left: 10px"
             >
             >
               {{ this.GreatDuty1.dutyOffierName }}
               {{ this.GreatDuty1.dutyOffierName }}
             </div>
             </div>
@@ -399,8 +399,7 @@
               <tr>
               <tr>
                 <th style="font-weight: 500" height="40">序号</th>
                 <th style="font-weight: 500" height="40">序号</th>
                 <th style="font-weight: 500">车牌号码</th>
                 <th style="font-weight: 500">车牌号码</th>
-                <th style="font-weight: 500">厂牌型号</th>
-                <!-- <th style="font-weight: 500">车属单位</th> -->
+                <!-- <th style="font-weight: 500">厂牌型号</th> -->
                 <th style="font-weight: 500">司机</th>
                 <th style="font-weight: 500">司机</th>
                 <th style="font-weight: 500">司机位置</th>
                 <th style="font-weight: 500">司机位置</th>
               </tr>
               </tr>
@@ -411,16 +410,25 @@
                 :key="item.id"
                 :key="item.id"
               >
               >
                 <td style="color: #ccc" height="28">{{ index + 1 }}</td>
                 <td style="color: #ccc" height="28">{{ index + 1 }}</td>
-                <td style="color: #ccc">{{ item.numberPlateName }}</td>
-                <td style="color: #ccc">{{ item.modelInfo }}</td>
-                <!-- <el-table-column label="车辆型号" align="center" prop="vehiclemodel"> 
-                  <template slot-scope="scope">
-                     <dict-tag :options="dict.type.brand " :value="scope.row.vehiclemodel"/>
-                      </template> 
-                </el-table-column> -->
-                <!-- <td style="color: #ccc">{{ item.carUnitName }}</td> -->
-                <td style="color: #ccc">{{ item.driverName }}</td>
-                <td style="color: #ccc" class="shiyou">{{ item.adress }}</td>
+                <td
+                  style="
+                    color: #ccc;
+                    display: -webkit-box;
+                    -webkit-box-orient: vertical;
+                    -webkit-line-clamp: 2;
+                    overflow: hidden;
+                  "
+                  :title="item.numberPlateName"
+                >
+                  {{ item.numberPlateName }}
+                </td>
+                <!-- <td style="color: #ccc">{{ item.modelInfo }}</td>   -->
+                <td style="color: #ccc">
+                  {{ item.driverName }}
+                </td>
+                <td style="color: #ccc" class="shiyou">
+                  {{ item.adress }}
+                </td>
               </tr>
               </tr>
             </table>
             </table>
           </div>
           </div>
@@ -439,7 +447,6 @@
               <tr v-for="(item, index) in Equipment" :key="item.id">
               <tr v-for="(item, index) in Equipment" :key="item.id">
                 <td style="color: #ccc" height="28">{{ index + 1 }}</td>
                 <td style="color: #ccc" height="28">{{ index + 1 }}</td>
                 <td style="color: #ccc">{{ item.equipmentName }}</td>
                 <td style="color: #ccc">{{ item.equipmentName }}</td>
-                <!-- <td style="color: #ccc">{{ item.unitName }}</td> -->
                 <td style="color: #ccc">
                 <td style="color: #ccc">
                   <template>
                   <template>
                     <dict-tag
                     <dict-tag
@@ -558,7 +565,7 @@ export default {
     // // 军车值班接口
     // // 军车值班接口
     militaryDuty().then((res) => {
     militaryDuty().then((res) => {
       this.MilitaryDuty = res.rows;
       this.MilitaryDuty = res.rows;
-
+      console.log(res.rows);
       this.MilitaryDuty.map((item) => {
       this.MilitaryDuty.map((item) => {
         this.ziDian.map((items) => {
         this.ziDian.map((items) => {
           if (item.modelInfo == items.dictValue) {
           if (item.modelInfo == items.dictValue) {
@@ -748,7 +755,7 @@ body {
   justify-content: space-between;
   justify-content: space-between;
 }
 }
 .wrap-top-left-top-item-right {
 .wrap-top-left-top-item-right {
-  width: 60%;
+  width: 64%;
   height: 100%;
   height: 100%;
   font-size: 16px;
   font-size: 16px;
   line-height: 35px;
   line-height: 35px;
@@ -1035,10 +1042,14 @@ table tr td {
   height: 30px;
   height: 30px;
 }
 }
 .wrap-top-left-top-item-name {
 .wrap-top-left-top-item-name {
+
+  font-size: 16px;
+}
+.box1{
   display: -webkit-box;
   display: -webkit-box;
   -webkit-box-orient: vertical;
   -webkit-box-orient: vertical;
   -webkit-line-clamp: 1;
   -webkit-line-clamp: 1;
   overflow: hidden;
   overflow: hidden;
-  font-size: 16px;
+  margin-left: 8px;
 }
 }
 </style>
 </style>

+ 5 - 45
src/views/combatduty/info/index.vue

@@ -285,7 +285,7 @@
         style="color: pink"
         style="color: pink"
         :title="title3"
         :title="title3"
         :visible.sync="open33"
         :visible.sync="open33"
-        width="850px"
+        width="1200px"
         append-to-body
         append-to-body
         id="fileinfodocx"
         id="fileinfodocx"
         class="el-dialog__header"
         class="el-dialog__header"
@@ -303,7 +303,7 @@
       <el-dialog
       <el-dialog
         :title="title3"
         :title="title3"
         :visible.sync="previewDialog"
         :visible.sync="previewDialog"
-        width="850px"
+        width="1200px"
         append-to-body
         append-to-body
         id="fileinfopdf"
         id="fileinfopdf"
         class="el-dialog__header"
         class="el-dialog__header"
@@ -389,48 +389,6 @@
             label-width="130px"
             label-width="130px"
             :inline="true"
             :inline="true"
           >
           >
-            <!-- <el-form-item
-              label-width="100px"
-              prop="directory"
-              class="change_plan_type"
-            >
-              <el-select
-                v-model="form.directory"
-                placeholder="请选择目录"
-                clearable
-                size="small"
-                class="choose"
-              >
-                <el-option
-                  v-for="item in directory"
-                  :key="item.id"
-                  :label="item.directory"
-                  :value="item.directory"
-                  @click.native="chooseDirect(item.id)"
-                ></el-option>
-              </el-select>
-            </el-form-item>
-            <el-form-item
-              prop="subclassification"
-              class="change_plan_type"
-              id="son"
-            >
-              <el-select
-                v-model="form.subclassification"
-                placeholder="请选择子分类"
-                ref="dict"
-                clearable
-                size="small"
-              >
-                <el-option
-                  v-for="item in subclassification"
-                  :key="item.id"
-                  :label="item.directory"
-                  :value="item.directory"
-                  @click.native="soncategory(item.id)"
-                ></el-option>
-              </el-select>
-            </el-form-item> -->
             <el-form-item style=" margin-top: 10px">
             <el-form-item style=" margin-top: 10px">
               <FileUpload v-model="moreFile" />
               <FileUpload v-model="moreFile" />
             </el-form-item>
             </el-form-item>
@@ -880,5 +838,7 @@ export default {
   color: #fff !important;
   color: #fff !important;
   border: 1px solid #fff !important;
   border: 1px solid #fff !important;
 }
 }
-
+::v-deep .docx p, p.docx_Normal{
+  line-height: 2.00;
+}
 </style>
 </style>

+ 1 - 1
src/views/combatduty/taskdutyinfo/index.vue

@@ -213,7 +213,7 @@
       </el-table-column>
       </el-table-column>
       <el-table-column label="所在位置" align="center" prop="adress" />
       <el-table-column label="所在位置" align="center" prop="adress" />
       <el-table-column
       <el-table-column
-        label="由"
+        label="由"
         show-overflow-tooltip
         show-overflow-tooltip
         align="center"
         align="center"
         prop="question"
         prop="question"

+ 26 - 8
src/views/grassrootsregistration/bdglarmament/index.vue

@@ -120,7 +120,13 @@
         </template>
         </template>
       </el-table-column>
       </el-table-column>
       <el-table-column label="计量单位" align="center" prop="metering" />
       <el-table-column label="计量单位" align="center" prop="metering" />
-      <el-table-column label="交接依据" align="center" prop="gist" width="100"  show-overflow-tooltip/>
+      <el-table-column
+        label="交接依据"
+        align="center"
+        prop="gist"
+        width="100"
+        show-overflow-tooltip
+      />
       <el-table-column label="编制数量" align="center" prop="prepareNumber" />
       <el-table-column label="编制数量" align="center" prop="prepareNumber" />
       <el-table-column label="现有总数" align="center" prop="sum" />
       <el-table-column label="现有总数" align="center" prop="sum" />
       <el-table-column label="完好数量" align="center" prop="intactNumber" />
       <el-table-column label="完好数量" align="center" prop="intactNumber" />
@@ -162,7 +168,6 @@
           >
           >
         </template>
         </template>
       </el-table-column>
       </el-table-column>
-
     </el-table>
     </el-table>
 
 
     <pagination
     <pagination
@@ -273,9 +278,9 @@
         <el-form-item label="缺陷配套" prop="flaw">
         <el-form-item label="缺陷配套" prop="flaw">
           <el-input v-model="form.flaw" placeholder="请输入缺陷配套" />
           <el-input v-model="form.flaw" placeholder="请输入缺陷配套" />
         </el-form-item>
         </el-form-item>
-        <el-form-item label="登记人" prop="peopleId" >
+        <el-form-item label="登记人" prop="peopleId">
           <!-- <el-input v-model="form.peopleId" placeholder="请输入登记人" /> -->
           <!-- <el-input v-model="form.peopleId" placeholder="请输入登记人" /> -->
-          <el-select v-model="form.peopleId" placeholder="请选择人员"  clearable>
+          <el-select v-model="form.peopleId" placeholder="请选择人员" clearable>
             <el-option
             <el-option
               v-for="item in renYuan"
               v-for="item in renYuan"
               :key="item.id"
               :key="item.id"
@@ -288,7 +293,11 @@
           </el-select>
           </el-select>
         </el-form-item>
         </el-form-item>
         <el-form-item label="核对人" prop="peopleId1">
         <el-form-item label="核对人" prop="peopleId1">
-          <el-select v-model="form.peopleId1" placeholder="请选择人员"  clearable>
+          <el-select
+            v-model="form.peopleId1"
+            placeholder="请选择人员"
+            clearable
+          >
             <el-option
             <el-option
               v-for="item in renYuan"
               v-for="item in renYuan"
               :key="item.id"
               :key="item.id"
@@ -410,20 +419,29 @@ export default {
           { required: true, message: "单位名称不能为空", trigger: "blur" },
           { required: true, message: "单位名称不能为空", trigger: "blur" },
         ],
         ],
         name: [{ required: true, message: "名称不能为空", trigger: "blur" }],
         name: [{ required: true, message: "名称不能为空", trigger: "blur" }],
-        recordDate:[{ required: true, message: "登记时间不能为空", trigger: "blur" }]
+        recordDate: [
+          { required: true, message: "登记时间不能为空", trigger: "blur" },
+        ],
       },
       },
       //下拉
       //下拉
       options: [],
       options: [],
       // 人员
       // 人员
       renYuan: [],
       renYuan: [],
       roleOptions: [],
       roleOptions: [],
+      form1: {},
     };
     };
   },
   },
   created() {
   created() {
     this.getList();
     this.getList();
     this.getdept();
     this.getdept();
+    this.getYear();
   },
   },
   methods: {
   methods: {
+    getYear() {
+      var myDate = new Date();
+      var tYear = myDate.getFullYear();
+      this.form1.year = tYear;
+    },
     // 搜索时间触发
     // 搜索时间触发
     tiem() {
     tiem() {
       this.getList();
       this.getList();
@@ -572,8 +590,8 @@ export default {
     handleChakan(row) {
     handleChakan(row) {
       // 是否隐藏按钮
       // 是否隐藏按钮
       this.opens = false;
       this.opens = false;
-      const id = row.unitId;
-      armamentunits(id).then((response) => {
+      this.form1.unitid = row.unitId;
+      armamentunits(this.form1).then((response) => {
         this.wordInfo = response.data;
         this.wordInfo = response.data;
         this.title = "查看军械装备登记簿";
         this.title = "查看军械装备登记簿";
         this.menuRoleVisible = true;
         this.menuRoleVisible = true;

+ 14 - 2
src/views/grassrootsregistration/bdglarmaments/index.vue

@@ -80,15 +80,24 @@ export default {
       form: {},
       form: {},
       year: null,
       year: null,
       status: null,
       status: null,
+      form1:{}
     };
     };
   },
   },
 
 
   created() {
   created() {
     this.getSoulist();
     this.getSoulist();
+    this.getYear();
   },
   },
   methods: {
   methods: {
+     // 获取当前年
+     getYear() {
+      var myDate = new Date();
+      var tYear = myDate.getFullYear();
+      this.form1.year = tYear;
+    },
     resetQuery() {
     resetQuery() {
       this.form.year = null;
       this.form.year = null;
+      this.getYear();
       armamentList().then((res) => {
       armamentList().then((res) => {
         res.rows.forEach((item) => {
         res.rows.forEach((item) => {
           this.status = 1;
           this.status = 1;
@@ -114,8 +123,11 @@ export default {
       }
       }
     },
     },
     chaKan(row) {
     chaKan(row) {
-      const unitId = row;
-      armamentunits(unitId).then((response) => {
+      this.form1.unitid = row;
+      if (this.form.year) {
+        this.form1.year = this.form.year;
+      }
+      armamentunits(this.form1).then((response) => {
         if (response.data.length > 0) {
         if (response.data.length > 0) {
           this.wordInfo = response.data;
           this.wordInfo = response.data;
           this.title = "查看军械装备登记簿";
           this.title = "查看军械装备登记簿";

+ 9 - 3
src/views/grassrootsregistration/bdgldrill/index.vue

@@ -891,15 +891,22 @@ export default {
       open2: false,
       open2: false,
       arr1: [],
       arr1: [],
       falg: null,
       falg: null,
+      form1: {},
     };
     };
   },
   },
   created() {
   created() {
     this.getList();
     this.getList();
+    this.getYear()
     treeselect().then((res) => {
     treeselect().then((res) => {
       this.treeselects = res.rows;
       this.treeselects = res.rows;
     });
     });
   },
   },
   methods: {
   methods: {
+    getYear() {
+      var myDate = new Date();
+      var tYear = myDate.getFullYear();
+      this.form1.year=tYear
+    },
     // 添加人员确定
     // 添加人员确定
     submitForm3() {
     submitForm3() {
       this.open2 = false;
       this.open2 = false;
@@ -1031,11 +1038,10 @@ export default {
     },
     },
     //查看按钮操作
     //查看按钮操作
     handleChakan(row) {
     handleChakan(row) {
-      let unitId = row.unitId;
+      this.form1.unitId= row.unitId;
       // 是否隐藏按钮
       // 是否隐藏按钮
       this.reset();
       this.reset();
-      // const id = row.id || this.ids;
-      getInfoByUnitId(unitId).then((response) => {
+      getInfoByUnitId(this.form1).then((response) => {
         this.wordInfo = response.rows;
         this.wordInfo = response.rows;
         this.title = "军事训练登记簿";
         this.title = "军事训练登记簿";
         this.menuRoleVisible = true;
         this.menuRoleVisible = true;

+ 15 - 3
src/views/grassrootsregistration/bdgldrills/index.vue

@@ -77,16 +77,25 @@ export default {
       title: null,
       title: null,
       form: {},
       form: {},
       year: null,
       year: null,
-      status:null
+      status:null,
+      form1:{}
     };
     };
   },
   },
 
 
   created() {
   created() {
     this.getSoulist();
     this.getSoulist();
+    this.getYear()
   },
   },
   methods: {
   methods: {
+      // 获取当前年
+      getYear() {
+      var myDate = new Date();
+      var tYear = myDate.getFullYear();
+      this.form1.year=tYear
+    },
     resetQuery() {
     resetQuery() {
       this.form.year = null;
       this.form.year = null;
+      this.getYear()
       drillList(this.year).then((res) => {
       drillList(this.year).then((res) => {
           res.rows.forEach((item) => {
           res.rows.forEach((item) => {
            this.status =1
            this.status =1
@@ -112,8 +121,11 @@ export default {
       }
       }
     },
     },
     chaKan(row) {
     chaKan(row) {
-      const unitId = row;
-      getInfoByUnitId(unitId).then((response) => {
+      this.form1.unitId=row;
+      if (this.form.year) {
+        this.form1.year = this.form.year;
+      }
+      getInfoByUnitId(this.form1).then((response) => {
         if (response.rows.length > 0) {
         if (response.rows.length > 0) {
           this.wordInfo = response.rows;
           this.wordInfo = response.rows;
           this.title = "查看军事训练登记簿";
           this.title = "查看军事训练登记簿";

+ 29 - 37
src/views/grassrootsregistration/bdglequip/index.vue

@@ -445,9 +445,18 @@ export default {
         unitId: [
         unitId: [
           { required: true, message: "配发单位不能为空", trigger: "blur" },
           { required: true, message: "配发单位不能为空", trigger: "blur" },
         ],
         ],
-        title:[
+        title: [
           { required: true, message: "物品名称不能为空", trigger: "blur" },
           { required: true, message: "物品名称不能为空", trigger: "blur" },
-        ]
+        ],
+        granttime: [
+          { required: true, message: "配发时间不能为空", trigger: "blur" },
+        ],
+        intime: [
+          { required: true, message: "入库时间不能为空", trigger: "blur" },
+        ],
+        peopleId: [
+          { required: true, message: "入库经手人不能为空", trigger: "blur" },
+        ],
       },
       },
       roleOptions: [],
       roleOptions: [],
       //人员
       //人员
@@ -478,14 +487,21 @@ export default {
       },
       },
       // 时间默认
       // 时间默认
       times: null,
       times: null,
+      form1: {},
     };
     };
   },
   },
   created() {
   created() {
     this.getList();
     this.getList();
     this.getBumen();
     this.getBumen();
     this.getTiem();
     this.getTiem();
+    this.getYear();
   },
   },
   methods: {
   methods: {
+    getYear() {
+      var myDate = new Date();
+      var tYear = myDate.getFullYear();
+      this.form1.year = tYear;
+    },
     // 获取当前日期
     // 获取当前日期
     getTiem() {
     getTiem() {
       var today = new Date();
       var today = new Date();
@@ -661,10 +677,10 @@ export default {
     },
     },
     //查看按钮操作
     //查看按钮操作
     handleChakan(row) {
     handleChakan(row) {
-      const unitId = row.unitId;
+      this.form1.unitid = row.unitId;
       // 是否隐藏按钮
       // 是否隐藏按钮
       this.opens = false;
       this.opens = false;
-      equipuntits(unitId).then((response) => {
+      equipuntits(this.form1).then((response) => {
         this.wordInfo = response.data;
         this.wordInfo = response.data;
         this.title = "查看训练器材/教材登记薄";
         this.title = "查看训练器材/教材登记薄";
         this.menuRoleVisible = true;
         this.menuRoleVisible = true;
@@ -677,29 +693,17 @@ export default {
       this.$refs["form"].validate((valid) => {
       this.$refs["form"].validate((valid) => {
         if (valid) {
         if (valid) {
           if (this.form.id != null) {
           if (this.form.id != null) {
-            // 配发时间
-            if (this.form.granttime == null) {
-              this.form.granttime = this.times;
-            }
-            // 入库时间
-            if (this.form.intime == null) {
-              this.form.intime = this.times;
-            }
-            // 入库经手人
-            if (this.form.peopleId == null) {
-              this.form.peopleName = "无";
-            }
-            // 出库时间
-            if (this.form.outtime == null) {
-              this.form.outtime = this.times;
-            }
+            // // 出库时间
+            // if (this.form.outtime == null) {
+            //   this.form.outtime = "";
+            // }
             // 出库经手人
             // 出库经手人
             if (this.form.peopleId1 == null) {
             if (this.form.peopleId1 == null) {
-              this.form.people1Name = "";
+              this.form.people1Name = " ";
             }
             }
             // 质量情况
             // 质量情况
             if (this.form.quality == null) {
             if (this.form.quality == null) {
-              this.form.quality = "";
+              this.form.quality = " ";
             }
             }
             updateBdglequip(this.form).then((response) => {
             updateBdglequip(this.form).then((response) => {
               this.$modal.msgSuccess("修改成功");
               this.$modal.msgSuccess("修改成功");
@@ -707,29 +711,17 @@ export default {
               this.getList();
               this.getList();
             });
             });
           } else {
           } else {
-            // 配发时间
-            if (this.form.granttime == null) {
-              this.form.granttime = this.times;
-            }
-            // 入库时间
-            if (this.form.intime == null) {
-              this.form.intime = this.times;
-            }
-            // 入库经手人
-            if (this.form.peopleId == null) {
-              this.form.peopleName = "无";
-            }
             // 出库时间
             // 出库时间
             if (this.form.outtime == null) {
             if (this.form.outtime == null) {
-              this.form.outtime = this.times;
+              this.form.outtime = " ";
             }
             }
             // 出库经手人
             // 出库经手人
             if (this.form.peopleId1 == null) {
             if (this.form.peopleId1 == null) {
-              this.form.people1Name = "";
+              this.form.people1Name = " ";
             }
             }
             // 质量情况
             // 质量情况
             if (this.form.quality == null) {
             if (this.form.quality == null) {
-              this.form.quality = "";
+              this.form.quality = " ";
             }
             }
             addBdglequip(this.form).then((response) => {
             addBdglequip(this.form).then((response) => {
               this.$modal.msgSuccess("新增成功");
               this.$modal.msgSuccess("新增成功");

+ 14 - 2
src/views/grassrootsregistration/bdglequips/index.vue

@@ -78,15 +78,24 @@ export default {
       form: {},
       form: {},
       year: null,
       year: null,
       status: null,
       status: null,
+      form1:{}
     };
     };
   },
   },
 
 
   created() {
   created() {
     this.getSoulist();
     this.getSoulist();
+    this.getYear()
   },
   },
   methods: {
   methods: {
+     // 获取当前年
+     getYear() {
+      var myDate = new Date();
+      var tYear = myDate.getFullYear();
+      this.form1.year=tYear
+    },
     resetQuery() {
     resetQuery() {
       this.form.year = null;
       this.form.year = null;
+      this.getYear()
       equipList().then((res) => {
       equipList().then((res) => {
         res.rows.forEach((item) => {
         res.rows.forEach((item) => {
           this.status = 1;
           this.status = 1;
@@ -112,8 +121,11 @@ export default {
       }
       }
     },
     },
     chaKan(row) {
     chaKan(row) {
-      const unitId = row;
-      equipuntits(unitId).then((response) => {
+      this.form1.unitid=row;
+      if (this.form.year) {
+        this.form1.year = this.form.year;
+      }
+      equipuntits( this.form1).then((response) => {
         if (response.data.length > 0) {
         if (response.data.length > 0) {
           this.wordInfo = response.data;
           this.wordInfo = response.data;
           this.title = "查看训练器材/教材登记薄";
           this.title = "查看训练器材/教材登记薄";

+ 21 - 4
src/views/grassrootsregistration/bdglevens/index.vue

@@ -137,7 +137,8 @@
       :before-close="closes"
       :before-close="closes"
     >
     >
       <div
       <div
-        style=" margin-bottom: 20px;
+        style="
+          margin-bottom: 20px;
           margin-left: 28%;
           margin-left: 28%;
           font-size: 16px;
           font-size: 16px;
           font-weight: 700;
           font-weight: 700;
@@ -186,6 +187,10 @@ export default {
       huiYiList: [],
       huiYiList: [],
       names: null,
       names: null,
       tiemse: null,
       tiemse: null,
+      form1: {
+        pageNum: 1,
+        pageSize: 10,
+      },
     };
     };
   },
   },
 
 
@@ -195,10 +200,18 @@ export default {
     this.getDicts("sys_huiyi").then((response) => {
     this.getDicts("sys_huiyi").then((response) => {
       this.huiYiList = response.data;
       this.huiYiList = response.data;
     });
     });
+    this.getYear();
   },
   },
   methods: {
   methods: {
+    // 获取当前年
+    getYear() {
+      var myDate = new Date();
+      var tYear = myDate.getFullYear();
+      this.form1.year = tYear;
+    },
     resetQuery() {
     resetQuery() {
       this.form.year = null;
       this.form.year = null;
+      this.getYear();
       getMeetRecordList().then((res) => {
       getMeetRecordList().then((res) => {
         res.rows.forEach((item) => {
         res.rows.forEach((item) => {
           this.status = 1;
           this.status = 1;
@@ -224,9 +237,11 @@ export default {
       }
       }
     },
     },
     chaKan(row) {
     chaKan(row) {
-      this.queryParams.unitId = row;
-      this.unitId = row;
-      getMeetRecordOnUnitList(this.queryParams).then((res) => {
+      this.form1.unitId = row;
+      if (this.form.year) {
+        this.form1.year = this.form.year;
+      }
+      getMeetRecordOnUnitList(this.form1).then((res) => {
         this.bdglevenList = res.rows;
         this.bdglevenList = res.rows;
         this.total = res.total;
         this.total = res.total;
         this.title = "查看连务会记录本";
         this.title = "查看连务会记录本";
@@ -234,6 +249,8 @@ export default {
       });
       });
     },
     },
     chaKan1(row) {
     chaKan1(row) {
+      this.queryParams.year=this.form1.year;
+      this.queryParams.unitId=this.form1.unitId
       getMeetRecordOnUnitList(this.queryParams).then((res) => {
       getMeetRecordOnUnitList(this.queryParams).then((res) => {
         this.bdglevenList = res.rows;
         this.bdglevenList = res.rows;
         this.total = res.total;
         this.total = res.total;

+ 9 - 2
src/views/grassrootsregistration/bdglfilemanagement/index.vue

@@ -413,13 +413,20 @@ export default {
         children: "children",
         children: "children",
         label: "label",
         label: "label",
       },
       },
+      form1: {},
     };
     };
   },
   },
   created() {
   created() {
     this.getList();
     this.getList();
     this.getdept();
     this.getdept();
+    this.getYear()
   },
   },
   methods: {
   methods: {
+    getYear() {
+      var myDate = new Date();
+      var tYear = myDate.getFullYear();
+      this.form1.year=tYear
+    },
     // 计划编号
     // 计划编号
     planName() {
     planName() {
       let date = new Date();
       let date = new Date();
@@ -568,10 +575,10 @@ export default {
 
 
     //查看按钮操作
     //查看按钮操作
     handleChakan(row) {
     handleChakan(row) {
-      const unitId = row.unitId;
+      this.form1.unitId = row.unitId;
       // 是否隐藏按钮
       // 是否隐藏按钮
       this.opens = false;
       this.opens = false;
-      listBdglfilemanagement({ unitId: unitId }).then((response) => {
+      listBdglfilemanagement(this.form1).then((response) => {
         // fileunits(unitId).then((response) => {
         // fileunits(unitId).then((response) => {
         this.wordInfo = response.rows;
         this.wordInfo = response.rows;
         this.title = "查看文件管理登计本";
         this.title = "查看文件管理登计本";

+ 15 - 4
src/views/grassrootsregistration/bdglfilemanagements/index.vue

@@ -77,16 +77,25 @@ export default {
       title: null,
       title: null,
       form: {},
       form: {},
       year: null,
       year: null,
-      status:null
+      status:null,
+      form1: {},
     };
     };
   },
   },
 
 
   created() {
   created() {
     this.getSoulist();
     this.getSoulist();
+    this.getYear()
   },
   },
   methods: {
   methods: {
+     // 获取当前年
+     getYear() {
+      var myDate = new Date();
+      var tYear = myDate.getFullYear();
+      this.form1.year=tYear
+    },
     resetQuery() {
     resetQuery() {
       this.form.year = null;
       this.form.year = null;
+      this.getYear()
       docList(this.form.year).then((res) => {
       docList(this.form.year).then((res) => {
           res.rows.forEach((item) => {
           res.rows.forEach((item) => {
            this.status =1
            this.status =1
@@ -112,9 +121,11 @@ export default {
       }
       }
     },
     },
     chaKan(row) {
     chaKan(row) {
-      const unitId = row;
-      fileunits(unitId).then((response) => {
-
+      this.form1.unitid = row;
+      if (this.form.year) {
+        this.form1.year = this.form.year;
+      }
+      fileunits(this.form1).then((response) => {
         if (response.data.length > 0) {
         if (response.data.length > 0) {
           this.wordInfo = response.data;
           this.wordInfo = response.data;
           this.title = "查看文件管理登记本";
           this.title = "查看文件管理登记本";

+ 19 - 2
src/views/grassrootsregistration/bdglmeetings/index.vue

@@ -212,17 +212,28 @@ export default {
       huiYiList: [],
       huiYiList: [],
       names: null,
       names: null,
       tiemse: null,
       tiemse: null,
+      form1: {
+        pageNum: 1,
+        pageSize: 10,
+      },
     };
     };
   },
   },
 
 
   created() {
   created() {
     this.getSoulist();
     this.getSoulist();
+    this.getYear();
     //会议形式
     //会议形式
     this.getDicts("sys_tuan").then((response) => {
     this.getDicts("sys_tuan").then((response) => {
       this.huiYiList = response.data;
       this.huiYiList = response.data;
     });
     });
   },
   },
   methods: {
   methods: {
+    // 获取当前年
+    getYear() {
+      var myDate = new Date();
+      var tYear = myDate.getFullYear();
+      this.form1.year = tYear;
+    },
     // 翻译
     // 翻译
     meetingFormFn(row) {
     meetingFormFn(row) {
       var name = null;
       var name = null;
@@ -235,6 +246,7 @@ export default {
     },
     },
     resetQuery() {
     resetQuery() {
       this.form.year = null;
       this.form.year = null;
+      this.getYear();
       getMeetingList().then((res) => {
       getMeetingList().then((res) => {
         res.rows.forEach((item) => {
         res.rows.forEach((item) => {
           this.status = 1;
           this.status = 1;
@@ -260,9 +272,12 @@ export default {
       }
       }
     },
     },
     chaKan(row) {
     chaKan(row) {
-      this.queryParams.unitId = row.deptId;
+      this.form1.unitId = row.deptId;
+      if (this.form.year) {
+        this.form1.year = this.form.year;
+      }
       this.unitId = row.deptId;
       this.unitId = row.deptId;
-      getMeetingOnUnitList(this.queryParams).then((response) => {
+      getMeetingOnUnitList(this.form1).then((response) => {
         this.bdglpartyList = response.rows;
         this.bdglpartyList = response.rows;
         this.title = "查看团支部记录本";
         this.title = "查看团支部记录本";
         this.tableStatus = true;
         this.tableStatus = true;
@@ -270,6 +285,8 @@ export default {
       });
       });
     },
     },
     chaKan1(row) {
     chaKan1(row) {
+      this.queryParams.year = this.form1.year;
+      this.queryParams.unitId = this.form1.unitId;
       getMeetingOnUnitList(this.queryParams).then((response) => {
       getMeetingOnUnitList(this.queryParams).then((response) => {
         this.bdglpartyList = response.rows;
         this.bdglpartyList = response.rows;
         this.title = "查看团支部记录本";
         this.title = "查看团支部记录本";

+ 21 - 5
src/views/grassrootsregistration/bdglpartys/index.vue

@@ -202,17 +202,28 @@ export default {
       huiYiList: [],
       huiYiList: [],
       names: null,
       names: null,
       tiemse: null,
       tiemse: null,
+      form1: {
+        pageNum: 1,
+        pageSize: 10,
+      },
     };
     };
   },
   },
 
 
   created() {
   created() {
     this.getSoulist();
     this.getSoulist();
+    this.getYear();
     //会议形式
     //会议形式
     this.getDicts("sys_huiyi").then((response) => {
     this.getDicts("sys_huiyi").then((response) => {
       this.huiYiList = response.data;
       this.huiYiList = response.data;
     });
     });
   },
   },
   methods: {
   methods: {
+      // 获取当前年
+      getYear() {
+      var myDate = new Date();
+      var tYear = myDate.getFullYear();
+      this.form1.year = tYear;
+    },
     // 翻译
     // 翻译
     meetingFormFn(row) {
     meetingFormFn(row) {
       var name = null;
       var name = null;
@@ -225,6 +236,7 @@ export default {
     },
     },
     resetQuery() {
     resetQuery() {
       this.form.year = null;
       this.form.year = null;
+      this.getYear();
       getPartyList().then((res) => {
       getPartyList().then((res) => {
         res.rows.forEach((item) => {
         res.rows.forEach((item) => {
           this.status = 1;
           this.status = 1;
@@ -250,9 +262,12 @@ export default {
       }
       }
     },
     },
     chaKan(row) {
     chaKan(row) {
-      this.queryParams.unitId = row.deptId;
       this.unitId = row.deptId;
       this.unitId = row.deptId;
-      getPartyOnUnitList(this.queryParams).then((response) => {
+      this.form1.unitId = row.deptId;
+      if (this.form.year) {
+        this.form1.year = this.form.year;
+      }
+      getPartyOnUnitList(this.form1).then((response) => {
         this.bdglpartyList = response.rows;
         this.bdglpartyList = response.rows;
         this.total = response.total;
         this.total = response.total;
         this.title = "查看党支部记录本";
         this.title = "查看党支部记录本";
@@ -260,6 +275,8 @@ export default {
       });
       });
     },
     },
     chaKan1(row) {
     chaKan1(row) {
+      this.queryParams.year=this.form1.year;
+      this.queryParams.unitId=this.form1.unitId
       getPartyOnUnitList(this.queryParams).then((response) => {
       getPartyOnUnitList(this.queryParams).then((response) => {
         this.bdglpartyList = response.rows;
         this.bdglpartyList = response.rows;
         this.total = response.total;
         this.total = response.total;
@@ -268,7 +285,6 @@ export default {
       });
       });
     },
     },
     handleChakan(row) {
     handleChakan(row) {
-      // console.log(row);
       const id = row.id || this.ids;
       const id = row.id || this.ids;
       getBdglparty(id).then((response) => {
       getBdglparty(id).then((response) => {
         if (response.data.fileUrl != null) {
         if (response.data.fileUrl != null) {
@@ -277,13 +293,13 @@ export default {
             this.tiemse = response.data.convokeTime;
             this.tiemse = response.data.convokeTime;
             this.huiYiList.map((item) => {
             this.huiYiList.map((item) => {
               if (item.dictValue == response.data.meetingForm) {
               if (item.dictValue == response.data.meetingForm) {
-                this.names = item.dictLabel;
+                this.names= item.dictLabel;
               }
               }
             });
             });
             this.title = "查看党支部记录本";
             this.title = "查看党支部记录本";
             this.menuRoleVisible = true;
             this.menuRoleVisible = true;
             this.tableStatus = false;
             this.tableStatus = false;
-            return names;
+            return this.names;
           }
           }
         }
         }
         // this.wordInfo = response.data;
         // this.wordInfo = response.data;

+ 10 - 2
src/views/grassrootsregistration/bdglpublicproperty/index.vue

@@ -387,13 +387,21 @@ export default {
       roleOptions: [],
       roleOptions: [],
       // 获取单位列表
       // 获取单位列表
       deptOptionss: [],
       deptOptionss: [],
+      form1: {},
     };
     };
   },
   },
   created() {
   created() {
     this.getList();
     this.getList();
     this.getdept();
     this.getdept();
+    this.getYear();
   },
   },
   methods: {
   methods: {
+     // 获取当前年
+     getYear() {
+      var myDate = new Date();
+      var tYear = myDate.getFullYear();
+      this.form1.year = tYear;
+    },
     // 数量输入完毕失去焦点触发
     // 数量输入完毕失去焦点触发
     shuLiang() {
     shuLiang() {
       if (this.form.price !== null && this.form.quantity !== null) {
       if (this.form.price !== null && this.form.quantity !== null) {
@@ -521,10 +529,10 @@ export default {
     },
     },
     //查看按钮操作
     //查看按钮操作
     handleChakan(row) {
     handleChakan(row) {
-      const unitId = row.unitId;
+      this.form1.unitid=row.unitId
       // 是否隐藏按钮
       // 是否隐藏按钮
       this.opens = false;
       this.opens = false;
-      publiccpropertyunits(unitId).then((response) => {
+      publiccpropertyunits(this.form1).then((response) => {
         this.wordInfo = response.data;
         this.wordInfo = response.data;
         this.title = "查看营产/公物管理登记簿";
         this.title = "查看营产/公物管理登记簿";
         this.menuRoleVisible = true;
         this.menuRoleVisible = true;

+ 57 - 42
src/views/grassrootsregistration/bdglpublicpropertys/index.vue

@@ -2,45 +2,50 @@
 <template>
 <template>
   <div class="arr_conten">
   <div class="arr_conten">
     <el-form
     <el-form
-    :model="form"
-    ref="form"
-    :inline="true"
-    label-width="68px"
-    style="padding-left: 30px"
-  >
-    <el-form-item prop="year">
-      <el-date-picker
-        v-model="form.year"
-        type="year"
-        placeholder="选择年"
-        @change="getSoulist"
-        value-format="yyyy"
-        :editable="false"
-      >
-      </el-date-picker>
-    </el-form-item>
-    <el-form-item>
-      <el-button size="btr" @click="resetQuery">重置</el-button>
-    </el-form-item>
-  </el-form>
-    <div v-if="status==1">
+      :model="form"
+      ref="form"
+      :inline="true"
+      label-width="68px"
+      style="padding-left: 30px"
+    >
+      <el-form-item prop="year">
+        <el-date-picker
+          v-model="form.year"
+          type="year"
+          placeholder="选择年"
+          @change="getSoulist"
+          value-format="yyyy"
+          :editable="false"
+        >
+        </el-date-picker>
+      </el-form-item>
+      <el-form-item>
+        <el-button size="btr" @click="resetQuery">重置</el-button>
+      </el-form-item>
+    </el-form>
+    <div v-if="status == 1">
       <ul v-for="(item, i) in lieList" :key="i">
       <ul v-for="(item, i) in lieList" :key="i">
-        <li v-for="(item1, i) in item" :key="i+''">
+        <li v-for="(item1, i) in item" :key="i + ''">
           <div class="names">{{ item1.deptName }}</div>
           <div class="names">{{ item1.deptName }}</div>
           <div class="btn">
           <div class="btn">
-            <el-button size="btJS" @click="chaKan(item1.deptId)">查看</el-button>
+            <el-button size="btJS" @click="chaKan(item1.deptId)"
+              >查看</el-button
+            >
           </div>
           </div>
         </li>
         </li>
       </ul>
       </ul>
     </div>
     </div>
-    <div v-if="status==0">
+    <div v-if="status == 0">
       <ul>
       <ul>
         <li v-for="(item, i) in lieList" :key="i">
         <li v-for="(item, i) in lieList" :key="i">
           <div class="names">{{ item.deptName }}</div>
           <div class="names">{{ item.deptName }}</div>
           <div class="btn">
           <div class="btn">
-            <el-button size="btJS" @click="chaKan(item.deptId)"
-            v-hasPermi="['grassrootsregistration:bdglpublicpropertys:query']"
-            >查看</el-button>
+            <el-button
+              size="btJS"
+              @click="chaKan(item.deptId)"
+              v-hasPermi="['grassrootsregistration:bdglpublicpropertys:query']"
+              >查看</el-button
+            >
           </div>
           </div>
         </li>
         </li>
       </ul>
       </ul>
@@ -75,46 +80,57 @@ export default {
       //查看页面
       //查看页面
       menuRoleVisible: false,
       menuRoleVisible: false,
       title: null,
       title: null,
-      form:{},
-      yrar:null,
-      status:null
+      form: {},
+      yrar: null,
+      status: null,
+      form1: {},
     };
     };
   },
   },
 
 
   created() {
   created() {
     this.getSoulist();
     this.getSoulist();
+    this.getYear();
   },
   },
   methods: {
   methods: {
+    // 获取当前年
+    getYear() {
+      var myDate = new Date();
+      var tYear = myDate.getFullYear();
+      this.form1.year = tYear;
+    },
     resetQuery() {
     resetQuery() {
       this.form.year = null;
       this.form.year = null;
+      this.getYear();
       propertyList().then((res) => {
       propertyList().then((res) => {
-          res.rows.forEach((item) => {
-           this.status =1
-          });
-          this.lieList = res.rows;
+        res.rows.forEach((item) => {
+          this.status = 1;
         });
         });
+        this.lieList = res.rows;
+      });
     },
     },
     getSoulist() {
     getSoulist() {
-      if (this.form.year == null||this.form.year=="") {
+      if (this.form.year == null || this.form.year == "") {
         propertyList().then((res) => {
         propertyList().then((res) => {
           res.rows.forEach((item) => {
           res.rows.forEach((item) => {
-           this.status =1
+            this.status = 1;
           });
           });
           this.lieList = res.rows;
           this.lieList = res.rows;
         });
         });
       } else {
       } else {
         propertyList(this.form.year).then((res) => {
         propertyList(this.form.year).then((res) => {
           res.rows.forEach((item) => {
           res.rows.forEach((item) => {
-           this.status =0
+            this.status = 0;
           });
           });
           this.lieList = res.rows;
           this.lieList = res.rows;
         });
         });
       }
       }
     },
     },
     chaKan(row) {
     chaKan(row) {
-      const unitId = row;
-      publiccpropertyunits(unitId).then((response) => {
-
+      this.form1.unitid = row;
+      if (this.form.year) {
+        this.form1.year = this.form.year;
+      }
+      publiccpropertyunits(this.form1).then((response) => {
         if (response.data.length > 0) {
         if (response.data.length > 0) {
           this.wordInfo = response.data;
           this.wordInfo = response.data;
           this.title = "查看营产/公物管理登记簿";
           this.title = "查看营产/公物管理登记簿";
@@ -178,7 +194,6 @@ li {
   text-align: center;
   text-align: center;
 }
 }
 
 
-
 ::v-deep .el-input__inner {
 ::v-deep .el-input__inner {
   cursor: pointer !important;
   cursor: pointer !important;
 }
 }

+ 10 - 6
src/views/grassrootsregistration/bdglsecrecy/index.vue

@@ -450,13 +450,21 @@ export default {
         children: "children",
         children: "children",
         label: "label",
         label: "label",
       },
       },
+      form1: {},
     };
     };
   },
   },
   created() {
   created() {
     this.getList();
     this.getList();
     this.getdict();
     this.getdict();
+    this.getYear()
   },
   },
   methods: {
   methods: {
+    // 获取当前年
+    getYear() {
+      var myDate = new Date();
+      var tYear = myDate.getFullYear();
+      this.form1.year=tYear
+    },
     // 种类选择触发
     // 种类选择触发
     // zhongLei() {
     // zhongLei() {
     //   this.planName();
     //   this.planName();
@@ -623,15 +631,11 @@ export default {
     },
     },
     //查看按钮操作
     //查看按钮操作
     handleChakan(row) {
     handleChakan(row) {
-      const unitId = row.unitId;
-        // console.log(row);
-      // var stiem =row.startTime.substring(0,4)
-      var stiem =row.startTime
-      // console.log(stiem);
+      this.form1.unitid=row.unitId;
       // 是否隐藏按钮
       // 是否隐藏按钮
       this.opens = false;
       this.opens = false;
       const id = row.id || this.ids;
       const id = row.id || this.ids;
-      units(unitId,stiem).then((response) => {
+      units(this.form1).then((response) => {
         this.wordInfo = response.data;
         this.wordInfo = response.data;
         this.title = "查看网络/手机/涉密载体登记本";
         this.title = "查看网络/手机/涉密载体登记本";
         this.menuRoleVisible = true;
         this.menuRoleVisible = true;

+ 35 - 22
src/views/grassrootsregistration/bdglsecrecys/index.vue

@@ -23,20 +23,22 @@
         <el-button size="btr" @click="resetQuery">重置</el-button>
         <el-button size="btr" @click="resetQuery">重置</el-button>
       </el-form-item>
       </el-form-item>
     </el-form>
     </el-form>
-     <div v-if="status==1">
-      <ul v-for="(item,i) in lieList " :key="i+''">
+    <div v-if="status == 1">
+      <ul v-for="(item, i) in lieList" :key="i + ''">
         <li v-for="(item1, i) in item" :key="i">
         <li v-for="(item1, i) in item" :key="i">
           <div class="names">{{ item1.deptName }}</div>
           <div class="names">{{ item1.deptName }}</div>
           <div class="btn">
           <div class="btn">
-            <el-button size="btJS" @click="chaKan(item1.deptId, item1.startTime)"
-            v-hasPermi="['grassrootsregistration:bdglsecrecys:query']"
+            <el-button
+              size="btJS"
+              @click="chaKan(item1.deptId, item1.startTime)"
+              v-hasPermi="['grassrootsregistration:bdglsecrecys:query']"
               >查看</el-button
               >查看</el-button
             >
             >
           </div>
           </div>
         </li>
         </li>
       </ul>
       </ul>
-     </div>
-     <div v-if="status==0">
+    </div>
+    <div v-if="status == 0">
       <ul>
       <ul>
         <li v-for="(item, i) in lieList" :key="i">
         <li v-for="(item, i) in lieList" :key="i">
           <div class="names">{{ item.deptName }}</div>
           <div class="names">{{ item.deptName }}</div>
@@ -47,7 +49,7 @@
           </div>
           </div>
         </li>
         </li>
       </ul>
       </ul>
-     </div>
+    </div>
     <!-- 查看 -->
     <!-- 查看 -->
     <el-dialog
     <el-dialog
       :visible.sync="menuRoleVisible"
       :visible.sync="menuRoleVisible"
@@ -78,47 +80,58 @@ export default {
       //查看页面
       //查看页面
       menuRoleVisible: false,
       menuRoleVisible: false,
       title: null,
       title: null,
-      form:{},
-      year:null,
-      status:null
+      form: {},
+      year: null,
+      status: null,
+      form1: {},
     };
     };
   },
   },
 
 
   created() {
   created() {
-    this.getSoulist()
+    this.getSoulist();
+    this.getYear()
   },
   },
   methods: {
   methods: {
+    // 获取当前年
+    getYear() {
+      var myDate = new Date();
+      var tYear = myDate.getFullYear();
+      this.form1.year=tYear
+    },
     resetQuery() {
     resetQuery() {
       this.form.year = null;
       this.form.year = null;
+      this.form1.year = null;
+      this.getYear()
       getSecrecyStats().then((res) => {
       getSecrecyStats().then((res) => {
-          res.rows.forEach((item) => {
-           this.status =1
-          });
-          this.lieList = res.rows;
+        res.rows.forEach((item) => {
+          this.status = 1;
         });
         });
+        this.lieList = res.rows;
+      });
     },
     },
     getSoulist() {
     getSoulist() {
-      if (this.form.year == null||this.form.year=="") {
+      if (this.form.year == null || this.form.year == "") {
         getSecrecyStats().then((res) => {
         getSecrecyStats().then((res) => {
           res.rows.forEach((item) => {
           res.rows.forEach((item) => {
-           this.status =1
+            this.status = 1;
           });
           });
           this.lieList = res.rows;
           this.lieList = res.rows;
         });
         });
       } else {
       } else {
         getSecrecyStats(this.form.year).then((res) => {
         getSecrecyStats(this.form.year).then((res) => {
           res.rows.forEach((item) => {
           res.rows.forEach((item) => {
-           this.status =0
+            this.status = 0;
           });
           });
           this.lieList = res.rows;
           this.lieList = res.rows;
         });
         });
       }
       }
     },
     },
     chaKan(row, tiem) {
     chaKan(row, tiem) {
-      const unitId = row;
-      const stiem = tiem;
-      units(unitId, stiem).then((response) => {
-
+      this.form1.unitid = row;
+      if (this.form.year) {
+        this.form1.year = this.form.year;
+      }
+      units(this.form1).then((response) => {
         if (response.data.length > 0) {
         if (response.data.length > 0) {
           this.wordInfo = response.data;
           this.wordInfo = response.data;
           this.title = "查看网络/手机/涉密载体登记本";
           this.title = "查看网络/手机/涉密载体登记本";

+ 21 - 4
src/views/grassrootsregistration/bdglsoldiers/index.vue

@@ -209,17 +209,28 @@ export default {
       huiYiList: [],
       huiYiList: [],
       names: null,
       names: null,
       tiemse: null,
       tiemse: null,
+      form1: {
+        pageNum: 1,
+        pageSize: 10,
+      },
     };
     };
   },
   },
 
 
   created() {
   created() {
     this.getSoulist();
     this.getSoulist();
+    this.getYear();
     //会议形式
     //会议形式
     this.getDicts("sys_wei").then((response) => {
     this.getDicts("sys_wei").then((response) => {
       this.huiYiList = response.data;
       this.huiYiList = response.data;
     });
     });
   },
   },
   methods: {
   methods: {
+    // 获取当前年
+    getYear() {
+      var myDate = new Date();
+      var tYear = myDate.getFullYear();
+      this.form1.year = tYear;
+    },
     // 翻译
     // 翻译
     meetingFormFn(row) {
     meetingFormFn(row) {
       var name = null;
       var name = null;
@@ -232,9 +243,10 @@ export default {
     },
     },
     resetQuery() {
     resetQuery() {
       this.form.year = null;
       this.form.year = null;
-      getSoldierList(this.year).then((res) => {
+      this.getYear();
+      getSoldierList().then((res) => {
         res.rows.forEach((item) => {
         res.rows.forEach((item) => {
-          this.status = 1;
+          this.status = 0;
         });
         });
         this.lieList = res.rows;
         this.lieList = res.rows;
       });
       });
@@ -264,9 +276,12 @@ export default {
       });
       });
     },
     },
     chaKan(row) {
     chaKan(row) {
-      this.queryParams.unitId = row;
       this.unitId = row;
       this.unitId = row;
-      getSoldierOnUnitList(this.queryParams).then((response) => {
+      this.form1.unitId = row;
+      if (this.form.year) {
+        this.form1.year = this.form.year;
+      }
+      getSoldierOnUnitList(this.form1).then((response) => {
         this.bdglpartyList = response.rows;
         this.bdglpartyList = response.rows;
         this.total = response.total;
         this.total = response.total;
         this.title = "查看军人委员会工作记录本";
         this.title = "查看军人委员会工作记录本";
@@ -274,6 +289,8 @@ export default {
       });
       });
     },
     },
     chaKan1(row) {
     chaKan1(row) {
+      this.queryParams.year = this.form1.year;
+      this.queryParams.unitId = this.form1.unitId;
       getSoldierOnUnitList(this.queryParams).then((response) => {
       getSoldierOnUnitList(this.queryParams).then((response) => {
         this.bdglpartyList = response.rows;
         this.bdglpartyList = response.rows;
         this.total = response.total;
         this.total = response.total;

+ 12 - 13
src/views/peopleChuRu/bdglLeave/index.vue

@@ -1501,7 +1501,7 @@ import {
   ZhengZhiUSer,
   ZhengZhiUSer,
   getBdglList,
   getBdglList,
   getAllDept,
   getAllDept,
-  getAll
+  getAll,
 } from "@/api/peopleChuRu/bdglLeave";
 } from "@/api/peopleChuRu/bdglLeave";
 
 
 import {
 import {
@@ -1661,7 +1661,7 @@ export default {
       // 审批单位所有列表
       // 审批单位所有列表
       shenAllList: [],
       shenAllList: [],
       // 审批获取所有人
       // 审批获取所有人
-      shenAllRenList:[]
+      shenAllRenList: [],
     };
     };
   },
   },
   created() {
   created() {
@@ -1678,10 +1678,10 @@ export default {
   },
   },
   methods: {
   methods: {
     // 获取所有审批人员
     // 获取所有审批人员
-    getShenRen(){
-      getAll().then(res=>{
-        this.shenAllRenList=res.rows
-      })
+    getShenRen() {
+      getAll().then((res) => {
+        this.shenAllRenList = res.rows;
+      });
     },
     },
     // 审批获取所有单位
     // 审批获取所有单位
     getShenAll() {
     getShenAll() {
@@ -1749,7 +1749,7 @@ export default {
     handleUpdatess(row) {
     handleUpdatess(row) {
       this.teShu = row;
       this.teShu = row;
       this.getShenAll();
       this.getShenAll();
-      this.getShenRen()
+      this.getShenRen();
       // 获取字典类型
       // 获取字典类型
       this.getdict();
       this.getdict();
       this.reset();
       this.reset();
@@ -1770,7 +1770,7 @@ export default {
     handleUpdates(row) {
     handleUpdates(row) {
       this.shenPis = row;
       this.shenPis = row;
       this.getShenAll();
       this.getShenAll();
-      this.getShenRen()
+      this.getShenRen();
       // 获取字典类型
       // 获取字典类型
       this.getdict();
       this.getdict();
       this.reset();
       this.reset();
@@ -2043,8 +2043,8 @@ export default {
     /** 新增按钮操作 */
     /** 新增按钮操作 */
     handleAdd() {
     handleAdd() {
       this.renYuan = [];
       this.renYuan = [];
-        // 获取单位树形
-        this.getBuMeng();
+      // 获取单位树形
+      this.getBuMeng();
       // 获取字典类型
       // 获取字典类型
       this.getdict();
       this.getdict();
       this.reset();
       this.reset();
@@ -2101,8 +2101,7 @@ export default {
             if (
             if (
               this.form.peopleId2 ||
               this.form.peopleId2 ||
               this.form.peopleId1 ||
               this.form.peopleId1 ||
-              this.form.peopleId3 ||
-              this.form.peopleId4
+              this.form.peopleId3 
             ) {
             ) {
               if (this.form.peopleId.length > 0) {
               if (this.form.peopleId.length > 0) {
                 this.form.peopleId = this.form.peopleId.join(",");
                 this.form.peopleId = this.form.peopleId.join(",");
@@ -2135,7 +2134,7 @@ export default {
         this.thereShenPi = true;
         this.thereShenPi = true;
       }
       }
       this.getShenAll();
       this.getShenAll();
-      this.getShenRen()
+      this.getShenRen();
       // 获取字典类型
       // 获取字典类型
       this.getdict();
       this.getdict();
       this.reset();
       this.reset();

+ 2 - 2
src/views/regulations/fileinfo/index.vue

@@ -433,7 +433,7 @@
         style="color: pink"
         style="color: pink"
         :title="title3"
         :title="title3"
         :visible.sync="open33"
         :visible.sync="open33"
-        width="850px"
+        width="1001px"
         append-to-body
         append-to-body
         id="fileinfodocx"
         id="fileinfodocx"
         class="el-dialog__header"
         class="el-dialog__header"
@@ -451,7 +451,7 @@
       <el-dialog
       <el-dialog
         :title="title3"
         :title="title3"
         :visible.sync="previewDialog"
         :visible.sync="previewDialog"
-        width="850px"
+        width="1001px"
         append-to-body
         append-to-body
         id="fileinfopdf"
         id="fileinfopdf"
         class="el-dialog__header"
         class="el-dialog__header"

+ 1 - 1
src/views/taishi/index.vue

@@ -2089,7 +2089,7 @@ export default {
 }
 }
 
 
 .left1-wrap-item b {
 .left1-wrap-item b {
-  font-size: 1.2rem;
+  font-size: 0.9rem;
   color: #30fdff;
   color: #30fdff;
 }
 }
 
 

+ 1 - 1
src/views/taishi/tanshi1.vue

@@ -2252,7 +2252,7 @@ export default {
   margin-left: 3%;
   margin-left: 3%;
 }
 }
 .left1-wrap-item b {
 .left1-wrap-item b {
-  font-size: 1.2rem;
+  font-size: 0.9rem;
   color: #30fdff;
   color: #30fdff;
 }
 }
 .center1 {
 .center1 {

+ 12 - 2
src/views/thought/getready/index.vue

@@ -511,7 +511,7 @@
       style="color: pink"
       style="color: pink"
       :title="title3"
       :title="title3"
       :visible.sync="open33"
       :visible.sync="open33"
-      width="850px"
+      width="1200px"
       append-to-body
       append-to-body
       id="fileinfodocx"
       id="fileinfodocx"
       class="el-dialog__header"
       class="el-dialog__header"
@@ -530,7 +530,7 @@
     <el-dialog
     <el-dialog
       :title="title3"
       :title="title3"
       :visible.sync="previewDialog"
       :visible.sync="previewDialog"
-      width="850px"
+      width="1200px"
       append-to-body
       append-to-body
       id="fileinfopdf"
       id="fileinfopdf"
       class="el-dialog__header"
       class="el-dialog__header"
@@ -1434,4 +1434,14 @@ export default {
   background-color: #004d86 ;
   background-color: #004d86 ;
   color: #fff;
   color: #fff;
 }
 }
+
+#fileinfodocx ::v-deep .el-dialog__body {
+  padding-right: 29px !important;
+}
+#fileinfopdf ::v-deep .el-dialog__body {
+  padding-right: 29px !important;
+}
+::v-deep .docx p, p.docx_1{
+  line-height: 2;
+}
 </style>
 </style>

+ 29 - 25
src/views/thought/parliament/index.vue

@@ -127,13 +127,9 @@
         fixed="right"
         fixed="right"
       >
       >
         <template slot-scope="scope">
         <template slot-scope="scope">
-          <el-button
-          size="btk"
-          type="text"
-          @click.native="ViewRead(scope.row)"
-        >
-          <a target="_blank">预览</a>
-        </el-button>
+          <el-button size="btk" type="text" @click.native="ViewRead(scope.row)">
+            <a target="_blank">预览</a>
+          </el-button>
           <el-button
           <el-button
             size="btk"
             size="btk"
             type="text"
             type="text"
@@ -506,7 +502,7 @@
       style="color: pink"
       style="color: pink"
       :title="title3"
       :title="title3"
       :visible.sync="open33"
       :visible.sync="open33"
-      width="850px"
+      width="1200px"
       append-to-body
       append-to-body
       id="fileinfodocx"
       id="fileinfodocx"
       class="el-dialog__header"
       class="el-dialog__header"
@@ -525,7 +521,7 @@
     <el-dialog
     <el-dialog
       :title="title3"
       :title="title3"
       :visible.sync="previewDialog"
       :visible.sync="previewDialog"
-      width="850px"
+      width="1200px"
       append-to-body
       append-to-body
       id="fileinfopdf"
       id="fileinfopdf"
       class="el-dialog__header"
       class="el-dialog__header"
@@ -773,22 +769,22 @@ export default {
       var index = path.lastIndexOf(".");
       var index = path.lastIndexOf(".");
       var str = path.substring(index + 1, path.length);
       var str = path.substring(index + 1, path.length);
       console.log(str);
       console.log(str);
-      if (str == "docx"|| str == "doc") {
-      this.open33 = true;
-      axios({
-        method: "get",
-        responseType: "blob", // 设置响应文件格式
-        url: process.env.VUE_APP_BASE_API + row.filePath,
-      }).then(({ data }) => {
-        $(".docx").attr("id", "printArea");
-        docx.renderAsync(data, this.$refs.file); // 渲染到页面预览
-      });
-    }else if (str == "pdf") {
+      if (str == "docx" || str == "doc") {
+        this.open33 = true;
+        axios({
+          method: "get",
+          responseType: "blob", // 设置响应文件格式
+          url: process.env.VUE_APP_BASE_API + row.filePath,
+        }).then(({ data }) => {
+          $(".docx").attr("id", "printArea");
+          docx.renderAsync(data, this.$refs.file); // 渲染到页面预览
+        });
+      } else if (str == "pdf") {
         this.previewDialog = true;
         this.previewDialog = true;
         this.pdfurl = process.env.VUE_APP_BASE_API + row.filePath;
         this.pdfurl = process.env.VUE_APP_BASE_API + row.filePath;
         this.pageNum = 1;
         this.pageNum = 1;
-      }else{
-        this.$message.error('只能预览Doc,Docx,Pdf格式的文件!')
+      } else {
+        this.$message.error("只能预览Doc,Docx,Pdf格式的文件!");
       }
       }
     },
     },
     // 获取执行人
     // 获取执行人
@@ -1262,9 +1258,17 @@ export default {
   background: #1d96ff;
   background: #1d96ff;
   color: white;
   color: white;
 }
 }
-::v-deep 
-.el-table .el-table__fixed-header-wrapper th {
-  background-color: #004d86 ;
+::v-deep .el-table .el-table__fixed-header-wrapper th {
+  background-color: #004d86;
   color: #fff;
   color: #fff;
 }
 }
+#fileinfodocx ::v-deep .el-dialog__body {
+  padding-right: 29px !important;
+}
+#fileinfopdf ::v-deep .el-dialog__body {
+  padding-right: 29px !important;
+}
+::v-deep .docx p, p.docx_1{
+  line-height: 2;
+}
 </style>
 </style>

+ 11 - 2
src/views/thought/teacherFile/index.vue

@@ -381,7 +381,7 @@
         style="color: pink"
         style="color: pink"
         :title="title3"
         :title="title3"
         :visible.sync="open33"
         :visible.sync="open33"
-        width="850px"
+        width="1200px"
         append-to-body
         append-to-body
         id="fileinfodocx"
         id="fileinfodocx"
         class="el-dialog__header"
         class="el-dialog__header"
@@ -399,7 +399,7 @@
       <el-dialog
       <el-dialog
         :title="title3"
         :title="title3"
         :visible.sync="previewDialog"
         :visible.sync="previewDialog"
-        width="850px"
+        width="1200px"
         append-to-body
         append-to-body
         id="fileinfopdf"
         id="fileinfopdf"
         class="el-dialog__header"
         class="el-dialog__header"
@@ -1724,4 +1724,13 @@ body,
 ::v-deep .video .el-dialog__body {
 ::v-deep .video .el-dialog__body {
   padding: 30px 78px;
   padding: 30px 78px;
 }
 }
+#fileinfodocx ::v-deep .el-dialog__body {
+  padding-right: 29px !important;
+}
+#fileinfopdf ::v-deep .el-dialog__body {
+  padding-right: 29px !important;
+}
+::v-deep .docx p, p.docx_1{
+  line-height: 2;
+}
 </style>
 </style>