|
@@ -53,10 +53,10 @@
|
|
|
<el-form-item class="right-align">
|
|
|
<el-button @click="Newanalyse" size="small">创建分析</el-button>
|
|
|
<el-button @click="examine" size="small">查看导入数据</el-button>
|
|
|
- <el-button @click="handleAutoAsstessList" size="small"
|
|
|
+ <!-- <el-button @click="handleAutoAsstessList" size="small"
|
|
|
>查看自动分析列表</el-button
|
|
|
- >
|
|
|
- <el-button @click="handleDownLoadChart" size="small">下载</el-button>
|
|
|
+ > -->
|
|
|
+ <!-- <el-button @click="handleDownLoadChart" size="small">下载</el-button> -->
|
|
|
<!-- /downLoadChart -->
|
|
|
</el-form-item>
|
|
|
</el-form>
|
|
@@ -160,13 +160,6 @@
|
|
|
<span> {{ scope.row.orderNum }}</span>
|
|
|
</template>
|
|
|
</el-table-column>
|
|
|
- <!-- <el-table-column
|
|
|
- align="center"
|
|
|
- label="排队序号"
|
|
|
- prop="orderNum"
|
|
|
- min-width="200"
|
|
|
- >
|
|
|
- </el-table-column> -->
|
|
|
<el-table-column
|
|
|
align="center"
|
|
|
label="数据类型名称"
|
|
@@ -175,7 +168,7 @@
|
|
|
>
|
|
|
</el-table-column>
|
|
|
|
|
|
- <el-table-column
|
|
|
+ <!-- <el-table-column
|
|
|
prop="onOffCall"
|
|
|
align="center"
|
|
|
label="是否开启自动分析"
|
|
@@ -192,7 +185,7 @@
|
|
|
}}</span
|
|
|
>
|
|
|
</template>
|
|
|
- </el-table-column>
|
|
|
+ </el-table-column> -->
|
|
|
<el-table-column
|
|
|
prop="roleName"
|
|
|
align="center"
|
|
@@ -338,15 +331,6 @@
|
|
|
size="small"
|
|
|
>取消插队</el-button
|
|
|
>
|
|
|
-
|
|
|
- <!-- <el-button
|
|
|
- @click="HandleOnOffAuto(scope.row)"
|
|
|
- type="text"
|
|
|
- size="small"
|
|
|
- >{{
|
|
|
- scope.row.onOffCall === 0 ? "开启自动分析" : "关闭自动分析"
|
|
|
- }}</el-button
|
|
|
- > -->
|
|
|
</template>
|
|
|
</el-table-column>
|
|
|
</el-table>
|
|
@@ -462,7 +446,6 @@
|
|
|
import MyDialog from "./components/dialogCom.vue";
|
|
|
import { downloadPDF } from "@/utils/common";
|
|
|
import {
|
|
|
- onOffAutoAnalysis,
|
|
|
analysisResultList,
|
|
|
addAnalysisResult,
|
|
|
queryCodeNum,
|
|
@@ -541,10 +524,13 @@ export default {
|
|
|
},
|
|
|
methods: {
|
|
|
async handleDownLoadChart() {
|
|
|
- const res = await axios.post("/downLoadChart/chartServer/charts/bar", {
|
|
|
- dataUrl:
|
|
|
- "http://192.168.50.233:6900/wof039800012/WOF039800012-WOB000001/wind_speed_frequency/manual/wind_Speed_Frequency%2303.json",
|
|
|
- });
|
|
|
+ const res = await axios.post(
|
|
|
+ "/downLoadChart/chartServer/charts/lineAndChildLine",
|
|
|
+ {
|
|
|
+ dataUrl:
|
|
|
+ "http://192.168.50.233:6900/wof039800012/WOF039800012-WOB000001/cp/manual/%2319.json",
|
|
|
+ }
|
|
|
+ );
|
|
|
console.log(res, "res linechart");
|
|
|
},
|
|
|
//自动分析列表页面跳转
|
|
@@ -620,23 +606,6 @@ export default {
|
|
|
downLoadeAssetss(row) {
|
|
|
downloadPDF(row.reportAddr, row.reportName);
|
|
|
},
|
|
|
- async HandleOnOffAuto(row) {
|
|
|
- try {
|
|
|
- const form = new FormData();
|
|
|
- form.append("batchCode", row.batchCode);
|
|
|
- form.append("onOffCall", row.onOffCall === 0 ? 1 : 0);
|
|
|
- const res = await onOffAutoAnalysis(form);
|
|
|
- if (res.code === 200) {
|
|
|
- this.fetchData();
|
|
|
- this.$message({
|
|
|
- type: "success",
|
|
|
- message: `${row.onOffCall === 0 ? "开启" : "关闭"}成功`,
|
|
|
- });
|
|
|
- }
|
|
|
- } catch (err) {
|
|
|
- console.error(err);
|
|
|
- }
|
|
|
- },
|
|
|
//插队接口
|
|
|
async insertQueue(row, index) {
|
|
|
this.$confirm(`确认插队?`, "提示", {
|