Jelajahi Sumber

feat: 文案修改 中止-》终止

hum 1 tahun lalu
induk
melakukan
d57ea46532

+ 3 - 3
ruoyi-ui/src/views/analysis/task/index.vue

@@ -58,7 +58,7 @@
           <template slot-scope="scope">
           <template slot-scope="scope">
             <template v-if="scope.row.status === 0">
             <template v-if="scope.row.status === 0">
               <el-button size="mini" type="text" icon="el-icon-edit" @click="goRealTime(scope.row)">实时动态</el-button>
               <el-button size="mini" type="text" icon="el-icon-edit" @click="goRealTime(scope.row)">实时动态</el-button>
-              <el-button size="mini" type="text" icon="el-icon-edit" @click="handleStop(scope.row)">止</el-button>
+              <el-button size="mini" type="text" icon="el-icon-edit" @click="handleStop(scope.row)">止</el-button>
             </template>
             </template>
             <template v-else-if="scope.row.status === 2">
             <template v-else-if="scope.row.status === 2">
               <el-button size="mini" type="text" icon="el-icon-edit" @click="goRealTime(scope.row)">测流成果</el-button>
               <el-button size="mini" type="text" icon="el-icon-edit" @click="goRealTime(scope.row)">测流成果</el-button>
@@ -144,11 +144,11 @@ export default {
       window.open(`${process.env.VUE_APP_BASE_API}/achievement/downAchievement?resultId=${task.resultId}`, '_blank')
       window.open(`${process.env.VUE_APP_BASE_API}/achievement/downAchievement?resultId=${task.resultId}`, '_blank')
     },
     },
     handleStop(task) {
     handleStop(task) {
-      this.$modal.confirm('是否确认止编号为"' + task.taskid + '"的测流任务?').then(function() {
+      this.$modal.confirm('是否确认止编号为"' + task.taskid + '"的测流任务?').then(function() {
         return taskAction(task.siteId, 0);
         return taskAction(task.siteId, 0);
       }).then(() => {
       }).then(() => {
         this.getList();
         this.getList();
-        this.$modal.msgSuccess("止成功");
+        this.$modal.msgSuccess("止成功");
       }).catch(() => {});
       }).catch(() => {});
     },
     },
   }
   }

+ 3 - 3
ruoyi-ui/src/views/analysis/task/realtime/simulation.vue

@@ -14,7 +14,7 @@
         </div>
         </div>
         <div class="realtime-foot-action" v-if="task.status === 0 || task.status === 3">
         <div class="realtime-foot-action" v-if="task.status === 0 || task.status === 3">
           <svg-icon icon-class="realtime-stop" class-name="realtime-foot-action-icon" @click="stop" />
           <svg-icon icon-class="realtime-stop" class-name="realtime-foot-action-icon" @click="stop" />
-          <div class="realtime-foot-action-label">止任务</div>
+          <div class="realtime-foot-action-label">止任务</div>
         </div>
         </div>
       </div>
       </div>
       <div class="realtime-foot-time">
       <div class="realtime-foot-time">
@@ -87,11 +87,11 @@ export default {
       }).catch(() => {});
       }).catch(() => {});
     },
     },
     stop() {
     stop() {
-      this.$modal.confirm('是否确认止当前任务?').then(() => {
+      this.$modal.confirm('是否确认止当前任务?').then(() => {
         return taskAction(this.siteId, 0);
         return taskAction(this.siteId, 0);
       }).then(() => {
       }).then(() => {
         this.$router.back();
         this.$router.back();
-        this.$modal.msgSuccess("止成功");
+        this.$modal.msgSuccess("止成功");
       }).catch(() => {});
       }).catch(() => {});
     },
     },
     loadCarLocation() {
     loadCarLocation() {

+ 2 - 2
ruoyi-ui/src/views/analysis/task/result/simulation.vue

@@ -10,7 +10,7 @@
         </div>
         </div>
         <div class="realtime-foot-action" v-if="isplay">
         <div class="realtime-foot-action" v-if="isplay">
           <svg-icon icon-class="realtime-stop" class-name="realtime-foot-action-icon" @click="stop" />
           <svg-icon icon-class="realtime-stop" class-name="realtime-foot-action-icon" @click="stop" />
-          <div class="realtime-foot-action-label">止回放</div>
+          <div class="realtime-foot-action-label">止回放</div>
         </div>
         </div>
         <div class="realtime-foot-action" v-else>
         <div class="realtime-foot-action" v-else>
           <svg-icon icon-class="realtime-play" class-name="realtime-foot-action-icon" @click="play" />
           <svg-icon icon-class="realtime-play" class-name="realtime-foot-action-icon" @click="play" />
@@ -74,7 +74,7 @@ export default {
       this.$emit('play');
       this.$emit('play');
     },
     },
     stop() {
     stop() {
-      this.$modal.confirm('是否确认止回放?').then(() => {
+      this.$modal.confirm('是否确认止回放?').then(() => {
         this.$emit('stop');
         this.$emit('stop');
       }).catch(() => {});
       }).catch(() => {});
     },
     },