项目详情-认证参数列表中清单编辑去掉可以修改模板
This commit is contained in:
@@ -357,7 +357,7 @@
|
|||||||
this.areaVisible = true
|
this.areaVisible = true
|
||||||
this.areaTitle = this.$t('editDetailList')
|
this.areaTitle = this.$t('editDetailList')
|
||||||
setTimeout(() => {
|
setTimeout(() => {
|
||||||
this.$refs.templateRef.editData(edit)
|
this.$refs.templateRef.editData(edit,1)
|
||||||
}, 50)
|
}, 50)
|
||||||
},
|
},
|
||||||
handleAdd() {
|
handleAdd() {
|
||||||
|
|||||||
@@ -79,7 +79,7 @@
|
|||||||
</div>
|
</div>
|
||||||
</a-col>
|
</a-col>
|
||||||
</a-row>
|
</a-row>
|
||||||
<a-row :gutter='24'>
|
<a-row :gutter='24' v-if='!this.num'>
|
||||||
<a-col :span='9'>
|
<a-col :span='9'>
|
||||||
<div class="box-title-text">
|
<div class="box-title-text">
|
||||||
<div class="title-text">
|
<div class="title-text">
|
||||||
@@ -143,6 +143,7 @@
|
|||||||
</a-spin>
|
</a-spin>
|
||||||
<a-table
|
<a-table
|
||||||
class='table-area'
|
class='table-area'
|
||||||
|
v-if='!this.num'
|
||||||
ref='table'
|
ref='table'
|
||||||
size='middle'
|
size='middle'
|
||||||
rowKey='id'
|
rowKey='id'
|
||||||
@@ -156,6 +157,7 @@
|
|||||||
</a-table>
|
</a-table>
|
||||||
<div class="page" style='display: flex;justify-content: flex-end; margin-bottom: 42px'>
|
<div class="page" style='display: flex;justify-content: flex-end; margin-bottom: 42px'>
|
||||||
<a-pagination
|
<a-pagination
|
||||||
|
v-if='!this.num'
|
||||||
:show-total="total => $t('total')+` ${total} `+$t('strip')"
|
:show-total="total => $t('total')+` ${total} `+$t('strip')"
|
||||||
show-quick-jumper
|
show-quick-jumper
|
||||||
show-size-changer
|
show-size-changer
|
||||||
@@ -235,6 +237,7 @@
|
|||||||
spinLoading: false,
|
spinLoading: false,
|
||||||
confirmLoading: false,
|
confirmLoading: false,
|
||||||
selectedRowKeys: [],
|
selectedRowKeys: [],
|
||||||
|
num:'',
|
||||||
pageNo: 1,
|
pageNo: 1,
|
||||||
pageSize: 10,
|
pageSize: 10,
|
||||||
row: {}
|
row: {}
|
||||||
@@ -321,8 +324,9 @@
|
|||||||
this.newVisible = true
|
this.newVisible = true
|
||||||
this.form = {}
|
this.form = {}
|
||||||
},
|
},
|
||||||
editData(edit) {
|
editData(edit,num) {
|
||||||
// 编辑一行的数据
|
// 编辑一行的数据
|
||||||
|
this.num = num
|
||||||
let query = JSON.parse(JSON.stringify(edit))
|
let query = JSON.parse(JSON.stringify(edit))
|
||||||
if (query.projectVersion) {
|
if (query.projectVersion) {
|
||||||
query.projectVersion = query.projectVersion.split(',')
|
query.projectVersion = query.projectVersion.split(',')
|
||||||
|
|||||||
Reference in New Issue
Block a user