|
@@ -16,6 +16,7 @@
|
|
|
</el-option>
|
|
|
</el-select> -->
|
|
|
<el-input
|
|
|
+ style="width:45%;"
|
|
|
:disabled='true'
|
|
|
v-model="htmlData.name"
|
|
|
placeholder="请输入内容"
|
|
@@ -122,7 +123,6 @@ export default {
|
|
|
},
|
|
|
saveType () {//保存设置按钮
|
|
|
this.disabled = true
|
|
|
-
|
|
|
if (this.from.type && this.htmlData.name) {
|
|
|
let ks = false
|
|
|
if (this.from.type == 'select' | this.from.type == 'radio' | this.from.type == 'checkbox') {
|
|
@@ -141,17 +141,21 @@ export default {
|
|
|
this.disabled = false
|
|
|
} else {
|
|
|
this.saveInput({
|
|
|
- colId: this.htmlData.name,
|
|
|
- nodeId: this.pkeyId,
|
|
|
+ trIndex: this.htmlData.tr,
|
|
|
+ tdIndex: this.htmlData.td,
|
|
|
+ tableId: this.pkeyId,
|
|
|
textId: this.from.type,
|
|
|
- textInfo: this.setInputTable
|
|
|
+ type: '1',
|
|
|
+ textInfo: []
|
|
|
})
|
|
|
}
|
|
|
} else {
|
|
|
this.saveInput({
|
|
|
- colId: this.htmlData.name,
|
|
|
- nodeId: this.pkeyId,
|
|
|
+ trIndex: this.htmlData.tr,
|
|
|
+ tdIndex: this.htmlData.td,
|
|
|
+ tableId: this.pkeyId,
|
|
|
textId: this.from.type,
|
|
|
+ type: '1',
|
|
|
textInfo: []
|
|
|
})
|
|
|
}
|