From d7e6b515aa68e9d17d8cec9dd3e93d77bc9b2b6e Mon Sep 17 00:00:00 2001
From: jiaosong <jiaosong6760@dingtalk.com>
Date: 星期三, 20 九月 2023 10:14:13 +0800
Subject: [PATCH] #文件地址
---
platform/src/components/business/OperaCategoryWindow.vue | 30 +++++++++++++++---------------
1 files changed, 15 insertions(+), 15 deletions(-)
diff --git a/platform/src/components/business/OperaCategoryWindow.vue b/platform/src/components/business/OperaCategoryWindow.vue
index d3b2b4f..e70b3a3 100644
--- a/platform/src/components/business/OperaCategoryWindow.vue
+++ b/platform/src/components/business/OperaCategoryWindow.vue
@@ -19,21 +19,21 @@
</el-form-item>
</el-form>
- <div class="param-table">
+ <div class="param-table" >
<div class="title-contant">
<div class="title">鍙傛暟灞炴�ч厤缃�</div>
<div class="sub-title">閰嶇疆褰撳墠绫诲埆鐨勪骇鍝佸弬鏁板悕</div>
</div>
- <el-table :data="form.baseCategoryRequestParamList" stripe border>
- <el-table-column prop="" label="鍙傛暟鍚�" min-width="100px" align="center">
+ <el-table :data="form.baseCateParamList" stripe border >
+ <el-table-column prop="" label="鍙傛暟鍚�" min-width="200px" align="center">
<template slot-scope="{row}">
- <el-input v-model="row.name" placeholder="璇疯緭鍏ユ帓搴忕爜" v-trim />
+ <el-input v-model="row.name" placeholder="璇疯緭鍏ュ弬鏁板悕" v-trim />
</template>
</el-table-column>
<el-table-column label="鎿嶄綔" width="100" align="center">
<template slot-scope="{row, $index}">
<el-button type="text" style="color: red"
- @click="form.baseCategoryRequestParamList.splice($index, 1)">鍒犻櫎</el-button>
+ @click="form.baseCateParamList.splice($index, 1)">鍒犻櫎</el-button>
</template>
</el-table-column>
</el-table>
@@ -66,14 +66,13 @@
// attrFirst: '',
// attrFirst1: '',
- baseCategoryRequestParamList: [],
+ baseCateParamList: [],
// attrSecond: '',
// attrSecond1: '',
// attrSecondList: [],
// parameter: '',
- // paramList: [],
-
+ paramList: []
},
// 楠岃瘉瑙勫垯
@@ -100,6 +99,8 @@
this.$nextTick(() => {
this.$refs.form.resetFields()
this.form.imgfullurl = ''
+ this.form.baseCateParamList = [{name:''}]
+ this.form.paramList = [{name:''}]
this.form[this.configData['field.id']] = null
})
return
@@ -109,15 +110,14 @@
for (const key in this.form) {
this.form[key] = target[key]
}
- this.form.baseCategoryRequestParamList = this.form.baseCategoryRequestParamList || []
+ this.form.baseCateParamList = this.form.baseCateParamList || []
})
},
- addParam() {
- this.form.baseCategoryRequestParamList.push({ name: '' })
+ addParam () {
+ this.form.baseCateParamList.push({ name: '' })
},
- changeInput(type, index) {
+ changeInput (type, index) {
if (type === 1) {
- 涓嶈兘涓虹┖
if (!this.form.budgetList[index].minamount) return
if (!/^[0-9]*[1-9][0-9]*$/.test(this.form.budgetList[index].minamount)) {
this.$message.warning({
@@ -222,6 +222,7 @@
<style lang="scss" scoped>
.param-table {
+ //width: 70%;
margin-top: 40px;
.title-contant {
@@ -247,5 +248,4 @@
width: 300px;
}
}
-</style>
-
\ No newline at end of file
+</style>
\ No newline at end of file
--
Gitblit v1.9.3