Commit f09cec3f by maxiaohan

正查颜色调整

parent 3f6e55b4
...@@ -87,7 +87,11 @@ ...@@ -87,7 +87,11 @@
</div> </div>
<div class="bzitem"> <div class="bzitem">
<div class="bzname">比中人联系电话:</div> <div class="bzname">比中人联系电话:</div>
<el-input class="bzphone" v-model="phone" placeholder="请输入内容"></el-input> <el-input
class="bzphone"
v-model="phone"
placeholder="请输入内容"
></el-input>
<div class="input-error" v-show="isPhoneError"> <div class="input-error" v-show="isPhoneError">
<!-- <img src="@/assets/img/inputerror.png" alt=""> --> <!-- <img src="@/assets/img/inputerror.png" alt=""> -->
<svg-icon icon-class="error" class="icon" /> <svg-icon icon-class="error" class="icon" />
...@@ -100,7 +104,12 @@ ...@@ -100,7 +104,12 @@
<div class="line"></div> <div class="line"></div>
<div class="bzfooter"> <div class="bzfooter">
<div class="footer-title">备注</div> <div class="footer-title">备注</div>
<el-input type="textarea" :rows="5" placeholder="在此输入备注信息" v-model="textarea"> <el-input
type="textarea"
:rows="5"
placeholder="在此输入备注信息"
v-model="textarea"
>
</el-input> </el-input>
</div> </div>
<div class="bzbtns"> <div class="bzbtns">
...@@ -111,7 +120,11 @@ ...@@ -111,7 +120,11 @@
</div> </div>
<!-- 认定完成确认框 --> <!-- 认定完成确认框 -->
<div class="rdwcDialog" v-show="isShowrdwcDialogBg" @click="cancelrdwc"></div> <div
class="rdwcDialog"
v-show="isShowrdwcDialogBg"
@click="cancelrdwc"
></div>
<div class="rdwccontent" v-show="isShowrdwcDialog"> <div class="rdwccontent" v-show="isShowrdwcDialog">
<div class="title">当前候选未全部查看,是否确认认定完成?</div> <div class="title">当前候选未全部查看,是否确认认定完成?</div>
<div class="rdwcbtns"> <div class="rdwcbtns">
...@@ -136,7 +149,7 @@ export default { ...@@ -136,7 +149,7 @@ export default {
LTCandidate, LTCandidate,
ImageEd ImageEd
}, },
data () { data() {
return { return {
qid: null, qid: null,
radio: 6, radio: 6,
...@@ -161,12 +174,12 @@ export default { ...@@ -161,12 +174,12 @@ export default {
isShowrdwcDialog: false isShowrdwcDialog: false
}; };
}, },
created () { created() {
this.qid = this.$route.query.rowData; this.qid = this.$route.query.rowData;
console.log("源qid====>", this.qid); console.log("源qid====>", this.qid);
}, },
watch: { watch: {
phone (newValue, oldValue) { phone(newValue, oldValue) {
if (newValue.length < 7) { if (newValue.length < 7) {
this.isPhoneError = true; this.isPhoneError = true;
document document
...@@ -186,7 +199,7 @@ export default { ...@@ -186,7 +199,7 @@ export default {
* @param {*} * @param {*}
* @return {*} * @return {*}
*/ */
confirmrdwc () { confirmrdwc() {
let self = this; let self = this;
this.isShowrdwcDialogBg = false; this.isShowrdwcDialogBg = false;
this.isShowrdwcDialog = false; this.isShowrdwcDialog = false;
...@@ -228,7 +241,7 @@ export default { ...@@ -228,7 +241,7 @@ export default {
* @param {*} * @param {*}
* @return {*} * @return {*}
*/ */
cancelrdwc () { cancelrdwc() {
this.isShowrdwcDialogBg = false; this.isShowrdwcDialogBg = false;
this.isShowrdwcDialog = false; this.isShowrdwcDialog = false;
}, },
...@@ -237,7 +250,7 @@ export default { ...@@ -237,7 +250,7 @@ export default {
* @param {*} * @param {*}
* @return {*} * @return {*}
*/ */
cancelbz () { cancelbz() {
this.isShowbzDialogBg = false; this.isShowbzDialogBg = false;
this.isShowbzDialog = false; this.isShowbzDialog = false;
}, },
...@@ -246,7 +259,7 @@ export default { ...@@ -246,7 +259,7 @@ export default {
* @param {*} * @param {*}
* @return {*} * @return {*}
*/ */
confirmbz () { confirmbz() {
let self = this; let self = this;
console.log("比中"); console.log("比中");
let affirmstatus = "1"; let affirmstatus = "1";
...@@ -302,7 +315,7 @@ export default { ...@@ -302,7 +315,7 @@ export default {
* @param {*} * @param {*}
* @return {*} * @return {*}
*/ */
getUserInfo2 () { getUserInfo2() {
let self = this; let self = this;
let destbarcode = sessionStorage.getItem("destbarcode") || ""; let destbarcode = sessionStorage.getItem("destbarcode") || "";
console.log(destbarcode); console.log(destbarcode);
...@@ -323,7 +336,7 @@ export default { ...@@ -323,7 +336,7 @@ export default {
* @param {*} id * @param {*} id
* @return {*} * @return {*}
*/ */
getUserInfo (id = 1234) { getUserInfo(id = 1234) {
let self = this; let self = this;
this.$axios({ this.$axios({
method: "post", method: "post",
...@@ -354,7 +367,7 @@ export default { ...@@ -354,7 +367,7 @@ export default {
* @param {*} * @param {*}
* @return {*} * @return {*}
*/ */
Bz () { Bz() {
this.getUserInfo(); this.getUserInfo();
this.getUserInfo2(); this.getUserInfo2();
this.asjbh = sessionStorage.getItem("srcbarcode"); this.asjbh = sessionStorage.getItem("srcbarcode");
...@@ -369,7 +382,7 @@ export default { ...@@ -369,7 +382,7 @@ export default {
* @param {*} * @param {*}
* @return {*} * @return {*}
*/ */
Rdwc () { Rdwc() {
console.log("认定完成"); console.log("认定完成");
let qqid = sessionStorage.getItem("qqid") || ""; let qqid = sessionStorage.getItem("qqid") || "";
...@@ -396,7 +409,7 @@ export default { ...@@ -396,7 +409,7 @@ export default {
* @param {*} code * @param {*} code
* @return {*} * @return {*}
*/ */
judgeZw (code) { judgeZw(code) {
console.log(code); console.log(code);
switch (code) { switch (code) {
case 1: case 1:
...@@ -462,7 +475,7 @@ export default { ...@@ -462,7 +475,7 @@ export default {
} }
} }
}, },
beforeDestroy () { beforeDestroy() {
//组件销毁前需要解绑事件。否则会出现重复触发事件的问题 //组件销毁前需要解绑事件。否则会出现重复触发事件的问题
this.$bus.$off("updateFinderSource"); this.$bus.$off("updateFinderSource");
} }
...@@ -508,7 +521,7 @@ div { ...@@ -508,7 +521,7 @@ div {
height: 22px; height: 22px;
font-size: 16px; font-size: 16px;
font-weight: bold; font-weight: bold;
color: #00ccb5; color: #00b47a;
line-height: 22px; line-height: 22px;
margin-top: 14px; margin-top: 14px;
} }
......
...@@ -85,7 +85,7 @@ ...@@ -85,7 +85,7 @@
:class="[ :class="[
reqParam.contrastCustomSearchReq.querytypes.includes(btn.value) reqParam.contrastCustomSearchReq.querytypes.includes(btn.value)
? 'btn-active' ? 'btn-active'
: '', : ''
]" ]"
> >
{{ btn.name }} {{ btn.name }}
...@@ -101,7 +101,7 @@ ...@@ -101,7 +101,7 @@
:class="[ :class="[
reqParam.contrastCustomSearchReq.queryclasss.includes(btn.value) reqParam.contrastCustomSearchReq.queryclasss.includes(btn.value)
? 'btn-active' ? 'btn-active'
: '', : ''
]" ]"
> >
{{ btn.name }} {{ btn.name }}
...@@ -117,7 +117,7 @@ ...@@ -117,7 +117,7 @@
:class="[ :class="[
reqParam.contrastCustomSearchReq.remoteflags.includes(btn.value) reqParam.contrastCustomSearchReq.remoteflags.includes(btn.value)
? 'btn-active' ? 'btn-active'
: '', : ''
]" ]"
> >
{{ btn.name }} {{ btn.name }}
...@@ -141,7 +141,7 @@ ...@@ -141,7 +141,7 @@
:class="[ :class="[
reqParam.contrastCustomSearchReq.querystates.includes(btn.value) reqParam.contrastCustomSearchReq.querystates.includes(btn.value)
? 'btn-active' ? 'btn-active'
: '', : ''
]" ]"
> >
{{ btn.name }} {{ btn.name }}
...@@ -316,7 +316,7 @@ ...@@ -316,7 +316,7 @@
</div> </div>
<div <div
v-else-if="scope.row.querytype === '2'" v-else-if="scope.row.querytype === '2'"
style="color: #08bd9e" style="color: #00b47a"
> >
{{ scope.row.queryTypeName }} {{ scope.row.queryTypeName }}
</div> </div>
...@@ -442,7 +442,7 @@ export default { ...@@ -442,7 +442,7 @@ export default {
page: { page: {
total: 0, total: 0,
pageSize: 10, pageSize: 10,
currPage: 1, currPage: 1
}, },
contrastCustomSearchReq: { contrastCustomSearchReq: {
barcode: "", barcode: "",
...@@ -454,8 +454,8 @@ export default { ...@@ -454,8 +454,8 @@ export default {
querytypes: [], querytypes: [],
querystates: [], querystates: [],
remoteflags: [], remoteflags: [],
queryclasss: [], queryclasss: []
}, }
}, },
list: [], list: [],
currentPage: 5, currentPage: 5,
...@@ -486,7 +486,7 @@ export default { ...@@ -486,7 +486,7 @@ export default {
"queryclass", "queryclass",
"affirmtime", "affirmtime",
"requestdatetime", "requestdatetime",
"userdesc", "userdesc"
], ],
defaultTableProps: content, defaultTableProps: content,
//标签数组 //标签数组
...@@ -495,20 +495,20 @@ export default { ...@@ -495,20 +495,20 @@ export default {
{ value: "2", name: "正查", type: "querytypes" }, { value: "2", name: "正查", type: "querytypes" },
{ value: "1", name: "倒查", type: "querytypes" }, { value: "1", name: "倒查", type: "querytypes" },
{ value: "0", name: "查重", type: "querytypes" }, { value: "0", name: "查重", type: "querytypes" },
{ value: "3", name: "串查", type: "querytypes" }, { value: "3", name: "串查", type: "querytypes" }
], ],
queryClassBtns: [ queryClassBtns: [
{ value: "1", name: "最高", type: "queryclasss" }, { value: "1", name: "最高", type: "queryclasss" },
{ value: "2", name: "高", type: "queryclasss" }, { value: "2", name: "高", type: "queryclasss" },
{ value: "3", name: "中", type: "queryclasss" }, { value: "3", name: "中", type: "queryclasss" },
{ value: "4", name: "低", type: "queryclasss" }, { value: "4", name: "低", type: "queryclasss" },
{ value: "5", name: "最低", type: "queryclasss" }, { value: "5", name: "最低", type: "queryclasss" }
], ],
remoteFlagBtns: [ remoteFlagBtns: [
{ value: "0", name: "本地查询", type: "remoteflags" }, { value: "0", name: "本地查询", type: "remoteflags" },
{ value: "0", name: "远程查询", type: "remoteflags" }, { value: "0", name: "远程查询", type: "remoteflags" },
{ value: "0", name: "城市", type: "remoteflags" }, { value: "0", name: "城市", type: "remoteflags" },
{ value: "0", name: "国家库", type: "remoteflags" }, { value: "0", name: "国家库", type: "remoteflags" }
], ],
queryStateBtns: [ queryStateBtns: [
{ value: "0", name: "等待比对", type: "querystates" }, { value: "0", name: "等待比对", type: "querystates" },
...@@ -522,12 +522,12 @@ export default { ...@@ -522,12 +522,12 @@ export default {
{ value: "29", name: "复核出错", type: "querystates" }, { value: "29", name: "复核出错", type: "querystates" },
{ value: "99", name: "标记删除", type: "querystates" }, { value: "99", name: "标记删除", type: "querystates" },
{ value: "-1", name: "无效", type: "querystates" }, { value: "-1", name: "无效", type: "querystates" },
{ value: "-2", name: "同步特征", type: "querystates" }, { value: "-2", name: "同步特征", type: "querystates" }
], ],
expanded: false, // 展开标志 expanded: false, // 展开标志
historyDialogVisible: false, historyDialogVisible: false,
cxyrdWidth1: 200, cxyrdWidth1: 200,
height: 450, height: 450
// cxyrdWidth1: sessionStorage.getItem('cxyrdWidth1'), // cxyrdWidth1: sessionStorage.getItem('cxyrdWidth1'),
// height: sessionStorage.getItem('tableHeight') // height: sessionStorage.getItem('tableHeight')
}; };
...@@ -540,7 +540,7 @@ export default { ...@@ -540,7 +540,7 @@ export default {
this.height = (h1 * w2) / w1; this.height = (h1 * w2) / w1;
this.cxyrdWidth1 = (this.cxyrdWidth1 * w2) / w1; this.cxyrdWidth1 = (this.cxyrdWidth1 * w2) / w1;
content.forEach((item) => { content.forEach(item => {
// console.log(item); // console.log(item);
self.$set(item, "width", (item.width * w2) / w1); self.$set(item, "width", (item.width * w2) / w1);
}); });
...@@ -550,11 +550,11 @@ export default { ...@@ -550,11 +550,11 @@ export default {
// 批量处理 // 批量处理
checkedProps(val) { checkedProps(val) {
this.tableProps = this.defaultTableProps.filter( this.tableProps = this.defaultTableProps.filter(
(i) => val.indexOf(i.prop) >= 0 i => val.indexOf(i.prop) >= 0
); );
//挑选被选中的对象 //挑选被选中的对象
this.key = this.key + 1; //为了保证table 每次都会重渲,这样做体验感更好,如果不为table设置key值的话,用户一旦选中了复选框选项,就是在原来table基础上添加删除每一列,页面就有跳动的感觉,体验感不好 this.key = this.key + 1; //为了保证table 每次都会重渲,这样做体验感更好,如果不为table设置key值的话,用户一旦选中了复选框选项,就是在原来table基础上添加删除每一列,页面就有跳动的感觉,体验感不好
}, }
}, },
computed: { computed: {
// 计算总页数 // 计算总页数
...@@ -562,7 +562,7 @@ export default { ...@@ -562,7 +562,7 @@ export default {
return ( return (
Math.floor(this.reqParam.page.total / this.reqParam.page.pageSize) + 1 Math.floor(this.reqParam.page.total / this.reqParam.page.pageSize) + 1
); );
}, }
}, },
methods: { methods: {
// 获取认定列表 // 获取认定列表
...@@ -571,7 +571,7 @@ export default { ...@@ -571,7 +571,7 @@ export default {
// console.info("请求===>", this.reqParam.contrastCustomSearchReq); // console.info("请求===>", this.reqParam.contrastCustomSearchReq);
this.$axios this.$axios
.post("/api/queryque/standardQid", this.reqParam) .post("/api/queryque/standardQid", this.reqParam)
.then((response) => { .then(response => {
if (response.data.code === 0) { if (response.data.code === 0) {
this.list = response.data.ret.list; this.list = response.data.ret.list;
this.reqParam.page.total = response.data.ret.total; this.reqParam.page.total = response.data.ret.total;
...@@ -610,13 +610,13 @@ export default { ...@@ -610,13 +610,13 @@ export default {
// 获取用户信息 // 获取用户信息
getUserInfo(val) { getUserInfo(val) {
var userInfo = []; var userInfo = [];
val.forEach((item) => { val.forEach(item => {
var user = {}; var user = {};
user.userid = item.userid; user.userid = item.userid;
user.userdesc = item.userdesc; user.userdesc = item.userdesc;
userInfo.push(user); userInfo.push(user);
if (item.children) { if (item.children) {
item.children.forEach((ite) => { item.children.forEach(ite => {
var use = {}; var use = {};
use.userid = ite.userid; use.userid = ite.userid;
use.userdesc = ite.userdesc; use.userdesc = ite.userdesc;
...@@ -635,7 +635,7 @@ export default { ...@@ -635,7 +635,7 @@ export default {
// 返回arr数组过滤后对结果,结果为一个数组 过滤条件是对象中的value值 // 返回arr数组过滤后对结果,结果为一个数组 过滤条件是对象中的value值
// 如果res中没有某个键,就设置这个键为1 // 如果res中没有某个键,就设置这个键为1
return arr.filter( return arr.filter(
(arr) => !res.has(arr.username) && res.set(arr.username, arr.username) arr => !res.has(arr.username) && res.set(arr.username, arr.username)
); );
}, },
// 多条件查询 获取查询条件 // 多条件查询 获取查询条件
...@@ -643,17 +643,17 @@ export default { ...@@ -643,17 +643,17 @@ export default {
let { name, value } = data; let { name, value } = data;
let list = this.reqParam.contrastCustomSearchReq[type]; let list = this.reqParam.contrastCustomSearchReq[type];
if (list.includes(value)) { if (list.includes(value)) {
list = list.filter((item) => item !== value); list = list.filter(item => item !== value);
this.dynamicTags = this.dynamicTags.filter( this.dynamicTags = this.dynamicTags.filter(
(item) => item.value !== value item => item.value !== value
); );
} else { } else {
//点击优先级先清除优先级的按钮在添加 //点击优先级先清除优先级的按钮在添加
if (type == "queryclasss") { if (type == "queryclasss") {
this.queryClassBtns.forEach((i) => { this.queryClassBtns.forEach(i => {
let listIndex = list.findIndex((j) => j == i.value); let listIndex = list.findIndex(j => j == i.value);
let dynamicTagsIndex = this.dynamicTags.findIndex( let dynamicTagsIndex = this.dynamicTags.findIndex(
(j) => j.name == i.name j => j.name == i.name
); );
if (listIndex >= 0) list.splice(listIndex, 1); if (listIndex >= 0) list.splice(listIndex, 1);
if (dynamicTagsIndex >= 0) if (dynamicTagsIndex >= 0)
...@@ -718,12 +718,12 @@ export default { ...@@ -718,12 +718,12 @@ export default {
this.$confirm("是否确定删除已选择的数据?", "提示", { this.$confirm("是否确定删除已选择的数据?", "提示", {
confirmButtonText: "确定", confirmButtonText: "确定",
cancelButtonText: "取消", cancelButtonText: "取消",
type: "warning", type: "warning"
}) })
.then(() => { .then(() => {
this.$axios this.$axios
.post("/api/queryque/delete", { qqid: qqid }) .post("/api/queryque/delete", { qqid: qqid })
.then((response) => { .then(response => {
if (response.data.code === 0) { if (response.data.code === 0) {
this.$message.success("删除成功"); this.$message.success("删除成功");
this.search(); this.search();
...@@ -735,7 +735,7 @@ export default { ...@@ -735,7 +735,7 @@ export default {
.catch(() => { .catch(() => {
this.$message({ this.$message({
type: "info", type: "info",
message: "已取消删除", message: "已取消删除"
}); });
}); });
}, },
...@@ -752,8 +752,8 @@ export default { ...@@ -752,8 +752,8 @@ export default {
qqid: row.qqid, qqid: row.qqid,
qid: row.qid, qid: row.qid,
barcode: row.barcode, barcode: row.barcode,
type: "father", type: "father"
}, }
}); });
window.open(routeUrl.href, "_blank"); window.open(routeUrl.href, "_blank");
} else { } else {
...@@ -763,8 +763,8 @@ export default { ...@@ -763,8 +763,8 @@ export default {
qqid: row.qqid, qqid: row.qqid,
qid: row.qid, qid: row.qid,
barcode: row.barcode, barcode: row.barcode,
type: "son", type: "son"
}, }
}); });
window.open(routeUrl.href, "_blank"); window.open(routeUrl.href, "_blank");
} }
...@@ -777,14 +777,14 @@ export default { ...@@ -777,14 +777,14 @@ export default {
// 父级 // 父级
let routeUrl = this.$router.resolve({ let routeUrl = this.$router.resolve({
path: "/confirm/TL", path: "/confirm/TL",
query: { qid: row.qid, qqid: row.qqid, type: "father" }, query: { qid: row.qid, qqid: row.qqid, type: "father" }
}); });
window.open(routeUrl.href, "_blank"); window.open(routeUrl.href, "_blank");
} else { } else {
// 子级 // 子级
let routeUrl = this.$router.resolve({ let routeUrl = this.$router.resolve({
path: "/confirm/TL", path: "/confirm/TL",
query: { qid: row.qid, qqid: row.qqid, type: "son" }, query: { qid: row.qid, qqid: row.qqid, type: "son" }
}); });
window.open(routeUrl.href, "_blank"); window.open(routeUrl.href, "_blank");
} }
...@@ -796,13 +796,13 @@ export default { ...@@ -796,13 +796,13 @@ export default {
if (row.children) { if (row.children) {
let routeUrl = this.$router.resolve({ let routeUrl = this.$router.resolve({
path: "/confirm/LT", path: "/confirm/LT",
query: { qid: row.qid, qqid: row.qqid, type: "father" }, query: { qid: row.qid, qqid: row.qqid, type: "father" }
}); });
window.open(routeUrl.href, "_blank"); window.open(routeUrl.href, "_blank");
} else { } else {
let routeUrl = this.$router.resolve({ let routeUrl = this.$router.resolve({
path: "/confirm/LT", path: "/confirm/LT",
query: { qid: row.qid, qqid: row.qqid, type: "son" }, query: { qid: row.qid, qqid: row.qqid, type: "son" }
}); });
window.open(routeUrl.href, "_blank"); window.open(routeUrl.href, "_blank");
} }
...@@ -815,14 +815,14 @@ export default { ...@@ -815,14 +815,14 @@ export default {
// 获取展开标志 // 获取展开标志
this.expanded = expanded; this.expanded = expanded;
// 获取下标 // 获取下标
var i = this.list.findIndex((table) => table.queryId === row.queryId); var i = this.list.findIndex(table => table.queryId === row.queryId);
// var i = this.tableData.findIndex(table => table.id === row.id); // var i = this.tableData.findIndex(table => table.id === row.id);
// console.log(i); // console.log(i);
if (expanded) { if (expanded) {
this.list[i] = { this.list[i] = {
qid: row.qid, qid: row.qid,
children: row.children, children: row.children,
queryId: row.queryId, queryId: row.queryId
}; };
this.$forceUpdate(); this.$forceUpdate();
// console.info("展开时row数据", this.list[i]); // console.info("展开时row数据", this.list[i]);
...@@ -854,7 +854,7 @@ export default { ...@@ -854,7 +854,7 @@ export default {
affirmtime: row.children[0].affirmtime, affirmtime: row.children[0].affirmtime,
requestdatetime: row.children[0].requestdatetime, requestdatetime: row.children[0].requestdatetime,
userdesc: row.children[0].userdesc, userdesc: row.children[0].userdesc,
queryTypeName: row.children[0].queryTypeName, queryTypeName: row.children[0].queryTypeName
}; };
console.log(this.list[i]); console.log(this.list[i]);
this.$forceUpdate(); this.$forceUpdate();
...@@ -886,7 +886,7 @@ export default { ...@@ -886,7 +886,7 @@ export default {
this.$message.error("请选择需要复制条码号的数据!"); this.$message.error("请选择需要复制条码号的数据!");
} else { } else {
console.log(this.selectionData); console.log(this.selectionData);
self.selectionData.forEach((item) => { self.selectionData.forEach(item => {
self.barcode.push(item.barcode); self.barcode.push(item.barcode);
}); });
this.barcode = this.barcode.join(","); this.barcode = this.barcode.join(",");
...@@ -898,7 +898,7 @@ export default { ...@@ -898,7 +898,7 @@ export default {
this.$message({ this.$message({
type: "success", type: "success",
// message: "复制条码号:" + this.barcode + "成功!" // message: "复制条码号:" + this.barcode + "成功!"
message: "已复制到剪切板", message: "已复制到剪切板"
}); });
}, },
// 复制失败时的回调函数 // 复制失败时的回调函数
...@@ -912,25 +912,24 @@ export default { ...@@ -912,25 +912,24 @@ export default {
// console.info("选中", this.checkedProps); // console.info("选中", this.checkedProps);
}, },
// 当期页发生变化 // 当期页发生变化
handleCurrPageChange: function (val) { handleCurrPageChange: function(val) {
this.reqParam.page.currPage = val; this.reqParam.page.currPage = val;
this.search(); this.search();
}, },
// 每页展示数量发生变化 // 每页展示数量发生变化
handleSizeChange: function (val) { handleSizeChange: function(val) {
this.reqParam.page.pageSize = val; this.reqParam.page.pageSize = val;
this.search(); this.search();
}, },
// 标签关闭 isTag:是否为标签点击 // 标签关闭 isTag:是否为标签点击
handleClose(tag) { handleClose(tag) {
let { type, value } = tag; let { type, value } = tag;
this.dynamicTags = this.dynamicTags.filter( this.dynamicTags = this.dynamicTags.filter(item => item.value !== value);
(item) => item.value !== value this.reqParam.contrastCustomSearchReq[
type
] = this.reqParam.contrastCustomSearchReq[type].filter(
item => item !== value
); );
this.reqParam.contrastCustomSearchReq[type] =
this.reqParam.contrastCustomSearchReq[type].filter(
(item) => item !== value
);
this.search(); this.search();
}, },
// 标签生成 // 标签生成
...@@ -998,14 +997,14 @@ export default { ...@@ -998,14 +997,14 @@ export default {
*/ */
toggleSelection(rows) { toggleSelection(rows) {
if (rows) { if (rows) {
rows.forEach((row) => { rows.forEach(row => {
this.$refs.confirmTable.toggleRowSelection(row); this.$refs.confirmTable.toggleRowSelection(row);
}); });
} else { } else {
this.$refs.confirmTable.clearSelection(); this.$refs.confirmTable.clearSelection();
} }
console.log(this.selectionData); console.log(this.selectionData);
}, }
}, },
mounted() { mounted() {
console.log(this.height); console.log(this.height);
...@@ -1019,7 +1018,7 @@ export default { ...@@ -1019,7 +1018,7 @@ export default {
// this.height = h1 -h2 -h3 // this.height = h1 -h2 -h3
// console.log(this.height); // console.log(this.height);
this.search(); this.search();
}, }
}; };
// 用户ID 下拉的数据 // 用户ID 下拉的数据
const users = [{ username: "张三" }, { username: "李四" }, { username: "赵6" }]; const users = [{ username: "张三" }, { username: "李四" }, { username: "赵6" }];
...@@ -1034,7 +1033,7 @@ const content = [ ...@@ -1034,7 +1033,7 @@ const content = [
{ colume: "优先级", prop: "queryclass", width: 100 }, { colume: "优先级", prop: "queryclass", width: 100 },
{ colume: "认定时间", prop: "affirmtime", width: 200 }, { colume: "认定时间", prop: "affirmtime", width: 200 },
{ colume: "发送时间", prop: "requestdatetime", width: 200 }, { colume: "发送时间", prop: "requestdatetime", width: 200 },
{ colume: "用户名", prop: "username", width: 100 }, { colume: "用户名", prop: "username", width: 100 }
]; ];
// 数据 // 数据
const datas1 = [ const datas1 = [
...@@ -1109,7 +1108,7 @@ const datas1 = [ ...@@ -1109,7 +1108,7 @@ const datas1 = [
'<?xml version="1.0"?><TEXT>=#54*$!#11?$</TEXT><LOGICPSN>0000000000000111</LOGICPSN>', '<?xml version="1.0"?><TEXT>=#54*$!#11?$</TEXT><LOGICPSN>0000000000000111</LOGICPSN>',
queryStateName: "正在复核", queryStateName: "正在复核",
queryTypeName: "串案", queryTypeName: "串案",
private: "0", private: "0"
}, },
{ {
qid: 21, qid: 21,
...@@ -1146,7 +1145,7 @@ const datas1 = [ ...@@ -1146,7 +1145,7 @@ const datas1 = [
'<?xml version="1.0"?><TEXT>=#54*$!#11?$</TEXT><LOGICPSN>0000000000000111</LOGICPSN>', '<?xml version="1.0"?><TEXT>=#54*$!#11?$</TEXT><LOGICPSN>0000000000000111</LOGICPSN>',
queryStateName: "认定出错", queryStateName: "认定出错",
queryTypeName: "倒查", queryTypeName: "倒查",
private: "0", private: "0"
}, },
{ {
qid: 21, qid: 21,
...@@ -1183,9 +1182,9 @@ const datas1 = [ ...@@ -1183,9 +1182,9 @@ const datas1 = [
'<?xml version="1.0"?><TEXT>=#54*$!#11?$</TEXT><LOGICPSN>0000000000000111</LOGICPSN>', '<?xml version="1.0"?><TEXT>=#54*$!#11?$</TEXT><LOGICPSN>0000000000000111</LOGICPSN>',
queryStateName: "复核出错", queryStateName: "复核出错",
queryTypeName: "倒查", queryTypeName: "倒查",
private: "0", private: "0"
}, }
], ]
}, },
{ {
qid: 23, qid: 23,
...@@ -1223,7 +1222,7 @@ const datas1 = [ ...@@ -1223,7 +1222,7 @@ const datas1 = [
queryStateName: "正在复核", queryStateName: "正在复核",
queryTypeName: "查重", queryTypeName: "查重",
children: null, children: null,
private: "0", private: "0"
}, },
{ {
qid: 8, qid: 8,
...@@ -1297,18 +1296,18 @@ const datas1 = [ ...@@ -1297,18 +1296,18 @@ const datas1 = [
'<?xml version="1.0"?><TEXT>=#54*$!#11?$</TEXT><LOGICPSN>0000000000000111</LOGICPSN>', '<?xml version="1.0"?><TEXT>=#54*$!#11?$</TEXT><LOGICPSN>0000000000000111</LOGICPSN>',
queryStateName: "复核出错", queryStateName: "复核出错",
queryTypeName: "倒查", queryTypeName: "倒查",
private: "0", private: "0"
}, }
], ],
private: "0", private: "0"
}, }
]; ];
const setQueryClass = [ const setQueryClass = [
{ queryclass: "1", name: "最高" }, { queryclass: "1", name: "最高" },
{ queryclass: "2", name: "高" }, { queryclass: "2", name: "高" },
{ queryclass: "3", name: "中" }, { queryclass: "3", name: "中" },
{ queryclass: "4", name: "低" }, { queryclass: "4", name: "低" },
{ queryclass: "5", name: "最低" }, { queryclass: "5", name: "最低" }
]; ];
</script> </script>
<style scoped lang="scss"> <style scoped lang="scss">
......
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