|
@@ -2,12 +2,12 @@
|
|
<div id="MyDiv" style="margin: 16px" :class="{ nocopy: $route.query.status }">
|
|
<div id="MyDiv" style="margin: 16px" :class="{ nocopy: $route.query.status }">
|
|
<div class="header zbjg-box" style="background: #fff;margin: 10px 0;padding: 6px 20px;">
|
|
<div class="header zbjg-box" style="background: #fff;margin: 10px 0;padding: 6px 20px;">
|
|
<div>
|
|
<div>
|
|
- <el-button type="primary" style="background-color: #328240;" @click="onControll">重新质控</el-button>
|
|
|
|
|
|
+ <el-button type="primary" v-if="!($route.query.from == 'majorIndexDetail')" style="background-color: #328240;" @click="onControll">重新质控</el-button>
|
|
</div>
|
|
</div>
|
|
<div>
|
|
<div>
|
|
- <el-button @click="clickzbjg">指标结果</el-button>
|
|
|
|
- <el-button type="primary" @click="isControl = !isControl">智审结果</el-button>
|
|
|
|
- <el-button type="text" style="color: #606266;" @click="openAIModel">
|
|
|
|
|
|
+ <el-button @click="clickzbjg" v-if="$route.query.from == 'majorIndexDetail'">指标结果</el-button>
|
|
|
|
+ <el-button type="primary" v-if="!($route.query.from == 'majorIndexDetail')" @click="isControl = !isControl">智审结果</el-button>
|
|
|
|
+ <el-button type="text" v-if="!($route.query.from == 'majorIndexDetail')" style="color: #606266;" @click="openAIModel">
|
|
<img src="../../assets//images//AIHelper.png" style="width:30px;display: inline-block;vertical-align: middle;"/>
|
|
<img src="../../assets//images//AIHelper.png" style="width:30px;display: inline-block;vertical-align: middle;"/>
|
|
AI模型
|
|
AI模型
|
|
</el-button>
|
|
</el-button>
|
|
@@ -159,7 +159,7 @@
|
|
<div class="listItem-title-box">
|
|
<div class="listItem-title-box">
|
|
<span>指标名称:</span>
|
|
<span>指标名称:</span>
|
|
<span style="color: #ff0000;">{{ show_name }}</span>
|
|
<span style="color: #ff0000;">{{ show_name }}</span>
|
|
- <!-- <span class="span-btn" @click="clickJsTitleBtn">指标计算</span> -->
|
|
|
|
|
|
+ <span class="span-btn" @click="clickJsTitleBtn">指标计算</span>
|
|
<img src="../../assets/images/arrow-down.png" alt="" @click.stop="clickListItem" class="arrow-down" :class="show_box?'show':''"/>
|
|
<img src="../../assets/images/arrow-down.png" alt="" @click.stop="clickListItem" class="arrow-down" :class="show_box?'show':''"/>
|
|
</div>
|
|
</div>
|
|
|
|
|
|
@@ -365,7 +365,9 @@ export default {
|
|
this.top = 60;
|
|
this.top = 60;
|
|
this.type_v = this.$route.query.type_v;
|
|
this.type_v = this.$route.query.type_v;
|
|
this.show_name = this.$route.query.show_name?this.$route.query.show_name:'';
|
|
this.show_name = this.$route.query.show_name?this.$route.query.show_name:'';
|
|
-
|
|
|
|
|
|
+ if(this.$route.query.from == 'majorIndexDetail') {
|
|
|
|
+ this.is_VueDragResize = true
|
|
|
|
+ }
|
|
this.isControl = localStorage.getItem('isControl') == 'true' ? true : false;
|
|
this.isControl = localStorage.getItem('isControl') == 'true' ? true : false;
|
|
console.log(!this.$route.query.status && this.isControl, !this.$route.query.status, this.isControl);
|
|
console.log(!this.$route.query.status && this.isControl, !this.$route.query.status, this.isControl);
|
|
|
|
|
|
@@ -415,6 +417,17 @@ export default {
|
|
this.show_box = !this.show_box;
|
|
this.show_box = !this.show_box;
|
|
this.resize();
|
|
this.resize();
|
|
},
|
|
},
|
|
|
|
+ clickJsTitleBtn(){
|
|
|
|
+ const params = {
|
|
|
|
+ category: this.$route.query.category,
|
|
|
|
+ zyh: this.$route.query.zyh
|
|
|
|
+ }
|
|
|
|
+ this.$axios2.post('/quality_index_recalculate', params).then(res => {
|
|
|
|
+ if(res.code == 200) {
|
|
|
|
+ this.$router.back()
|
|
|
|
+ }
|
|
|
|
+ });
|
|
|
|
+ },
|
|
clickxqItemErrorItems(i){
|
|
clickxqItemErrorItems(i){
|
|
let xqItemError = this.xqItemError;
|
|
let xqItemError = this.xqItemError;
|
|
xqItemError[i].show = !xqItemError[i].show;
|
|
xqItemError[i].show = !xqItemError[i].show;
|