|
|
@ -65,7 +65,7 @@
|
|
|
|
:style="{ width: widthLeftForToolsHideButton + 'px' }"
|
|
|
|
:style="{ width: widthLeftForToolsHideButton + 'px' }"
|
|
|
|
@click="toolIsShow = !toolIsShow"
|
|
|
|
@click="toolIsShow = !toolIsShow"
|
|
|
|
>
|
|
|
|
>
|
|
|
|
<i class="el-icon-arrow-right" />
|
|
|
|
<i class="el-icon-arrow-right"/>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
|
|
<div
|
|
|
|
<div
|
|
|
@ -130,7 +130,7 @@
|
|
|
|
content="缩小"
|
|
|
|
content="缩小"
|
|
|
|
placement="bottom"
|
|
|
|
placement="bottom"
|
|
|
|
>
|
|
|
|
>
|
|
|
|
<i class="el-icon-minus" style="font-size: 16px" />
|
|
|
|
<i class="el-icon-minus" style="font-size: 16px"/>
|
|
|
|
</el-tooltip>
|
|
|
|
</el-tooltip>
|
|
|
|
</span>
|
|
|
|
</span>
|
|
|
|
<span
|
|
|
|
<span
|
|
|
@ -165,7 +165,7 @@
|
|
|
|
content="放大"
|
|
|
|
content="放大"
|
|
|
|
placement="bottom"
|
|
|
|
placement="bottom"
|
|
|
|
>
|
|
|
|
>
|
|
|
|
<i class="el-icon-plus" style="font-size: 16px" />
|
|
|
|
<i class="el-icon-plus" style="font-size: 16px"/>
|
|
|
|
</el-tooltip>
|
|
|
|
</el-tooltip>
|
|
|
|
</span>
|
|
|
|
</span>
|
|
|
|
|
|
|
|
|
|
|
@ -349,7 +349,7 @@
|
|
|
|
</template>
|
|
|
|
</template>
|
|
|
|
|
|
|
|
|
|
|
|
<script>
|
|
|
|
<script>
|
|
|
|
import { widgetTools, getToolByCode } from "./tools/index";
|
|
|
|
import {widgetTools, getToolByCode} from "./tools/index";
|
|
|
|
import mixin from "@/utils/screenMixins";
|
|
|
|
import mixin from "@/utils/screenMixins";
|
|
|
|
import widget from "./widget/widget.vue";
|
|
|
|
import widget from "./widget/widget.vue";
|
|
|
|
import dynamicForm from "./components/dynamicForm.vue";
|
|
|
|
import dynamicForm from "./components/dynamicForm.vue";
|
|
|
@ -598,6 +598,8 @@ export default {
|
|
|
|
return widgetJson;
|
|
|
|
return widgetJson;
|
|
|
|
},
|
|
|
|
},
|
|
|
|
setWidgetConfigValue(config, configValue) {
|
|
|
|
setWidgetConfigValue(config, configValue) {
|
|
|
|
|
|
|
|
// 循环遍历前非空判断
|
|
|
|
|
|
|
|
if (config) {
|
|
|
|
config.forEach((item) => {
|
|
|
|
config.forEach((item) => {
|
|
|
|
if (this.isObjectFn(item)) {
|
|
|
|
if (this.isObjectFn(item)) {
|
|
|
|
configValue[item.name] = item.value;
|
|
|
|
configValue[item.name] = item.value;
|
|
|
@ -610,6 +612,7 @@ export default {
|
|
|
|
});
|
|
|
|
});
|
|
|
|
}
|
|
|
|
}
|
|
|
|
});
|
|
|
|
});
|
|
|
|
|
|
|
|
}
|
|
|
|
},
|
|
|
|
},
|
|
|
|
layerClick(index) {
|
|
|
|
layerClick(index) {
|
|
|
|
this.widgetIndex = index;
|
|
|
|
this.widgetIndex = index;
|
|
|
|