Commit f09cec3f by maxiaohan

正查颜色调整

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