|
@@ -16,8 +16,8 @@
|
|
<banzhengXinxi ref="banzhengXinxi" :status='status' @addSave="addSave" @editSave="editSave"
|
|
<banzhengXinxi ref="banzhengXinxi" :status='status' @addSave="addSave" @editSave="editSave"
|
|
v-show="current ==3">
|
|
v-show="current ==3">
|
|
</banzhengXinxi>
|
|
</banzhengXinxi>
|
|
- <banzhengXinxiList :list="editInfo.kaozhengList" v-show="banzhengXinxiFlag" @editBanzheng="editBanzheng" @addBanzheng="addBanzheng"
|
|
|
|
- @deleteBanzheng="deleteBanzheng" @saveBanzheng="saveBanzhengList"
|
|
|
|
|
|
+ <banzhengXinxiList :list="editInfo.kaozhengList" v-show="banzhengXinxiFlag" @editBanzheng="editBanzheng"
|
|
|
|
+ @addBanzheng="addBanzheng" @deleteBanzheng="deleteBanzheng" @saveBanzheng="saveBanzhengList"
|
|
ref="banzhengXinxiList"></banzhengXinxiList>
|
|
ref="banzhengXinxiList"></banzhengXinxiList>
|
|
</view>
|
|
</view>
|
|
</template>
|
|
</template>
|
|
@@ -97,23 +97,23 @@
|
|
this.dataHandle(pageInfo)
|
|
this.dataHandle(pageInfo)
|
|
},
|
|
},
|
|
methods: {
|
|
methods: {
|
|
-
|
|
|
|
|
|
+
|
|
editBanzheng(data, index) {
|
|
editBanzheng(data, index) {
|
|
this.current = 3
|
|
this.current = 3
|
|
this.banzhengXinxiFlag = false
|
|
this.banzhengXinxiFlag = false
|
|
this.$refs.banzhengXinxi.editinfo(data, index)
|
|
this.$refs.banzhengXinxi.editinfo(data, index)
|
|
},
|
|
},
|
|
addBanzheng(data, index) {
|
|
addBanzheng(data, index) {
|
|
-
|
|
|
|
- },
|
|
|
|
|
|
+
|
|
|
|
+ },
|
|
deleteBanzheng(data, index) {
|
|
deleteBanzheng(data, index) {
|
|
-
|
|
|
|
|
|
+
|
|
},
|
|
},
|
|
- @saveBanzheng(data, index) {
|
|
|
|
-
|
|
|
|
|
|
+ saveBanzhengList(data, index) {
|
|
|
|
+
|
|
},
|
|
},
|
|
-
|
|
|
|
-
|
|
|
|
|
|
+
|
|
|
|
+
|
|
dataHandle(pageInfo) {
|
|
dataHandle(pageInfo) {
|
|
if (this.status == 'add') {
|
|
if (this.status == 'add') {
|
|
this.tabs = [{
|
|
this.tabs = [{
|