Commit df177811 by gao_yingdong

认领研判任务

parent 246c2460
......@@ -5853,7 +5853,7 @@ const zczz_jbxx = [
prop: 'checkEmpty',
},
{
name: "人员警号:",
name: "警号:",
id: "yhjh",
type: "textTq",
// disabled: true,
......
......@@ -159,7 +159,7 @@
<el-form :inline="true" :model="examineInfoRl" class="demo-form-inline">
<el-row>
<el-col :span="20" :offset="2">
<el-form-item label="审批是否通过:">
<el-form-item label="是否认领:">
<el-radio v-model="examineInfoRl.sfrlPdbz" label="1"
>认领</el-radio
>
......@@ -169,7 +169,16 @@
</el-form-item>
</el-col>
<el-col :span="20" :offset="2">
<el-form-item label="退回原因:" style="width:100%">
<el-form-item style="width:100%">
<span
:class="rlTrue ? 'reds' : 'black'"
style="
margin: -20px 10px 5px 0px;
position: relative;
bottom: 46px;
"
>退回原因:
</span>
<el-input
type="textarea"
v-model="examineInfoRl.thyyJyqk"
......@@ -179,7 +188,7 @@
></el-input>
</el-form-item>
</el-col>
<el-col v-if="rlTrue" :span="20" :offset="2">
<el-col v-if="rlTrues" :span="20" :offset="2">
<span style="color: red; position: relative; top: -14px; left: 70px"
>退回原因不能为空</span
>
......@@ -268,6 +277,7 @@ export default {
data() {
return {
rlTrue: false,
rlTrues: false,
dialogVisible: false,
examineInfo: {
sfjjPdbz: "1",
......@@ -877,7 +887,11 @@ export default {
}
},
addRl() {
if (this.examineInfoRl.sfrlPdbz == "2") {
if (
this.examineInfoRl.sfrlPdbz == "2" &&
this.examineInfoRl.thyyJyqk == ""
) {
this.rlTrues = true;
this.$alert("请填写退回原因!", "提示", {
confirmButtonText: "确定",
type: "warning",
......@@ -1002,18 +1016,9 @@ export default {
},
});
},
fileOnchange(file, fileList) {
if (fileList.length > 0) {
this.fileArr = [fileList[0]]; // 这一步,是 展示最后一次选择的csv文件
if (fileList.length > 1) this.$message.error("只能上传一个文件!");
}
},
closed() {
this.fileArr = [];
},
onChange(file, fileList) {
console.log(file, fileList);
},
selectionChange(scope) {
this.selectArr = scope;
},
......@@ -1063,15 +1068,15 @@ export default {
});
},
toXdzl(scoped) {
debugger
this.$router.pushToTab({
path: "/addsqfbzl",
query: {
type: "xdzl",
xsbh: scoped.row.xxzjbh,
xsType: "01",
},
});
debugger;
this.$router.pushToTab({
path: "/addsqfbzl",
query: {
type: "xdzl",
xsbh: scoped.row.xxzjbh,
xsType: "01",
},
});
},
},
watch: {
......@@ -1082,6 +1087,7 @@ export default {
this.rlTrue = true;
} else {
this.rlTrue = false;
this.rlTrues = false;
}
},
deep: true,
......@@ -1156,4 +1162,10 @@ export default {
margin-right: 16px;
cursor: pointer;
}
.reds {
color: red;
}
.black {
color: black;
}
</style>
......@@ -28,7 +28,12 @@
width="30%"
center
>
<el-form :inline="true" :model="feedbackInfo" class="demo-form-inline" label-width="100px">
<el-form
:inline="true"
:model="feedbackInfo"
class="demo-form-inline"
label-width="100px"
>
<el-row>
<el-col :span="20" :offset="4" style="margin-top: 20px">
<el-form-item label="反馈结果概要" style="width:100%;">
......@@ -76,7 +81,6 @@
上传文件不能超过100M
</div>
</el-upload>
</el-form-item>
</el-col>
</el-row>
......@@ -252,7 +256,8 @@ export default {
disabled: false,
},
],
leftMenus: [ //左侧导航(模块第一个页面需要)
leftMenus: [
//左侧导航(模块第一个页面需要)
{
id: "queryRwbd",
label: "刑事技术比对",
......@@ -277,7 +282,6 @@ export default {
className: "iconfont icongongnengfuwu",
disabled: false,
},
],
},
],
......@@ -320,7 +324,7 @@ export default {
console.log(this.feedbackInfo.files);
params.append("bdrwbh", this.feedbackInfo.bdrwbh);
params.append("fkjgJyqk", this.feedbackInfo.fkjgJyqk);
for(let i = 0 ; i < this.feedbackInfo.files.length ; i++){
for (let i = 0; i < this.feedbackInfo.files.length; i++) {
params.append("files", this.feedbackInfo.files[i].raw);
}
insertFkxx(params).then((res) => {
......@@ -334,7 +338,7 @@ export default {
this.$message.error("新增反馈信息失败");
}
});
this.dialogVisible = false
this.dialogVisible = false;
},
//upload组件相关方法
handleChange(file, fileList) {
......
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