Commit ff0fbb22 by 米嘉伟

发查询调整

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