|
@@ -139,7 +139,7 @@ import { permission } from "@/utils/directivePage";
|
|
|
import { guideList } from "@/constant/guide";
|
|
|
import {
|
|
|
getSysManualList,
|
|
|
- getSysManualMenuIds,
|
|
|
+ getSysManualMenuIds
|
|
|
} from "@/views/operationManual/api";
|
|
|
import "quill/dist/quill.core.css";
|
|
|
import "quill/dist/quill.snow.css";
|
|
@@ -158,7 +158,7 @@ export default {
|
|
|
activeName: "first",
|
|
|
allIdList: [],
|
|
|
isShow: false,
|
|
|
- activeImg: null,
|
|
|
+ activeImg: null
|
|
|
};
|
|
|
},
|
|
|
components: { serviceRemind },
|
|
@@ -177,12 +177,12 @@ export default {
|
|
|
},
|
|
|
isShowBtn() {
|
|
|
return this.allIdList.indexOf(this.$route.meta.id + "") != -1;
|
|
|
- },
|
|
|
+ }
|
|
|
},
|
|
|
async mounted() {
|
|
|
- this.$bus.$on("showguide", (obj) => {
|
|
|
+ this.$bus.$on("showguide", obj => {
|
|
|
this.guideList = [];
|
|
|
- obj.forEach((element) => {
|
|
|
+ obj.forEach(element => {
|
|
|
if (guideList[element]) {
|
|
|
this.guideList.push(guideList[element]);
|
|
|
}
|
|
@@ -224,7 +224,7 @@ export default {
|
|
|
menuId,
|
|
|
page: 1,
|
|
|
rows: 9999,
|
|
|
- search: this.form.search,
|
|
|
+ search: this.form.search
|
|
|
});
|
|
|
this.optionList = res.data.rows;
|
|
|
|
|
@@ -237,8 +237,8 @@ export default {
|
|
|
console.log(row);
|
|
|
this.activeRow = row;
|
|
|
this.innerDrawer = true;
|
|
|
- this.$nextTick((res) => {
|
|
|
- Array.from(document.querySelectorAll("img")).forEach((img) => {
|
|
|
+ this.$nextTick(res => {
|
|
|
+ Array.from(document.querySelectorAll("img")).forEach(img => {
|
|
|
img.addEventListener("click", this.previewImg, true);
|
|
|
});
|
|
|
});
|
|
@@ -250,15 +250,15 @@ export default {
|
|
|
let imgSrc = data.target.getAttribute("src");
|
|
|
this.activeImg = imgSrc;
|
|
|
this.$refs.previewImg.clickHandler();
|
|
|
- },
|
|
|
+ }
|
|
|
},
|
|
|
watch: {
|
|
|
innerDrawer(val) {
|
|
|
if (!val) {
|
|
|
this.activeName = "first";
|
|
|
}
|
|
|
- },
|
|
|
- },
|
|
|
+ }
|
|
|
+ }
|
|
|
};
|
|
|
</script>
|
|
|
<style lang="scss" scoped>
|
|
@@ -291,7 +291,7 @@ export default {
|
|
|
width: 100%;
|
|
|
cursor: pointer;
|
|
|
}
|
|
|
- ::v-deep p {
|
|
|
+ ::v-deep p {
|
|
|
line-height: 28px;
|
|
|
font-size: 14px !important;
|
|
|
}
|
|
@@ -307,7 +307,7 @@ export default {
|
|
|
color: #fff;
|
|
|
position: fixed;
|
|
|
right: 0;
|
|
|
- top: 180px;
|
|
|
+ top: 250px;
|
|
|
padding: 10px;
|
|
|
border-radius: 8px;
|
|
|
cursor: pointer;
|
|
@@ -387,7 +387,7 @@ export default {
|
|
|
padding-top: 15px;
|
|
|
padding-bottom: 0;
|
|
|
.el-dialog__headerbtn {
|
|
|
- top:28px;
|
|
|
+ top: 28px;
|
|
|
.el-icon {
|
|
|
color: #999;
|
|
|
font-size: 20px;
|