|
@@ -69,6 +69,9 @@
|
|
|
<el-card class="box-card" v-show="editShow" style="width: 320px">
|
|
<el-card class="box-card" v-show="editShow" style="width: 320px">
|
|
|
<div slot="header" class="clearfix">
|
|
<div slot="header" class="clearfix">
|
|
|
<span>配置</span>
|
|
<span>配置</span>
|
|
|
|
|
+ <el-button style="float: right; padding: 3px 0" type="text" @click="editShow = false"
|
|
|
|
|
+ >关闭</el-button
|
|
|
|
|
+ >
|
|
|
</div>
|
|
</div>
|
|
|
<el-form label-width="80px">
|
|
<el-form label-width="80px">
|
|
|
<el-form-item label="字段标识:" prop="id">
|
|
<el-form-item label="字段标识:" prop="id">
|
|
@@ -126,6 +129,7 @@
|
|
|
size="mini"
|
|
size="mini"
|
|
|
style="width: 100px; margin-right: 8px; flex-shrink: 0"
|
|
style="width: 100px; margin-right: 8px; flex-shrink: 0"
|
|
|
@change="paramSelectChange($event, 'id')"
|
|
@change="paramSelectChange($event, 'id')"
|
|
|
|
|
+ filterable
|
|
|
>
|
|
>
|
|
|
<el-option
|
|
<el-option
|
|
|
v-for="item in idList"
|
|
v-for="item in idList"
|
|
@@ -271,7 +275,7 @@
|
|
|
});
|
|
});
|
|
|
equation.forEach((item) => {
|
|
equation.forEach((item) => {
|
|
|
for (const key in item.equation) {
|
|
for (const key in item.equation) {
|
|
|
- let data=this.getObjValue() //每次计算都获取最新的值
|
|
|
|
|
|
|
+ let data = this.getObjValue(); //每次计算都获取最新的值
|
|
|
let value = '';
|
|
let value = '';
|
|
|
if (item.equation[key].length) {
|
|
if (item.equation[key].length) {
|
|
|
item.equation[key].forEach((equationItem) => {
|
|
item.equation[key].forEach((equationItem) => {
|
|
@@ -405,7 +409,6 @@
|
|
|
init(list) {
|
|
init(list) {
|
|
|
this.list = JSON.parse(list);
|
|
this.list = JSON.parse(list);
|
|
|
if (this.list.length) {
|
|
if (this.list.length) {
|
|
|
- // this.list[0].id="ozFSPs"
|
|
|
|
|
this.$nextTick(() => {
|
|
this.$nextTick(() => {
|
|
|
this.list.forEach((item) => {
|
|
this.list.forEach((item) => {
|
|
|
this.$refs['customTextRef' + item.id][0].init({
|
|
this.$refs['customTextRef' + item.id][0].init({
|