Commit 1fbd6836 by liyuhang19990520

湖南可视化

parent 7387dae5
No preview for this file type
......@@ -111,6 +111,7 @@
<!--多选下拉框-->
<el-select
v-model="formData[item.id]"
collapse-tags
clearable
multiple
:placeholder="item.placeholder"
......@@ -337,7 +338,11 @@
width="100%"
size="small"
>
<el-table-column type="index" width="50"></el-table-column>
<el-table-column label="序号" align="center" width="50">
<template slot-scope="scope">
<p>{{ scope.$index + 1 }}</p>
</template>
</el-table-column>
<el-table-column
align="center"
v-for="columnTitle in propChildrenFormThead"
......@@ -811,8 +816,17 @@ export default {
nodeClickBoo: false,
};
if (moduleName == "hnthfx") {
obj.nodedata = null;
obj.params.rygx = this.fData?.rygx.join(",") || null;
obj.nodedata = {
type: "phone",
id: 0,
name: "1111",
children: true,
};
console.log(this.fData?.rygx);
obj.params.rygx =
this.fData.rygx != "" && this.fData.rygx != null
? this.fData?.rygx?.join(",")
: null;
}
let key = util.uuid();
localStorage.setItem(key, JSON.stringify(obj));
......@@ -1142,7 +1156,7 @@ export default {
} else if (i == "rygx") {
json[i] =
self.formData[i] != "" && self.formData[i] != null
? self.formData[i].join(",")
? self.formData[i]?.join(",")
: "";
} else {
json[i] = self.formData[i];
......@@ -1320,15 +1334,15 @@ export default {
cursor: pointer;
margin-right: 13px;
}
.el-form-item{
.el-form-item {
/deep/ {
.el-form-item__content{
.el-form-item__content {
> div {
width: 100%;
}
.el-input-number{
.el-input-number {
> span {
width: calc( 100%/2 - 100px);
width: calc(100% / 2 - 100px);
line-height: 28px;
top: 4px;
}
......
/*
* @Author: your name
* @Date: 2021-06-20 11:48:40
* @LastEditTime: 2021-09-23 15:31:25
* @LastEditTime: 2021-09-24 15:59:05
* @LastEditors: Please set LastEditors
* @Description: In User Settings Edit
* @FilePath: \control_platform\src\settings.js
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment