Commit c0edec7b by 米嘉伟

提交

parent ec5db32b
......@@ -15,7 +15,7 @@
</div>
<div class="middle">
<div class="middleTop">本月总数</div>
<div class='middlebottom'><span>300</span></div>
<div class='middlebottom'><span>{{byzs}}</span></div>
</div>
<div class="right">
<div class="rightTop">
......@@ -23,7 +23,7 @@
<div class="rightBottom">
<div class='msg1'><span class="colorspan"></span> 本次预估剩余 <span class="numbspan">85</span> </div>
<div class='msg2'><span class="colorspan"></span> 本次消耗 <span class="numbspan">45</span></div>
<div class='msg3'><span class="colorspan"></span> 消耗前剩余 <span class="numbspan">130</span> <span class="numbspan1">/200</span></div>
<div class='msg3'><span class="colorspan"></span> 消耗前剩余 <span class="numbspan">{{syts}}</span> <span class="numbspan1">/{{byzs}}</span></div>
</div>
</div>
</div>
......@@ -382,7 +382,10 @@ export default {
},
data () {
return {
tableDate: '',
byzsArr: '', // 本月总数(5个等级数组)
byzs: '300',// 该类型下本月总数
sytsArr: '',// 剩余条数
syts: '300',
checkAll: false,
checkedCities: [],
cities: cityOptions,
......@@ -394,7 +397,7 @@ export default {
},
dynamicValidateForm: {
domains: [{
value: ''
// value: ''
}],
email: ''
},
......@@ -429,7 +432,6 @@ export default {
this.dialogVisible = this.isShowFcx;
// console.log('发查询类型', this.type)
this.type == 'ry' ? this.title = '人员发查询' : this.title = '案件发查询'
this.search()
},
created () {
......@@ -438,7 +440,8 @@ export default {
isShowFcx (newVal, oldVal) {
this.dialogVisible = newVal;
if (newVal == true) {
this.search()
this.searchZTS()
this.searchsytsArr()
}
},
dialogVisible (val) {
......@@ -479,16 +482,54 @@ export default {
})
.catch(_ => { });
},
// 获取发查询数据(总条数)
//发查询
search () {
this.reqParam.userid = 123; this.reqParam.userid = 123;
let queryRequest = {
queryClass: '', // 优先级
matchCount: '', // 候选个数
srcQueryDataList: { //源数据
id: "",
barcode: '',
}
}
queryRequest.srcQueryDataList.id =
this.$axios
.post("/api/query", this.reqParam)
.then(response => {
if (response.data.code === 0) {
// console.info("发查询条数返回列表===>", this.byzsArr);
} else {
this.$message.error(response.data.message);
}
});
},
// 获取发查询数据(总条数)
searchZTS () {
// console.info("发查询条数请求===>", this.reqParam);
this.$axios
.get("/api/querylimit/select", { params: { userId: 123 } })
.then(response => {
if (response.data.code === 0) {
this.tableDate = response.data.ret.list;
// console.info("发查询条数返回列表===>", this.tableDate);
this.byzsArr = response.data.ret[0]
// console.info("发查询条数返回列表===>", this.byzsArr);
} else {
this.$message.error(response.data.message);
}
});
},
// 获取发查询剩余条数
searchsytsArr () {
console.info("发查询条数请求===>", this.reqParam);
this.$axios
.get("/api/querylimit/surplus", { params: { account: 22 } })
.then(response => {
if (response.data.code === 0) {
this.sytsArr = response.data.ret[0]
console.info("发查询剩余条数返回列表===>", this.sytsArr);
} else {
this.$message.error(response.data.message);
}
......
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