浏览代码

工程现场 界面修改

zhanghao 2 月之前
父节点
当前提交
2bb1ef3de3

+ 7 - 1
src/views/pad/engineering/issueSubDia.vue

@@ -67,6 +67,10 @@
   export default {
     name: "UnitCamera",
     props: {
+      projectId:{
+        type: Number,
+        default: null
+      },
       imgUrl: {
         type: String,
         default: '',
@@ -76,6 +80,7 @@
       return {
         file:null,
         title:'',
+        person:null,
         description:'',
         need:'',
         fileFlag: false,
@@ -104,7 +109,8 @@
           title:this.title,
           description:this.description,
           need:this.need,
-          projectId:'',
+          projectId: this.projectId,
+          person: this.person,
           delFlag: 0,
           status: 0,
         };

+ 2 - 1
src/views/pad/engineering/main.vue

@@ -209,6 +209,7 @@
           v-if="showIssueSub === 1"
           @close="onCloseIssueSub"
           :monitorInfo="this.monitorInfo"
+          :projectId="curCompanMonth"
           :imgUrl="this.imgUrl">
         </issue-sub-dia>
         <issue-deal-dia
@@ -331,7 +332,7 @@ export default {
       list2: [],
       imgUrl:'',
       curCompanyear:'',
-      curCompanMonth:'',
+      curCompanMonth:null,
       showRes:0,
       showC:false,
       showIssue:0,

+ 14 - 3
src/views/screen/engineering/issueSubDia.vue

@@ -17,6 +17,7 @@
       <div style="width: 35%;color: #00ffff;">
 <!--        <div style="text-align: right;margin-bottom: 10px;height: 32px;line-height: 32px">时间:</div>-->
         <div style="text-align: right;margin-bottom: 25px;height: 32px;line-height: 32px">标题:</div>
+        <div style="text-align: right;margin-bottom: 25px;height: 32px;line-height: 32px">发起人:</div>
         <div style="text-align: right;margin-bottom: 125px;">内容:</div>
         <div style="text-align: right;margin-bottom: 125px;">整改要求:</div>
         <div style="text-align: right">截图附件:</div>
@@ -32,6 +33,10 @@
           <el-input v-model="title" placeholder="请输入标题" style="margin-bottom: 20px;width: 220px"></el-input>
         </div>
 
+        <div>
+          <el-input v-model="person" placeholder="请输入发起人" style="margin-bottom: 20px;width: 220px"></el-input>
+        </div>
+
         <el-input v-model="description" type="textarea" :rows=6 placeholder="请输入内容" resize="none" style="margin-bottom: 20px;width: 350px"></el-input>
 
         <el-input v-model="need" type="textarea" :rows=6 placeholder="请输入整改要求" resize="none" style="margin-bottom: 20px;width: 350px"></el-input>
@@ -67,15 +72,20 @@ import pinyin from "../data/pinyin.js";
 export default {
   name: "UnitCamera",
   props: {
+    projectId:{
+      type: Number,
+      default: null
+    },
     imgUrl: {
       type: String,
-      default: '',
-    },
+      default: ''
+    }
   },
   data() {
     return {
       file:null,
       title:'',
+      person:null,
       description:'',
       need:'',
       fileFlag: false,
@@ -104,7 +114,8 @@ export default {
         title:this.title,
         description:this.description,
         need:this.need,
-        projectId:'',
+        projectId: this.projectId,
+        person: this.person,
         delFlag: 0,
         status: 0,
       };

+ 2 - 1
src/views/screen/engineering/main.vue

@@ -209,6 +209,7 @@
           v-if="showIssueSub === 1"
           @close="onCloseIssueSub"
           :monitorInfo="this.monitorInfo"
+          :projectId="curCompanMonth"
           :imgUrl="this.imgUrl">
         </issue-sub-dia>
         <issue-deal-dia
@@ -332,7 +333,7 @@ export default {
       imgUrl:'',
       curCompanyear:'',
       getProList:'',
-      curCompanMonth:'',
+      curCompanMonth:null,
       showRes:0,
       showC:false,
       showIssue:0,