Преглед изворни кода

工程现场 大屏界面 调整

zhanghao пре 1 месец
родитељ
комит
bb1e6e21f9

+ 4 - 4
src/views/screen/engineering/issueListDia.vue

@@ -69,8 +69,8 @@ export default {
     },
   },
   data() {
-    return {  
-      value: null, 
+    return {
+      value: null,
       getProList: [],
       // showPost:false,
       currentPage: 1,
@@ -101,7 +101,7 @@ methods: {
     // 获取近一周问题列表
     getIssueListLastWeek() {
       if (this.value) {
-        const selectedDate = this.formatDate(this.value); 
+        const selectedDate = this.formatDate(this.value);
         getIssueListLastWeek(this.$props.appOrg, selectedDate).then((res) => {
           if (Number(res.code) === 200) {
             this.getProList = (res.data || []).map(item => ({
@@ -147,7 +147,7 @@ methods: {
     changeIssueStatus(f) {
       const issueData = {
         id: f,
-        status: 0,
+        status: 1,
       };
 
       changeIssueStatus(issueData).then((res) => {

+ 1 - 1
src/views/screen/official/carWarning.vue

@@ -104,7 +104,7 @@
         </div>
         <div class="dataBody" ref="scrollContainer" style="padding-bottom: 140px">
           <div class="flex-row" style="margin-bottom: 10px" v-for="(item,index) in manageLastHalf.list" :key="index" @click="choose()">
-            <div class="flex-column" style="width: 50%">{{item.appName}}</div>
+            <div class="flex-column" style="width: 50%">{{item.orgName}}</div>
             <div class="flex-column">{{item.vechileNum}}</div>
             <div class="flex-column">{{item.pcdCount}}</div>
           </div>