|
@@ -16,8 +16,8 @@
|
|
|
<span>|</span> <span>{{ menuName }}</span>
|
|
|
</el-col>
|
|
|
<el-col :span="12" class="search">
|
|
|
- <el-input v-model="searchInput" placeholder="请输入内容"></el-input>
|
|
|
- <el-button type="primary" size="mini">查询</el-button>
|
|
|
+ <el-input v-model="chanpinInput" placeholder="请输入内容"></el-input>
|
|
|
+ <el-button type="primary" size="mini" @click="chanpinBtn()">查询</el-button>
|
|
|
</el-col>
|
|
|
</el-col>
|
|
|
<el-col class="chanpinList" :span="24" v-for="(item, index) in chanpinList" :key="index">
|
|
@@ -38,8 +38,8 @@
|
|
|
<span>|</span> <span>{{ menuName }}</span>
|
|
|
</el-col>
|
|
|
<el-col :span="12" class="search">
|
|
|
- <el-input v-model="searchInput" placeholder="请输入内容"></el-input>
|
|
|
- <el-button type="primary" size="mini">查询</el-button>
|
|
|
+ <el-input v-model="jishuInput" placeholder="请输入内容"></el-input>
|
|
|
+ <el-button type="primary" size="mini" @click="jishuBtn()">查询</el-button>
|
|
|
</el-col>
|
|
|
</el-col>
|
|
|
<el-col class="infoRightList" :span="24" v-for="(item, index) in jishuList" :key="index">
|
|
@@ -70,8 +70,8 @@
|
|
|
<span>|</span> <span>{{ menuName }}</span>
|
|
|
</el-col>
|
|
|
<el-col :span="12" class="search">
|
|
|
- <el-input v-model="searchInput" placeholder="请输入内容"></el-input>
|
|
|
- <el-button type="primary" size="mini">查询</el-button>
|
|
|
+ <el-input v-model="fuwuInput" placeholder="请输入内容"></el-input>
|
|
|
+ <el-button type="primary" size="mini" @click="fuwuBtn()">查询</el-button>
|
|
|
</el-col>
|
|
|
</el-col>
|
|
|
<el-col class="infoRightList" :span="24" v-for="(item, index) in serviceList" :key="index">
|
|
@@ -87,8 +87,8 @@
|
|
|
<span>|</span> <span>{{ menuName }}</span>
|
|
|
</el-col>
|
|
|
<el-col :span="12" class="search">
|
|
|
- <el-input v-model="searchInput" placeholder="请输入内容"></el-input>
|
|
|
- <el-button type="primary" size="mini">查询</el-button>
|
|
|
+ <el-input v-model="exportInput" placeholder="请输入内容"></el-input>
|
|
|
+ <el-button type="primary" size="mini" @click="exportBtn()">查询</el-button>
|
|
|
</el-col>
|
|
|
</el-col>
|
|
|
<el-col class="exportList" :span="24" v-for="(item, index) in exportList" :key="index">
|
|
@@ -159,8 +159,14 @@ export default {
|
|
|
display: '1',
|
|
|
detailInfo: {},
|
|
|
zhuanjiainfo: {},
|
|
|
- // 查询
|
|
|
- searchInput: '',
|
|
|
+ // 产品
|
|
|
+ chanpinInput: '',
|
|
|
+ // 技术
|
|
|
+ jishuInput: '',
|
|
|
+ // 服务
|
|
|
+ fuwuInput: '',
|
|
|
+ // 专家
|
|
|
+ exportInput: '',
|
|
|
}),
|
|
|
created() {
|
|
|
this.searchList();
|
|
@@ -256,13 +262,11 @@ export default {
|
|
|
const res = await this.newfetch(id);
|
|
|
this.$set(this, `detailInfo`, res.data);
|
|
|
},
|
|
|
-
|
|
|
async clickjishu(id) {
|
|
|
this.display = '2';
|
|
|
const res = await this.newfetch(id);
|
|
|
this.$set(this, `detailInfo`, res.data);
|
|
|
},
|
|
|
-
|
|
|
async search() {
|
|
|
this.display = this.$route.query.display;
|
|
|
if (this.display == '2') {
|
|
@@ -376,6 +380,26 @@ export default {
|
|
|
// let ress = await this.tranauditcreate(shenhe);
|
|
|
// this.$router.push({ path: '/live/hall/dock/dockDetail', query: { id: this.detailInfo.id } });
|
|
|
},
|
|
|
+ // 产品查询
|
|
|
+ async chanpinBtn() {
|
|
|
+ const res = await this.list({ name: this.chanpinInput, totaltype: '1', status: 1 });
|
|
|
+ this.$set(this, `chanpinList`, res.data);
|
|
|
+ },
|
|
|
+ // 技术
|
|
|
+ async jishuBtn() {
|
|
|
+ const res = await this.list({ name: this.jishuInput, totaltype: '0', status: 1 });
|
|
|
+ this.$set(this, `jishuList`, res.data);
|
|
|
+ },
|
|
|
+ // 技术
|
|
|
+ async fuwuBtn() {
|
|
|
+ const res = await this.list({ name: this.fuwuInput, totaltype: '2', status: 1 });
|
|
|
+ this.$set(this, `serviceList`, res.data);
|
|
|
+ },
|
|
|
+ // 专家
|
|
|
+ async exportBtn() {
|
|
|
+ const res = await this.lists({ name: this.exportInput });
|
|
|
+ this.$set(this, `exportList`, res.data);
|
|
|
+ },
|
|
|
},
|
|
|
};
|
|
|
</script>
|