|
@@ -1,5 +1,8 @@
|
|
|
<template>
|
|
|
- <div v-if="labelForm.labelFlag == 1">
|
|
|
+ <div v-if="pageStatus == 0">配置加载中...</div>
|
|
|
+ <div v-else-if="pageStatus == 1">此页面只对站点用户开发</div>
|
|
|
+ <div v-else-if="pageStatus == 4" >
|
|
|
+ <div v-if="labelForm.labelFlag == 1">
|
|
|
<div v-if="labelForm.labelArr.length == 0">
|
|
|
你未添加标签,请先添加标签后再来设置规则
|
|
|
</div>
|
|
@@ -155,6 +158,8 @@
|
|
|
</el-dialog>
|
|
|
</div>
|
|
|
<div v-else>你未启用标签功能</div>
|
|
|
+ </div>
|
|
|
+
|
|
|
</template>
|
|
|
|
|
|
<script>
|
|
@@ -178,6 +183,7 @@ export default {
|
|
|
oilNameOptions: [],
|
|
|
filterOilNameOptions: [],
|
|
|
currentLabel: {},
|
|
|
+ pageStatus:0
|
|
|
};
|
|
|
},
|
|
|
created() {
|
|
@@ -185,9 +191,15 @@ export default {
|
|
|
},
|
|
|
methods: {
|
|
|
init() {
|
|
|
+ this.setPageStatus()
|
|
|
this.getList();
|
|
|
this.getOilName();
|
|
|
},
|
|
|
+ setPageStatus() {
|
|
|
+ this.queryPageStatus([2]).then((res) => {
|
|
|
+ this.pageStatus = res;
|
|
|
+ });
|
|
|
+ },
|
|
|
getOilName() {
|
|
|
listPrice().then((response) => {
|
|
|
if (response.code == 200) {
|