javababay пре 2 година
родитељ
комит
4ec3b6433d

+ 0 - 2
src/views/energyOperationSupport/components/MaintenanceStopService/MaintenanceApplication.vue

@@ -510,7 +510,6 @@
                 multiple
                 :limit="5"
                 :file-list="fileList"
-                :http-request="beforeUpload"
                 :auto-upload="false"
               >
                 <el-button size="small" type="primary">点击上传</el-button>
@@ -549,7 +548,6 @@
           size="mini"
           ref="dialog_form_arr"
           label-width="0px"
-          :model="tableFormDataObj"
         >
           <el-table
             stripe

+ 17 - 16
src/views/energyOperationSupport/components/MaintenanceStopService/approval.vue

@@ -1,6 +1,6 @@
 <template>
   <!-- 检修停复役检修审批 -->
-  <div class="SSDCompile">
+  <div class="approval">
     <div class="box">
       <div class="box-top">
         <el-form
@@ -332,7 +332,7 @@
                 </el-date-picker>
               </el-form-item>
             </el-col>
-                        <el-col :span="8">
+            <el-col :span="8">
               <el-form-item label="申请负责人" prop="chargeman">
                 <el-input
                   clearable
@@ -468,11 +468,15 @@
         </el-form>
       </div>
       <span slot="footer" class="dialog-footer">
-        <el-button type="primary" @click="but_edit()" :disabled="buttondispaly">同意</el-button>
-        <el-button type="primary" @click="reject()" :disabled="buttondispaly">驳回</el-button>
+        <el-button type="primary" @click="but_edit()" :disabled="buttondispaly"
+          >同意</el-button
+        >
+        <el-button type="primary" @click="reject()" :disabled="buttondispaly"
+          >驳回</el-button
+        >
       </span>
     </el-dialog>
-        <el-dialog
+    <el-dialog
       :title="'文件下载列表'"
       :visible.sync="dialog.editorBox.showtype"
       width="610px"
@@ -484,7 +488,6 @@
           size="mini"
           ref="dialog_form_arr"
           label-width="0px"
-          :model="tableFormDataObj"
         >
           <el-table
             stripe
@@ -606,6 +609,7 @@ export default {
       pageSize: 20,
       total: 0,
       singleTableHeight: 100,
+      tableDatavalue: [],
       tableData: [],
       nameObj: {
         equipment: {
@@ -643,11 +647,11 @@ export default {
               id: "check",
               name: "审核中",
             },
-               {
+            {
               id: "starta",
               name: "已完成",
             },
-             {
+            {
               id: "startb",
               name: "进行中",
             },
@@ -758,7 +762,7 @@ export default {
     that.getNodeDataa();
   },
   methods: {
-       //文件下载
+    //文件下载
     downloadFilevalue(row) {
       let that = this;
       let SubmitData = {
@@ -773,7 +777,7 @@ export default {
           responseType: "blob",
         })
         .then(function (res) {
-          console.log("fdgd")
+          console.log("fdgd");
           that.saveAs(res, row.fileName);
           that.$message({
             message: "下载成功",
@@ -1184,12 +1188,9 @@ export default {
     },
     // 表格中多选按钮的相关方法
     handleSelectionChange(val) {
-        for (let key in val) {
+      for (let key in val) {
         let bil = val[key].billstatus;
-        if (
-          bil == "已完成" ||
-          bil == "进行中"
-        ) {
+        if (bil == "已完成" || bil == "进行中") {
           this.buttondispaly = true;
         } else {
           this.buttondispaly = false;
@@ -1411,7 +1412,7 @@ export default {
 </script>
 
 <style lang="less">
-.SSDCompile {
+.approval {
   min-width: 700px;
   height: 100%;
   .box {

+ 5 - 8
src/views/energyOperationSupport/components/MaintenanceStopService/submitted.vue

@@ -1,6 +1,6 @@
 <template>
   <!-- 检修停复役检修审批 -->
-  <div class="SSDCompile">
+  <div class="submitted">
     <div class="box">
       <div class="box-top">
         <el-form
@@ -10,7 +10,7 @@
           label-width="85px"
         >
           <el-row>
-            <el-col :span="6">
+            <el-col :span="7">
               <el-form-item label="申报日期">
                 <el-date-picker
                   v-model="filterForm.data.declaretime"
@@ -404,7 +404,6 @@
           highlight-current-row
           @selection-change="handleSelectionChange"
           row-key="id"
-          @row-click="handleRowClickaa"
         >
           <el-table-column
             type="index"
@@ -609,7 +608,6 @@
                   multiple
                   :limit="5"
                   :file-list="fileList"
-                  :http-request="beforeUpload"
                   :auto-upload="false"
                 >
                   <el-button size="small" type="primary">点击上传</el-button>
@@ -652,7 +650,6 @@
           size="mini"
           ref="dialog_form_arr"
           label-width="0px"
-          :model="tableFormDataObj"
         >
           <el-table
             stripe
@@ -718,7 +715,6 @@
           size="mini"
           ref="dialog_form_arr"
           label-width="0px"
-          :model="tableFormDataObj"
         >
           <el-table
             stripe
@@ -749,7 +745,7 @@
               width="340px"
               :show-overflow-tooltip="true"
             ></el-table-column>
-            <el-table-column label="操作" width="200px" fixed="right"
+            <el-table-column label="操作" width="100px" fixed="right"
               ><template slot-scope="scope">
                 <el-button
                   size="small"
@@ -1081,6 +1077,7 @@ export default {
   },
   data() {
     return {
+      signtime:'',
       tableDatavalue: [],
       fileList: [],
       dialogImagename: "",
@@ -2022,7 +2019,7 @@ export default {
 </script>
 
 <style lang="less">
-.SSDCompile {
+.submitted {
   min-width: 700px;
   height: 100%;
   .box {