|
@@ -11,166 +11,192 @@
|
|
|
</div>
|
|
|
</div>
|
|
|
<div
|
|
|
- class="square-count backgroundBox"
|
|
|
- v-if="activeTab === 0 && isOpenSquare"
|
|
|
- >
|
|
|
- <status-bar
|
|
|
- :ready="readyCount"
|
|
|
- :occupied="occupiedCount"
|
|
|
- :offline="offlineCount"
|
|
|
- ></status-bar>
|
|
|
- </div>
|
|
|
- <div
|
|
|
- class="origin-basic backgroundBox"
|
|
|
- v-if="activeTab === 0"
|
|
|
- v-show="!isGoHome && currentBench.name"
|
|
|
- >
|
|
|
- <h2>{{ currentBench && currentBench.name }}</h2>
|
|
|
- <div class="originBasicRow">
|
|
|
- <div>
|
|
|
- <span>Location:</span>
|
|
|
- <span>Automation Lab-7E</span>
|
|
|
- </div>
|
|
|
- <div>
|
|
|
- <span>MU_SW:</span>
|
|
|
- <span>{{ currentBench.MU_SW }}</span>
|
|
|
- </div>
|
|
|
+ class="square-count backgroundBox"
|
|
|
+ v-if="activeTab === 0 && isOpenSquare"
|
|
|
+ >
|
|
|
+ <status-bar
|
|
|
+ :ready="readyCount"
|
|
|
+ :occupied="occupiedCount"
|
|
|
+ :offline="offlineCount"
|
|
|
+ ></status-bar>
|
|
|
+ </div>
|
|
|
+ <div
|
|
|
+ class="origin-basic backgroundBox"
|
|
|
+ v-if="activeTab === 0"
|
|
|
+ v-show="!isGoHome && currentBench.name"
|
|
|
+ >
|
|
|
+ <h2>{{ currentBench && currentBench.name }}</h2>
|
|
|
+ <div class="originBasicRow">
|
|
|
+ <div>
|
|
|
+ <span>Location:</span>
|
|
|
+ <span>Automation Lab-7E</span>
|
|
|
</div>
|
|
|
- <div class="originBasicRow">
|
|
|
- <div>
|
|
|
- <span>Cluster:</span>
|
|
|
- <span>{{ currentBench.Cluster }}</span>
|
|
|
- </div>
|
|
|
- <div>
|
|
|
- <span>Market:</span>
|
|
|
- <span>{{ currentBench.Market }}</span>
|
|
|
- </div>
|
|
|
+ <div>
|
|
|
+ <span>MU_SW:</span>
|
|
|
+ <span>{{ currentBench.MU_SW }}</span>
|
|
|
</div>
|
|
|
- <div class="originBasicRow">
|
|
|
- <div>
|
|
|
- <span>Box IP:</span>
|
|
|
- <span>{{ currentBench.ip }}</span>
|
|
|
- </div>
|
|
|
- <div>
|
|
|
- <span>Box Version:</span>
|
|
|
- <span>{{ currentBench.equipment? (currentBench.equipment[0]? currentBench.equipment[0].version: "") : "" }}</span>
|
|
|
- </div>
|
|
|
+ </div>
|
|
|
+ <div class="originBasicRow">
|
|
|
+ <div>
|
|
|
+ <span>Cluster:</span>
|
|
|
+ <span>{{ currentBench.Cluster }}</span>
|
|
|
+ </div>
|
|
|
+ <div>
|
|
|
+ <span>Market:</span>
|
|
|
+ <span>{{ currentBench.Market }}</span>
|
|
|
</div>
|
|
|
</div>
|
|
|
- <div
|
|
|
- class="secondScreen"
|
|
|
- v-if="activeTab === 0 && benchDisplayLowerVisible && !isOpenSquare && isConnected"
|
|
|
- @click="switchScreen"
|
|
|
- >
|
|
|
- <img
|
|
|
- class="bmBenchImg bmBenchImgLower"
|
|
|
- :src="currentScreen == 'upper' ? benchImgLower : benchImgUpper"
|
|
|
- alt=""
|
|
|
- />
|
|
|
+ <div class="originBasicRow">
|
|
|
+ <div>
|
|
|
+ <span>Box IP:</span>
|
|
|
+ <span>{{ currentBench.ip }}</span>
|
|
|
+ </div>
|
|
|
+ <div>
|
|
|
+ <span>Box Version:</span>
|
|
|
+ <span>{{
|
|
|
+ currentBench.equipment
|
|
|
+ ? currentBench.equipment[0]
|
|
|
+ ? currentBench.equipment[0].version
|
|
|
+ : ""
|
|
|
+ : ""
|
|
|
+ }}</span>
|
|
|
+ </div>
|
|
|
</div>
|
|
|
- <vue-scroll
|
|
|
- class="tab-content backgroundBox"
|
|
|
- :class="{ short: benchDisplayLowerVisible }"
|
|
|
- :style="{ height: (!isGoHome && currentBench.name) ? (isOpenSquare ? '30vh': '50vh'): (isOpenSquare? '50vh': '70vh')}"
|
|
|
- v-if="activeTab === 0"
|
|
|
- >
|
|
|
- <div class="panel-container">
|
|
|
- <div class="list">
|
|
|
- <div
|
|
|
- v-for="(item, index) in activeTabItems"
|
|
|
- :key="index"
|
|
|
- class="item"
|
|
|
- >
|
|
|
- <div v-html="itemRender(item)"></div>
|
|
|
- </div>
|
|
|
+ </div>
|
|
|
+ <div
|
|
|
+ class="secondScreen"
|
|
|
+ v-if="
|
|
|
+ activeTab === 0 &&
|
|
|
+ benchDisplayLowerVisible &&
|
|
|
+ !isOpenSquare &&
|
|
|
+ isConnected
|
|
|
+ "
|
|
|
+ @click="switchScreen"
|
|
|
+ >
|
|
|
+ <img
|
|
|
+ class="bmBenchImg bmBenchImgLower"
|
|
|
+ :src="currentScreen == 'upper' ? benchImgLower : benchImgUpper"
|
|
|
+ alt=""
|
|
|
+ />
|
|
|
+ </div>
|
|
|
+ <vue-scroll
|
|
|
+ class="tab-content backgroundBox"
|
|
|
+ :class="{ short: benchDisplayLowerVisible }"
|
|
|
+ :style="{
|
|
|
+ height:
|
|
|
+ !isGoHome && currentBench.name
|
|
|
+ ? isOpenSquare
|
|
|
+ ? '30vh'
|
|
|
+ : '50vh'
|
|
|
+ : isOpenSquare
|
|
|
+ ? '50vh'
|
|
|
+ : '70vh',
|
|
|
+ }"
|
|
|
+ v-if="activeTab === 0"
|
|
|
+ >
|
|
|
+ <div class="panel-container">
|
|
|
+ <div class="list">
|
|
|
+ <div
|
|
|
+ v-for="(item, index) in activeTabItems"
|
|
|
+ :key="index"
|
|
|
+ class="item"
|
|
|
+ >
|
|
|
+ <div v-html="itemRender(item)"></div>
|
|
|
</div>
|
|
|
</div>
|
|
|
- <!-- <div class="panel-bottom">
|
|
|
+ </div>
|
|
|
+ <!-- <div class="panel-bottom">
|
|
|
<div class="bench-left-bottom-btn"></div>
|
|
|
</div> -->
|
|
|
- </vue-scroll>
|
|
|
- <vue-scroll class="tab-content backgroundBox" :class="tabClass" v-if="activeTab === 2" :style="{ height: '70vh'}">
|
|
|
- <div class="panel-container">
|
|
|
- <div class="list issue-list" v-if="isShowIssueList">
|
|
|
- <div
|
|
|
- v-for="(item, index) in activeTabItems"
|
|
|
- :key="index"
|
|
|
- class="item"
|
|
|
- >
|
|
|
- <div v-html="issueRender(item)"></div>
|
|
|
- </div>
|
|
|
- </div>
|
|
|
+ </vue-scroll>
|
|
|
+ <vue-scroll
|
|
|
+ class="tab-content backgroundBox"
|
|
|
+ :class="tabClass"
|
|
|
+ v-if="activeTab === 2"
|
|
|
+ :style="{ height: '70vh' }"
|
|
|
+ >
|
|
|
+ <div class="panel-container">
|
|
|
+ <div class="list issue-list" v-if="isShowIssueList">
|
|
|
<div
|
|
|
- class="case task-item"
|
|
|
- v-if="isShowIssueDetail && !isShowIssueList"
|
|
|
+ v-for="(item, index) in activeTabItems"
|
|
|
+ :key="index"
|
|
|
+ class="item"
|
|
|
>
|
|
|
- <div class="go-back">
|
|
|
- <div
|
|
|
- class="el-icon-arrow-left"
|
|
|
- @click="clickBackToIssueList"
|
|
|
- ></div>
|
|
|
- <div>{{ currentIssue.ticket_title }}</div>
|
|
|
- </div>
|
|
|
- <div class="task-title">ID</div>
|
|
|
- <div class="task-content">{{ currentIssue.id || '-' }}</div>
|
|
|
- <div class="task-title">Title</div>
|
|
|
- <div class="task-content">{{ currentIssue.ticket_title || '-' }}</div>
|
|
|
- <div class="task-title">Type</div>
|
|
|
- <div class="task-content">{{ currentIssue.ticket_type || '-' }}</div>
|
|
|
- <div class="task-title">Bench_id</div>
|
|
|
- <div class="task-content">{{ currentIssue.bench_id || '-' }}</div>
|
|
|
- <div class="task-title">Status</div>
|
|
|
- <div class="task-content">{{ currentIssue.ticket_status || '-' }}</div>
|
|
|
- <div class="task-title">Description</div>
|
|
|
- <div class="task-content" v-html="currentIssue.ticket_desc"></div>
|
|
|
- <div class="task-title">Creator</div>
|
|
|
- <div class="task-content">{{ currentIssue.creator || '-' }}</div>
|
|
|
- <div class="task-title">Difficulty</div>
|
|
|
- <div class="task-content">{{ currentIssue.ticket_difficulty || '-' }}</div>
|
|
|
- <div class="task-title">Complexity</div>
|
|
|
- <div class="task-content">{{ currentIssue.ticket_complexity || '-' }}</div>
|
|
|
- <div class="task-title">Action</div>
|
|
|
- <div class="task-table">
|
|
|
- <el-table
|
|
|
- :data="currentIssue.action"
|
|
|
- :row-class-name="rowClassName"
|
|
|
- style="background-color: transparent"
|
|
|
- >
|
|
|
- <el-table-column
|
|
|
- width="95"
|
|
|
- label="Time"
|
|
|
- prop="time"
|
|
|
- ></el-table-column>
|
|
|
- <el-table-column
|
|
|
- label="Processor"
|
|
|
- prop="processor"
|
|
|
- ></el-table-column>
|
|
|
- <el-table-column
|
|
|
- width="60"
|
|
|
- label="type"
|
|
|
- prop="action_type"
|
|
|
- ></el-table-column>
|
|
|
- <el-table-column
|
|
|
- label="Spend Time"
|
|
|
- prop="spend_time"
|
|
|
- ></el-table-column>
|
|
|
- <el-table-column
|
|
|
- label="comment"
|
|
|
- prop="comment"
|
|
|
- ></el-table-column>
|
|
|
- </el-table>
|
|
|
- </div>
|
|
|
- <el-button @click="clickBackToIssueList" class="done-button"
|
|
|
- >Close</el-button
|
|
|
+ <div v-html="issueRender(item)"></div>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ <div
|
|
|
+ class="case task-item"
|
|
|
+ v-if="isShowIssueDetail && !isShowIssueList"
|
|
|
+ >
|
|
|
+ <div class="go-back">
|
|
|
+ <div class="el-icon-arrow-left" @click="clickBackToIssueList"></div>
|
|
|
+ <div>{{ currentIssue.ticket_title }}</div>
|
|
|
+ </div>
|
|
|
+ <div class="task-title">ID</div>
|
|
|
+ <div class="task-content">{{ currentIssue.id || "-" }}</div>
|
|
|
+ <div class="task-title">Title</div>
|
|
|
+ <div class="task-content">{{ currentIssue.ticket_title || "-" }}</div>
|
|
|
+ <div class="task-title">Type</div>
|
|
|
+ <div class="task-content">{{ currentIssue.ticket_type || "-" }}</div>
|
|
|
+ <div class="task-title">Bench_id</div>
|
|
|
+ <div class="task-content">{{ currentIssue.bench_id || "-" }}</div>
|
|
|
+ <div class="task-title">Status</div>
|
|
|
+ <div class="task-content">
|
|
|
+ {{ currentIssue.ticket_status || "-" }}
|
|
|
+ </div>
|
|
|
+ <div class="task-title">Description</div>
|
|
|
+ <div class="task-content" v-html="currentIssue.ticket_desc"></div>
|
|
|
+ <div class="task-title">Creator</div>
|
|
|
+ <div class="task-content">{{ currentIssue.creator || "-" }}</div>
|
|
|
+ <div class="task-title">Difficulty</div>
|
|
|
+ <div class="task-content">
|
|
|
+ {{ currentIssue.ticket_difficulty || "-" }}
|
|
|
+ </div>
|
|
|
+ <div class="task-title">Complexity</div>
|
|
|
+ <div class="task-content">
|
|
|
+ {{ currentIssue.ticket_complexity || "-" }}
|
|
|
+ </div>
|
|
|
+ <div class="task-title">Action</div>
|
|
|
+ <div class="task-table">
|
|
|
+ <el-table
|
|
|
+ :data="currentIssue.action"
|
|
|
+ :row-class-name="rowClassName"
|
|
|
+ style="background-color: transparent"
|
|
|
>
|
|
|
+ <el-table-column
|
|
|
+ width="95"
|
|
|
+ label="Time"
|
|
|
+ prop="time"
|
|
|
+ ></el-table-column>
|
|
|
+ <el-table-column
|
|
|
+ label="Processor"
|
|
|
+ prop="processor"
|
|
|
+ ></el-table-column>
|
|
|
+ <el-table-column
|
|
|
+ width="60"
|
|
|
+ label="type"
|
|
|
+ prop="action_type"
|
|
|
+ ></el-table-column>
|
|
|
+ <el-table-column
|
|
|
+ label="Spend Time"
|
|
|
+ prop="spend_time"
|
|
|
+ ></el-table-column>
|
|
|
+ <el-table-column label="comment" prop="comment"></el-table-column>
|
|
|
+ </el-table>
|
|
|
</div>
|
|
|
+ <el-button @click="clickBackToIssueList" class="done-button"
|
|
|
+ >Close</el-button
|
|
|
+ >
|
|
|
</div>
|
|
|
- <div class="panel-bottom"></div>
|
|
|
- </vue-scroll>
|
|
|
+ </div>
|
|
|
+ <div class="panel-bottom"></div>
|
|
|
+ </vue-scroll>
|
|
|
+ <div style="border-radius: 2.08vw;background: linear-gradient(179deg, rgba(255,255,255,0.36) 0%, rgba(255,255,255,0.1) 100%);">
|
|
|
<vue-scroll
|
|
|
- class="tab-content backgroundBox task-right-panel"
|
|
|
+ class="tab-content task-right-panel"
|
|
|
:class="tabClass"
|
|
|
- :style="{ height: '70vh'}"
|
|
|
+ :style="{ height: isShowAutoCaseList && isShowTaskList === false? '60vh': '70vh' }"
|
|
|
v-if="activeTab === 1"
|
|
|
>
|
|
|
<div class="panel-container">
|
|
@@ -259,21 +285,65 @@
|
|
|
:row-class-name="rowClassName"
|
|
|
style="background-color: transparent"
|
|
|
>
|
|
|
- <el-table-column label="ID" prop="id" width="60"></el-table-column>
|
|
|
- <el-table-column label="name" prop="name" width="180"></el-table-column>
|
|
|
+ <el-table-column
|
|
|
+ label="ID"
|
|
|
+ prop="id"
|
|
|
+ width="60"
|
|
|
+ ></el-table-column>
|
|
|
+ <el-table-column
|
|
|
+ label="name"
|
|
|
+ prop="name"
|
|
|
+ width="180"
|
|
|
+ ></el-table-column>
|
|
|
<el-table-column label="status">
|
|
|
<template slot-scope="scope">
|
|
|
- <div v-if="scope.row.status == 'ready' || scope.row.status == 'valid' || scope.row.status == null || !scope.row.status" style="background: #7BAF66;" class="bench-status">{{ 'ready' }}</div>
|
|
|
- <div v-if="scope.row.status == 'running' || scope.row.status == 'waiting'" style="background: #eebe77;" class="bench-status">{{ scope.row.status }}</div>
|
|
|
- <div v-if="scope.row.status == 'error'" style="background: #f96262;" class="bench-status">{{ scope.row.status }}</div>
|
|
|
- <div v-if="scope.row.status != 'running' && scope.row.status != 'ready' && scope.row.status != 'waiting' && scope.row.status != 'valid' && scope.row.status != 'error' && !!scope.row.status" style="background: #92949B;" class="bench-status">{{ scope.row.status }}</div>
|
|
|
+ <div
|
|
|
+ v-if="
|
|
|
+ scope.row.status == 'ready' ||
|
|
|
+ scope.row.status == 'valid' ||
|
|
|
+ scope.row.status == null ||
|
|
|
+ !scope.row.status
|
|
|
+ "
|
|
|
+ style="background: #7baf66"
|
|
|
+ class="bench-status"
|
|
|
+ >
|
|
|
+ {{ "ready" }}
|
|
|
+ </div>
|
|
|
+ <div
|
|
|
+ v-if="
|
|
|
+ scope.row.status == 'running' ||
|
|
|
+ scope.row.status == 'waiting'
|
|
|
+ "
|
|
|
+ style="background: #eebe77"
|
|
|
+ class="bench-status"
|
|
|
+ >
|
|
|
+ {{ scope.row.status }}
|
|
|
+ </div>
|
|
|
+ <div
|
|
|
+ v-if="scope.row.status == 'error'"
|
|
|
+ style="background: #f96262"
|
|
|
+ class="bench-status"
|
|
|
+ >
|
|
|
+ {{ scope.row.status }}
|
|
|
+ </div>
|
|
|
+ <div
|
|
|
+ v-if="
|
|
|
+ scope.row.status != 'running' &&
|
|
|
+ scope.row.status != 'ready' &&
|
|
|
+ scope.row.status != 'waiting' &&
|
|
|
+ scope.row.status != 'valid' &&
|
|
|
+ scope.row.status != 'error' &&
|
|
|
+ !!scope.row.status
|
|
|
+ "
|
|
|
+ style="background: #92949b"
|
|
|
+ class="bench-status"
|
|
|
+ >
|
|
|
+ {{ scope.row.status }}
|
|
|
+ </div>
|
|
|
</template>
|
|
|
</el-table-column>
|
|
|
</el-table>
|
|
|
</div>
|
|
|
- <el-button @click="submitAutoCase" class="done-button" :class="autoTaskStatus"
|
|
|
- >{{autoTaskStatus == 'ready' ? 'Start': (autoTaskStatus == 'waiting' || autoTaskStatus == 'running') ? 'Stop' : 'Start'}}</el-button
|
|
|
- >
|
|
|
</div>
|
|
|
<div
|
|
|
class="plan task-item case-submit"
|
|
@@ -457,9 +527,30 @@
|
|
|
</el-table-column>
|
|
|
<el-table-column label="Status" width="120">
|
|
|
<template slot-scope="scope">
|
|
|
- <div v-if="scope.row.status == 'ready'" style="background: #7BAF66;" class="bench-status">{{ scope.row.status }}</div>
|
|
|
- <div v-if="scope.row.status == 'running'" style="background: #eebe77;" class="bench-status">{{ scope.row.status }}</div>
|
|
|
- <div v-if="scope.row.status != 'running' && scope.row.status != 'ready'" style="background: #92949B;" class="bench-status">{{ scope.row.status || "offline" }}</div>
|
|
|
+ <div
|
|
|
+ v-if="scope.row.status == 'ready'"
|
|
|
+ style="background: #7baf66"
|
|
|
+ class="bench-status"
|
|
|
+ >
|
|
|
+ {{ scope.row.status }}
|
|
|
+ </div>
|
|
|
+ <div
|
|
|
+ v-if="scope.row.status == 'running'"
|
|
|
+ style="background: #eebe77"
|
|
|
+ class="bench-status"
|
|
|
+ >
|
|
|
+ {{ scope.row.status }}
|
|
|
+ </div>
|
|
|
+ <div
|
|
|
+ v-if="
|
|
|
+ scope.row.status != 'running' &&
|
|
|
+ scope.row.status != 'ready'
|
|
|
+ "
|
|
|
+ style="background: #92949b"
|
|
|
+ class="bench-status"
|
|
|
+ >
|
|
|
+ {{ scope.row.status || "offline" }}
|
|
|
+ </div>
|
|
|
</template>
|
|
|
</el-table-column>
|
|
|
</el-table>
|
|
@@ -476,7 +567,7 @@
|
|
|
>
|
|
|
<div class="go-back">
|
|
|
<div class="el-icon-arrow-left" @click="clickBackToPlan"></div>
|
|
|
- <div style="font-size:18px">{{ caseName }}</div>
|
|
|
+ <div style="font-size: 18px">{{ caseName }}</div>
|
|
|
</div>
|
|
|
<div class="task-title">Precondition</div>
|
|
|
<!--<div class="task-content">{{caseActive}}</div>
|
|
@@ -500,6 +591,20 @@
|
|
|
<div class="task-left-bottom-btn">+</div>
|
|
|
</div> -->
|
|
|
</vue-scroll>
|
|
|
+ <el-button
|
|
|
+ @click="submitAutoCase"
|
|
|
+ class="done-button"
|
|
|
+ :class="autoTaskStatus"
|
|
|
+ v-if="activeTab === 1 && isShowAutoCaseList && isShowTaskList === false"
|
|
|
+ >{{
|
|
|
+ autoTaskStatus == "ready"
|
|
|
+ ? "Start"
|
|
|
+ : autoTaskStatus == "waiting" || autoTaskStatus == "running"
|
|
|
+ ? "Stop"
|
|
|
+ : "Start"
|
|
|
+ }}</el-button
|
|
|
+ >
|
|
|
+ </div>
|
|
|
</div>
|
|
|
</template>
|
|
|
|
|
@@ -587,15 +692,15 @@ export default {
|
|
|
mounted() {
|
|
|
bus.on("benchInfoVisible", (param) => {
|
|
|
// console.log('benchInfoVisible', param);
|
|
|
- if (this.benchList.find(b => b.benchId == param.benchId)) {
|
|
|
- this.$store.dispatch('benchList/setCurrentBench', param)
|
|
|
+ if (this.benchList.find((b) => b.benchId == param.benchId)) {
|
|
|
+ this.$store.dispatch("benchList/setCurrentBench", param);
|
|
|
// window.selectBench(param.benchId);
|
|
|
let items = document.getElementsByClassName("item-box");
|
|
|
for (var index = 0; index < items.length; index++) {
|
|
|
items[index].style.background = "#00000032";
|
|
|
let title = items[index].getElementsByClassName("item-title");
|
|
|
console.log("textContent", title[0].textContent);
|
|
|
- if(items[index].dataset.index == param.benchId){
|
|
|
+ if (items[index].dataset.index == param.benchId) {
|
|
|
items[index].style.background = "#000000C0";
|
|
|
}
|
|
|
}
|
|
@@ -647,7 +752,7 @@ export default {
|
|
|
},
|
|
|
...mapState({
|
|
|
isGoHome(state) {
|
|
|
- return state.common.isGoHome
|
|
|
+ return state.common.isGoHome;
|
|
|
},
|
|
|
projectOptions(state) {
|
|
|
return state.common.projectOptions;
|
|
@@ -680,17 +785,17 @@ export default {
|
|
|
return state.benchList.matchedBenchList;
|
|
|
},
|
|
|
autoTaskStatus(state) {
|
|
|
- return state.caseList.autoTaskStatus
|
|
|
+ return state.caseList.autoTaskStatusMap[state.caseList.currentTaskIndex] || 'ready';
|
|
|
},
|
|
|
remoteBenchList(state) {
|
|
|
- return state.benchList.remoteBenchList
|
|
|
+ return state.benchList.remoteBenchList;
|
|
|
},
|
|
|
currentBench(state) {
|
|
|
- return state.benchList.currentBench || {}
|
|
|
+ return state.benchList.currentBench || {};
|
|
|
},
|
|
|
benchList(state) {
|
|
|
- return state.benchList.benchList
|
|
|
- }
|
|
|
+ return state.benchList.benchList;
|
|
|
+ },
|
|
|
}),
|
|
|
},
|
|
|
updated() {
|
|
@@ -749,7 +854,7 @@ export default {
|
|
|
},
|
|
|
handleSelectionChange() {},
|
|
|
startAutoCase() {
|
|
|
- let data = {}
|
|
|
+ let data = {};
|
|
|
data.data = {
|
|
|
plan_id: this.currentPlanId,
|
|
|
attribute: {},
|
|
@@ -834,7 +939,7 @@ export default {
|
|
|
width: 100%;
|
|
|
background-size: 100% 100%;
|
|
|
border-radius: 2.08vw;
|
|
|
- background: rgba(255,255,255,0.36);
|
|
|
+ // background: rgba(255, 255, 255, 0.36);
|
|
|
}
|
|
|
|
|
|
// .short {
|
|
@@ -933,7 +1038,7 @@ export default {
|
|
|
line-height: 3.7vh;
|
|
|
}
|
|
|
.tab-content {
|
|
|
- background: rgba(0, 0, 0, 0.49);
|
|
|
+ // background: rgba(0, 0, 0, 0.49);
|
|
|
border-radius: 2.08vw;
|
|
|
border: 1px solid #707070;
|
|
|
}
|
|
@@ -1001,9 +1106,10 @@ export default {
|
|
|
border: 1px solid rgba(255, 255, 255, 0.4);
|
|
|
color: #fff;
|
|
|
padding: 0;
|
|
|
- position: absolute;
|
|
|
+ // position: absolute;
|
|
|
bottom: 1.75vh;
|
|
|
right: 0.93vw;
|
|
|
+ margin: 15px;
|
|
|
}
|
|
|
.cancel-button {
|
|
|
width: 11.6vw;
|
|
@@ -1144,7 +1250,7 @@ export default {
|
|
|
|
|
|
.cancel-button,
|
|
|
.done-button {
|
|
|
- width: 11.6vw;
|
|
|
+ width: 11vw;
|
|
|
height: 4.25vh;
|
|
|
line-height: 4.25vh;
|
|
|
border-radius: 67px 67px 67px 67px;
|
|
@@ -1152,18 +1258,23 @@ export default {
|
|
|
border: 1px solid rgba(255, 255, 255, 0.4);
|
|
|
color: #fff;
|
|
|
padding: 0;
|
|
|
- position: absolute;
|
|
|
+ // position: absolute;
|
|
|
bottom: 1.75vh;
|
|
|
+ float: right;
|
|
|
+
|
|
|
}
|
|
|
|
|
|
.cancel-button {
|
|
|
background: rgba(255, 255, 255, 0.5);
|
|
|
left: 15px;
|
|
|
+ float: left;
|
|
|
+ margin-top: 15px;
|
|
|
}
|
|
|
|
|
|
.done-button {
|
|
|
background: linear-gradient(180deg, #83cbfb 0%, #2e74b2 100%);
|
|
|
right: 15px;
|
|
|
+ margin: 15px 15px 0 0;
|
|
|
}
|
|
|
</style>
|
|
|
<style lang="less">
|