Merge remote-tracking branch 'origin/dev' into dev
This commit is contained in:
commit
9ac6fbeab9
@ -1,6 +1,6 @@
|
|||||||
<template>
|
<template>
|
||||||
<div style="background-color: #f1f3f5;width:100%">
|
<div style="background-color: #f1f3f5;width:100%">
|
||||||
<!-- 画像审核 -->
|
<!-- 路径审核 -->
|
||||||
<div class="card">
|
<div class="card">
|
||||||
<div class="cardleft">
|
<div class="cardleft">
|
||||||
<div class="title">
|
<div class="title">
|
||||||
@ -128,10 +128,14 @@
|
|||||||
<img src="../../../assets/pathReview/bluexinxi.png" alt="" v-else>
|
<img src="../../../assets/pathReview/bluexinxi.png" alt="" v-else>
|
||||||
<span>路径信息</span>
|
<span>路径信息</span>
|
||||||
</div>
|
</div>
|
||||||
<div class="topbutton" :class="tab == 2 ? 'blue' : ''" @click="getlist">
|
<div class="topbutton" :class="tab == 2 ? 'blue' : ''" @click="getlist"
|
||||||
|
:style="tab == 2 ? 'min-width:150px' : ''">
|
||||||
<img src="../../../assets/pathReview/blackrenwu.png" alt="" v-if="tab != 2">
|
<img src="../../../assets/pathReview/blackrenwu.png" alt="" v-if="tab != 2">
|
||||||
<img src="../../../assets/pathReview/bluerenwu.png" alt="" v-else>
|
<img src="../../../assets/pathReview/bluerenwu.png" alt="" v-else>
|
||||||
<span>路径任务</span>
|
<span>路径任务</span>
|
||||||
|
<el-switch v-if="tab == 2" v-model="switchvalue" active-color="#1890ff" inactive-color="#DDE0E9"
|
||||||
|
@change="changeswitch">
|
||||||
|
</el-switch>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div v-if="tab == 1">
|
<div v-if="tab == 1">
|
||||||
@ -167,7 +171,8 @@
|
|||||||
<el-collapse-item title="子路径" name="2">
|
<el-collapse-item title="子路径" name="2">
|
||||||
<div v-for="item in informationlist.childRouteList" :key="item.id">
|
<div v-for="item in informationlist.childRouteList" :key="item.id">
|
||||||
<div class="zljtitle">
|
<div class="zljtitle">
|
||||||
{{ item.routeName }}
|
{{ item.routeName }} <span v-if="!informationlist.conditionSatisfyStatus"
|
||||||
|
style="color: red">(不符合条件)</span>
|
||||||
</div>
|
</div>
|
||||||
<el-table :data="item.nodeList" style="width: 100%">
|
<el-table :data="item.nodeList" style="width: 100%">
|
||||||
<el-table-column prop="" label="" width="160">
|
<el-table-column prop="" label="" width="160">
|
||||||
@ -318,6 +323,7 @@ export default {
|
|||||||
components: { questionopennew, Scriptpreview },
|
components: { questionopennew, Scriptpreview },
|
||||||
data() {
|
data() {
|
||||||
return {
|
return {
|
||||||
|
switchvalue: false,
|
||||||
baseUrl: process.env.VUE_APP_BASE_API,
|
baseUrl: process.env.VUE_APP_BASE_API,
|
||||||
list: {},
|
list: {},
|
||||||
tab: 1,
|
tab: 1,
|
||||||
@ -328,7 +334,8 @@ export default {
|
|||||||
nodeList: [],
|
nodeList: [],
|
||||||
childRouteList: []
|
childRouteList: []
|
||||||
},
|
},
|
||||||
routelist: undefined,
|
routelist: [],
|
||||||
|
allroutelist: [],
|
||||||
phoneNodeContent: {
|
phoneNodeContent: {
|
||||||
scriptInfoId: null,
|
scriptInfoId: null,
|
||||||
flowScheme: null,
|
flowScheme: null,
|
||||||
@ -342,6 +349,13 @@ export default {
|
|||||||
this.info();
|
this.info();
|
||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
|
changeswitch(e) {
|
||||||
|
if (e) {
|
||||||
|
this.routelist = this.allroutelist.filter(item => item.conditionSatisfyStatus);
|
||||||
|
} else {
|
||||||
|
this.routelist = this.allroutelist
|
||||||
|
}
|
||||||
|
},
|
||||||
info() {
|
info() {
|
||||||
this.tab = 1
|
this.tab = 1
|
||||||
const loading = this.$loading({
|
const loading = this.$loading({
|
||||||
@ -368,13 +382,12 @@ export default {
|
|||||||
})
|
})
|
||||||
this.informationlist = res.data
|
this.informationlist = res.data
|
||||||
loading.close();
|
loading.close();
|
||||||
|
}).catch(() => {
|
||||||
|
loading.close();
|
||||||
})
|
})
|
||||||
.catch(() => {
|
|
||||||
loading.close();
|
|
||||||
})
|
|
||||||
},
|
},
|
||||||
getlist() {
|
getlist() {
|
||||||
if (!this.routelist) {
|
if (this.routelist.length == 0) {
|
||||||
const loading = this.$loading({
|
const loading = this.$loading({
|
||||||
lock: true,
|
lock: true,
|
||||||
text: '加载中',
|
text: '加载中',
|
||||||
@ -382,6 +395,7 @@ export default {
|
|||||||
background: 'rgba(255, 255, 255, 0.7)'
|
background: 'rgba(255, 255, 255, 0.7)'
|
||||||
});
|
});
|
||||||
getRouteNodeInfo(this.$route.query.signRecordId).then(res => {
|
getRouteNodeInfo(this.$route.query.signRecordId).then(res => {
|
||||||
|
this.allroutelist = res.data
|
||||||
this.routelist = res.data
|
this.routelist = res.data
|
||||||
this.tab = 2
|
this.tab = 2
|
||||||
loading.close();
|
loading.close();
|
||||||
@ -447,8 +461,8 @@ export default {
|
|||||||
.zljtitle {
|
.zljtitle {
|
||||||
font-size: 14px;
|
font-size: 14px;
|
||||||
height: 50px;
|
height: 50px;
|
||||||
|
padding-left: 2px;
|
||||||
line-height: 50px;
|
line-height: 50px;
|
||||||
color: #92A2AB;
|
|
||||||
border-bottom: 1px solid #e6ebf5;
|
border-bottom: 1px solid #e6ebf5;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -616,7 +630,7 @@ export default {
|
|||||||
|
|
||||||
.topbutton {
|
.topbutton {
|
||||||
background-color: #DDE0E9;
|
background-color: #DDE0E9;
|
||||||
width: 100px;
|
min-width: 100px;
|
||||||
height: 34px;
|
height: 34px;
|
||||||
display: flex;
|
display: flex;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user