Commit 41fbca55 authored by 李苏's avatar 李苏 💬

后端测试

parent da66445f
......@@ -58,7 +58,7 @@
</div>
</div> -->
<!-- 右侧操作边框-->
<div v-show='selectedModel.name' class="rightOpt" ref="rightOpt">
<div class="rightOpt" ref="rightOpt">
<div class="full padding5" style="height: 100%;">
<div class="optTitle">
{{selectedModel.name?selectedModel.name+'的':''}}设备信息
......@@ -68,7 +68,27 @@
<i class="topR"></i>
<i class="bottomL"></i>
<i class="bottomR"></i>
<div class="full">
<div class="full" style="margin-top: 50px;">
<el-row :gutter="20" class="search-row-1">
<el-col :span="24" class="search-col">
<div class="search-item">
<span class="search-span">机组编码:</span>
<el-input v-model="queryParams.jzbm"></el-input>
</div>
</el-col>
<el-col :span="24" class="search-col">
<div class="search-item">
<span class="search-span">状态:</span>
<RelSelect style="width: 100%;" src='sbgl/usbxx/init/zt ' filterable clearable
:match="{value:'id',label:'name'}" v-model='queryParams.kshZt'></RelSelect>
</div>
</el-col>
<el-col :span="24" class="search-col flex-center">
<el-button type="primary" @click="apiJzbm()">查 看</el-button>
</el-col>
</el-row>
......@@ -158,6 +178,11 @@
},
data() {
return {
/* 测试代码*/
queryParams:{
jzbm:'',
kshZt:''
},
xzjj: true,
flowDirection: true,
flowPieData: '',
......@@ -195,9 +220,9 @@
this.jzReMaterialQue.forEach(item => {
item.revert()
})
this.$post('ksh/query',{
jzbm:1
}).then(res=>{
this.$post('ksh/query',
this.queryParams
).then(res=>{
if(res.success){
let sbxxList=res.data.records||[]
const sbxxCodeList=sbxxList.map(item=>item.sbxxCode)
......@@ -231,7 +256,7 @@
/* 解决com和 相机控制器事件冲突的问题*/
canNotMousedown(domList) {
domList.forEach(vdom => {
vdom.addEventListener('mousedown', function(event) {
vdom.addEventListener('mouseover', function(event) {
event.preventDefault();
});
})
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment