|
@@ -257,14 +257,7 @@ export default {
|
|
|
form: {},
|
|
|
total: '',
|
|
|
activeName: 'first',
|
|
|
- list: [
|
|
|
- // {
|
|
|
- // company: '1',
|
|
|
- // },
|
|
|
- // {
|
|
|
- // company: '2',
|
|
|
- // },
|
|
|
- ],
|
|
|
+ list: [],
|
|
|
fieldList: [],
|
|
|
cooperationList: [],
|
|
|
achievestatusList: [],
|
|
@@ -284,19 +277,16 @@ export default {
|
|
|
}
|
|
|
}
|
|
|
},
|
|
|
- async delDelete(index) {
|
|
|
- this.list.splice(index, 1);
|
|
|
+ async delDelete({ data }) {
|
|
|
+ let res = await this.delete(data.id);
|
|
|
+ if (this.$checkRes(res)) {
|
|
|
+ this.$message({
|
|
|
+ message: '信息删除成功',
|
|
|
+ type: 'success',
|
|
|
+ });
|
|
|
+ this.clic();
|
|
|
+ }
|
|
|
},
|
|
|
- // async delDelete({ data }) {
|
|
|
- // let res = await this.delete(data.id);
|
|
|
- // if (this.$checkRes(res)) {
|
|
|
- // this.$message({
|
|
|
- // message: '信息删除成功',
|
|
|
- // type: 'success',
|
|
|
- // });
|
|
|
- // this.search();
|
|
|
- // }
|
|
|
- // },
|
|
|
async searchtype() {
|
|
|
// 所属领域;
|
|
|
let res = await this.markettypeList({ category: '01' });
|