修改
This commit is contained in:
parent
4328c6c66e
commit
eb1c01e5d7
@ -5,11 +5,18 @@
|
|||||||
<el-tab-pane label="画像审核" name="portrait"></el-tab-pane>
|
<el-tab-pane label="画像审核" name="portrait"></el-tab-pane>
|
||||||
<el-tab-pane label="路径审核" name="route"></el-tab-pane>
|
<el-tab-pane label="路径审核" name="route"></el-tab-pane>
|
||||||
</el-tabs>
|
</el-tabs>
|
||||||
<div class="right">
|
<div class="right" v-if="activeNametab == 'portrait'">
|
||||||
<el-button size="mini" @click="cancel">取 消</el-button>
|
<el-button size="mini" @click="cancel">取 消</el-button>
|
||||||
<el-button size="mini" type="primary" @click="auditing">审核通过</el-button>
|
<el-button size="mini" type="primary" @click="auditing">审核通过</el-button>
|
||||||
<el-button size="mini" type="info" @click="ignore">忽略</el-button>
|
<el-button size="mini" type="info" @click="ignore">忽略</el-button>
|
||||||
</div>
|
</div>
|
||||||
|
<div class="right" v-else>
|
||||||
|
<el-button size="mini" @click="cancel">取 消</el-button>
|
||||||
|
<el-button size="mini" type="primary" @click="auditing"
|
||||||
|
v-if="routeCheckStatus != 'AGREE' && routeCheckStatus != 'DISAGREE'">审核通过</el-button>
|
||||||
|
<el-button size="mini" type="info" @click="ignore"
|
||||||
|
v-if="routeCheckStatus != 'AGREE' && routeCheckStatus != 'DISAGREE'">忽略</el-button>
|
||||||
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<!-- 画像审核 -->
|
<!-- 画像审核 -->
|
||||||
<div class="card" v-if="activeNametab == 'portrait'">
|
<div class="card" v-if="activeNametab == 'portrait'">
|
||||||
@ -100,7 +107,7 @@
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="card" v-else>
|
<div class="card" v-else>
|
||||||
<PathReview ref="PathReview"></PathReview>
|
<PathReview ref="PathReview" @on-routeCheckStatus="onrouteCheckStatus"></PathReview>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
@ -129,12 +136,17 @@ export default {
|
|||||||
list: {},
|
list: {},
|
||||||
// nodelist: [],
|
// nodelist: [],
|
||||||
lookitem: {},
|
lookitem: {},
|
||||||
|
routeCheckStatus: undefined,
|
||||||
};
|
};
|
||||||
},
|
},
|
||||||
created() {
|
created() {
|
||||||
this.info();
|
this.info();
|
||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
|
//路径审核页面传值
|
||||||
|
onrouteCheckStatus(e) {
|
||||||
|
this.routeCheckStatus = e.routeCheckStatus
|
||||||
|
},
|
||||||
portraitlist(val) {
|
portraitlist(val) {
|
||||||
console.log(val, '999999999')
|
console.log(val, '999999999')
|
||||||
},
|
},
|
||||||
@ -151,27 +163,46 @@ export default {
|
|||||||
confirmButtonText: '确定',
|
confirmButtonText: '确定',
|
||||||
cancelButtonText: '取消',
|
cancelButtonText: '取消',
|
||||||
}).then(({ value }) => {
|
}).then(({ value }) => {
|
||||||
let obj = {
|
if (this.activeNametab == 'route') {
|
||||||
routeCheckPerson: JSON.parse(localStorage.getItem('user')).nickName,
|
let obj = {
|
||||||
routeCheckRemark: value,
|
routeCheckRemark: value,
|
||||||
routeCheckStatus: 'DISAGREE',
|
routeCheckStatus: 'DISAGREE',
|
||||||
// manageRouteNodeIds: manageRouteNodeIds
|
signPatientRecordId: this.$route.query.signRecordId
|
||||||
|
}
|
||||||
|
updateRouteCheckStatus(obj).then(res => {
|
||||||
|
this.$notify({
|
||||||
|
type: 'success',
|
||||||
|
title: '提示',
|
||||||
|
message: '路径审核已忽略',
|
||||||
|
duration: 3000
|
||||||
|
});
|
||||||
|
setTimeout(() => {
|
||||||
|
this.$refs.PathReview.info();
|
||||||
|
}, 1500);
|
||||||
|
})
|
||||||
|
} else {
|
||||||
|
let obj = {
|
||||||
|
routeCheckPerson: JSON.parse(localStorage.getItem('user')).nickName,
|
||||||
|
routeCheckRemark: value,
|
||||||
|
routeCheckStatus: 'DISAGREE',
|
||||||
|
// manageRouteNodeIds: manageRouteNodeIds
|
||||||
|
}
|
||||||
|
audit(obj).then(res => {
|
||||||
|
this.$notify({
|
||||||
|
type: 'success',
|
||||||
|
title: '提示',
|
||||||
|
message: '已忽略,即将返回上一页',
|
||||||
|
duration: 3000
|
||||||
|
});
|
||||||
|
setTimeout(() => {
|
||||||
|
this.$store.dispatch('tagsView/delView', this.$route).then(({ visitedViews }) => {
|
||||||
|
this.$router.push({
|
||||||
|
path: "/task/manualReview",
|
||||||
|
});
|
||||||
|
})
|
||||||
|
}, 3000);
|
||||||
|
})
|
||||||
}
|
}
|
||||||
audit(obj).then(res => {
|
|
||||||
this.$notify({
|
|
||||||
type: 'success',
|
|
||||||
title: '提示',
|
|
||||||
message: '已忽略,即将返回上一页',
|
|
||||||
duration: 3000
|
|
||||||
});
|
|
||||||
setTimeout(() => {
|
|
||||||
this.$store.dispatch('tagsView/delView', this.$route).then(({ visitedViews }) => {
|
|
||||||
this.$router.push({
|
|
||||||
path: "/task/manualReview",
|
|
||||||
});
|
|
||||||
})
|
|
||||||
}, 3000);
|
|
||||||
})
|
|
||||||
})
|
})
|
||||||
},
|
},
|
||||||
//审核
|
//审核
|
||||||
|
|||||||
@ -152,7 +152,7 @@
|
|||||||
<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="tab = 2">
|
<div class="topbutton" :class="tab == 2 ? 'blue' : ''" @click="getlist">
|
||||||
<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>
|
||||||
@ -361,7 +361,7 @@ export default {
|
|||||||
nodeList: [],
|
nodeList: [],
|
||||||
childRouteList: []
|
childRouteList: []
|
||||||
},
|
},
|
||||||
routelist: [],
|
routelist: undefined,
|
||||||
phoneNodeContent: {
|
phoneNodeContent: {
|
||||||
scriptInfoId: null,
|
scriptInfoId: null,
|
||||||
flowScheme: null,
|
flowScheme: null,
|
||||||
@ -376,6 +376,7 @@ export default {
|
|||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
info() {
|
info() {
|
||||||
|
this.tab = 1
|
||||||
const loading = this.$loading({
|
const loading = this.$loading({
|
||||||
lock: true,
|
lock: true,
|
||||||
text: '加载中',
|
text: '加载中',
|
||||||
@ -387,6 +388,9 @@ export default {
|
|||||||
this.list = res.data
|
this.list = res.data
|
||||||
})
|
})
|
||||||
getRouteAuditinfo(this.$route.query.signRecordId).then(res => {
|
getRouteAuditinfo(this.$route.query.signRecordId).then(res => {
|
||||||
|
this.$emit("on-routeCheckStatus", {
|
||||||
|
routeCheckStatus: res.data.routeCheckStatus,
|
||||||
|
});
|
||||||
res.data.nodeList?.forEach(e => {
|
res.data.nodeList?.forEach(e => {
|
||||||
e.taskPartitionDictNames = e.taskPartitionDictNames.split(',')
|
e.taskPartitionDictNames = e.taskPartitionDictNames.split(',')
|
||||||
})
|
})
|
||||||
@ -398,9 +402,16 @@ export default {
|
|||||||
this.informationlist = res.data
|
this.informationlist = res.data
|
||||||
loading.close();
|
loading.close();
|
||||||
})
|
})
|
||||||
getRouteNodeInfo(this.$route.query.signRecordId).then(res => {
|
},
|
||||||
this.routelist = res.data
|
getlist() {
|
||||||
})
|
if (!this.routelist) {
|
||||||
|
getRouteNodeInfo(this.$route.query.signRecordId).then(res => {
|
||||||
|
this.routelist = res.data
|
||||||
|
this.tab = 2
|
||||||
|
})
|
||||||
|
} else {
|
||||||
|
this.tab = 2
|
||||||
|
}
|
||||||
},
|
},
|
||||||
scriptlook(item) {
|
scriptlook(item) {
|
||||||
this.phoneNodeContent = item.phoneNodeContent
|
this.phoneNodeContent = item.phoneNodeContent
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user