Commit ff0fbb22 by 米嘉伟

发查询调整

parent 2dc7a61f
...@@ -128,7 +128,7 @@ ...@@ -128,7 +128,7 @@
<el-radio-group v-model="ruleForm.queryClass"> <el-radio-group v-model="ruleForm.queryClass">
<!-- <el-radio label="5">最低</el-radio> --> <!-- <el-radio label="5">最低</el-radio> -->
<el-radio label="3"></el-radio> <el-radio label="3"></el-radio>
<el-radio label="2"></el-radio> <el-radio label="2">普通</el-radio>
<el-radio label="1"></el-radio> <el-radio label="1"></el-radio>
<!-- <el-radio label="1">最高</el-radio> --> <!-- <el-radio label="1">最高</el-radio> -->
</el-radio-group> </el-radio-group>
...@@ -347,7 +347,7 @@ ...@@ -347,7 +347,7 @@
<el-radio-group v-model="ruleForm.queryClass"> <el-radio-group v-model="ruleForm.queryClass">
<!-- <el-radio label="5">最低</el-radio> --> <!-- <el-radio label="5">最低</el-radio> -->
<el-radio label="3"></el-radio> <el-radio label="3"></el-radio>
<el-radio label="2"></el-radio> <el-radio label="2">普通</el-radio>
<el-radio label="1"></el-radio> <el-radio label="1"></el-radio>
<!-- <el-radio label="1">最高</el-radio> --> <!-- <el-radio label="1">最高</el-radio> -->
</el-radio-group> </el-radio-group>
...@@ -525,11 +525,17 @@ export default { ...@@ -525,11 +525,17 @@ export default {
targets_aj: this.$store.state.ljk.targetOptions_aj, // 目标逻辑库(案件) vuex targets_aj: this.$store.state.ljk.targetOptions_aj, // 目标逻辑库(案件) vuex
dataRy: ['1'], // 人员 目标逻辑库 选中 dataRy: ['1'], // 人员 目标逻辑库 选中
dataAj: ['1'], // 案件 目标逻辑库 选中 dataAj: ['1'], // 案件 目标逻辑库 选中
radio: 'true', radio: 'true',
byzsArr: '', // 本月总数(5个等级数组) byzsArr: '', // 本月总数(5个等级数组)
byzs: null,// 该类型下本月总数 byzs: null,// 该类型下本月总数
sytsArr: null,// 剩余条数 sytsArr: null,// 剩余条数
syts: null, //该类型下剩余条数 syts: null, //该类型下剩余条数
bcxh: null, //本次消耗 bcxh: null, //本次消耗
...@@ -597,8 +603,8 @@ export default { ...@@ -597,8 +603,8 @@ export default {
if (newVal == true) { if (newVal == true) {
this.type == 'ry' ? this.title = '人员发查询' : this.title = '案件发查询' this.type == 'ry' ? this.title = '人员发查询' : this.title = '案件发查询'
this.type == 'ry' ? this.ruleForm.cxlx.querytype = '1' : this.ruleForm.cxlx.querytype = '2' this.type == 'ry' ? this.ruleForm.cxlx.querytype = '1' : this.ruleForm.cxlx.querytype = '2'
this.searchZTS() // this.searchZTS()
this.searchsytsArr() // this.searchsytsArr()
this.getQueryCount() this.getQueryCount()
this.bcxh = this.rowData.length; this.bcxh = this.rowData.length;
if (this.type == 'aj') { if (this.type == 'aj') {
...@@ -997,39 +1003,39 @@ export default { ...@@ -997,39 +1003,39 @@ export default {
}, },
// 获取发查询数据(总条数) // // 获取发查询数据(总条数)
searchZTS () { // searchZTS () {
// //console.info("发查询条数请求===>", this.reqParam); // // //console.info("发查询条数请求===>", this.reqParam);
this.$axios // this.$axios
.get("/api/querylimit/select", { params: { userId: 1234 } }) // .get("/api/querylimit/select", { params: { userId: 1234 } })
.then(response => { // .then(response => {
if (response.data.code === 0) { // if (response.data.code === 0) {
this.byzsArr = response.data.ret // this.byzsArr = response.data.ret
this.byzs = this.byzsArr[0].level1 // this.byzs = this.byzsArr[0].level1
//console.info("111发查询总条数返回列表===>", this.byzsArr); // //console.info("111发查询总条数返回列表===>", this.byzsArr);
// this.colorDiv() // // this.colorDiv()
} else { // } else {
this.$message.error(response.data.message); // this.$message.error(response.data.message);
} // }
}); // });
}, // },
// 获取发查询剩余条数 // // 获取发查询剩余条数
searchsytsArr () { // searchsytsArr () {
//console.info("发查询条数请求===>", this.reqParam); // //console.info("发查询条数请求===>", this.reqParam);
this.$axios // this.$axios
.get("/api/querylimit/surplus", { params: { userId: 1234 } }) // .get("/api/querylimit/surplus", { params: { userId: 1234 } })
.then(response => { // .then(response => {
if (response.data.code === 0) { // if (response.data.code === 0) {
this.sytsArr = response.data.ret // this.sytsArr = response.data.ret
this.syts = this.sytsArr[0].level1 // this.syts = this.sytsArr[0].level1
//console.info("222发查询剩余条数返回列表===>", this.sytsArr); // //console.info("222发查询剩余条数返回列表===>", this.sytsArr);
} else { // } else {
// this.$message.error(response.data.message); // // this.$message.error(response.data.message);
this.$message.error('获取发查询剩余条数失败'); // this.$message.error('获取发查询剩余条数失败');
} // }
}); // });
}, // },
// 发查询条数 // 发查询条数
getQueryCount () { getQueryCount () {
this.$axios this.$axios
...@@ -1040,6 +1046,8 @@ export default { ...@@ -1040,6 +1046,8 @@ export default {
// this.syts = this.sytsArr[0].level1 // this.syts = this.sytsArr[0].level1
console.log("505050505050发查询剩余条数返回列表===>", response.data); console.log("505050505050发查询剩余条数返回列表===>", response.data);
this.byzs = response.data.detail.totalCount // 本月总数 this.byzs = response.data.detail.totalCount // 本月总数
} else { } else {
// this.$message.error(response.data.message); // this.$message.error(response.data.message);
this.$message.error('获取发查询剩余条数失败'); this.$message.error('获取发查询剩余条数失败');
......
...@@ -409,10 +409,7 @@ ...@@ -409,10 +409,7 @@
placement="right" placement="right"
> >
<div slot="content">{{scope.row.failReason}}</div> <div slot="content">{{scope.row.failReason}}</div>
<img <img src="../../assets/img/confirm/history2x.png" />
src="../../assets/img/confirm/history2x.png"
@click.stop="getDialog(scope.row)"
/>
</el-tooltip> </el-tooltip>
</span> </span>
</template> </template>
...@@ -628,10 +625,7 @@ ...@@ -628,10 +625,7 @@
placement="right" placement="right"
> >
<div slot="content">{{scope.row.failReason}}</div> <div slot="content">{{scope.row.failReason}}</div>
<img <img src="../../assets/img/confirm/history2x.png" />
src="../../assets/img/confirm/history2x.png"
@click.stop="getDialog(scope.row)"
/>
</el-tooltip> </el-tooltip>
</span> </span>
</template> </template>
......
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