Commit d963f3f3 by zhangzhijie

侦察指令修改

parent 0f3f8d17
......@@ -55,6 +55,10 @@ const nfhbxg = {
'0': '不能',
'1': '能',
}
const nfxbxg = {
'0': '不能',
'1': '能',
}
const nffp = {
'0': '不能',
'1': '能',
......@@ -121,5 +125,6 @@ export {
zczlzt,
xjZczlzt,
rdbs,
zlType
zlType,
nfxbxg
}
......@@ -75,7 +75,7 @@ export default {
name: "指令接收单位:",
id: "zljsdwdm",
type: "codeTree",
codeTree: "CODE_XZUNIT",
codeTree: "CODE_UNIT",
codeOptions: [],
value: "",
placeholder: "请输入",
......
......@@ -8,6 +8,8 @@
<div v-if="sub==='QS'">指令签收</div>
<div v-if="sub==='PJ'">评价</div>
<div v-if="sub==='XQ'">指令详情</div>
<div v-if="sub==='HBXG'">回报修改</div>
<div v-if="sub==='XBXG'">续报修改</div>
</h5>
<el-divider></el-divider>
<h4>基本信息</h4>
......@@ -25,8 +27,9 @@
<span>指令类型:</span>{{ info.zczlMainInfo.zllxStr }}
</div>
<div>
<span>指令接收单位:</span>{{ info.zczlMainInfo.zljsdwdmName }}
<span>发起人姓名:</span>{{ info.zczlMainInfo.zlfqrxm }}
</div>
</li>
<li>
<div>
......@@ -38,26 +41,23 @@
</li>
<li>
<div>
<span>发起人姓名:</span>{{ info.zczlMainInfo.zlfqrxm }}
</div>
<div>
<span>分派编号:</span>{{ info.zczlMainInfo.fpbh }}
</div>
</li>
<li>
<div>
<span>签收单位名称:</span>{{ info.zczlMainInfo.qsdwmc }}
<span>指令文号:</span>{{ info.zczlMainInfo.zlwh }}
</div>
<div>
<span>分派时间:</span>{{ info.zczlMainInfo.fpsj }}
</div>
</li>
<li>
<div>
<span>指令文号:</span>{{ info.zczlMainInfo.zlwh }}
<span>下级指令接收单位:</span>{{ info.zczlMainInfo.zljsdwdmName }}
</div>
<div style="display: inline-flex">
<span>下级指令已签收单位:</span>{{ info.zczlMainInfo.qsdwmc }}
</div>
</li>
</ol>
<div style="display: flex">
<span style="width: 120px;display: block">文件列表:</span>
<div v-for="(k,p) in info.zlfjlist" :key="p" style="margin-right: 10px;">
......@@ -131,6 +131,36 @@
</el-form-item>
</el-form>
</div>
<div v-if="sub==='XBXG'" class="SP subBox" style="margin-top: 30px;">
<el-form ref="form" :model="SPform" label-width="100px">
<el-form-item label="回报内容:">
<el-input type="textarea" v-model="HBform.hbnr"></el-input>
</el-form-item>
<el-form-item label="附件信息" style="width:100%">
<el-upload
class="upload-demo"
action="#"
accept=".xls,.xlsx"
:on-change="fileOnchange"
:on-preview="handlePreview"
:on-remove="
(flie, fileList) => {
fileArr = fileList;
}
"
:auto-upload="false"
:http-request="() => {}"
:file-list="fileArr"
>
<el-button size="small" type="primary">选择上传</el-button>
</el-upload>
</el-form-item>
<el-divider></el-divider>
<el-form-item style="text-align: right">
<el-button @click="backXG(1)">确认</el-button>
</el-form-item>
</el-form>
</div>
<div v-if="sub==='HB'" class="SP subBox" style="margin-top: 30px;">
<el-form ref="form" :model="SPform" label-width="100px">
<el-form-item label="回报内容:">
......@@ -313,6 +343,12 @@
:visible.sync="PJTableData">
<el-form ref="form" :model="PJform" label-width="100px">
<el-form-item label="评价人:" v-if="PJform.pjrxm != ''">
<el-input autosize :disabled="!PJSE" type="textarea" v-model="PJform.pjrxm" style="width: 500px;"></el-input>
</el-form-item>
<el-form-item label="评价时间:" v-if="PJform.pjsj != ''">
<el-input autosize :disabled="!PJSE" type="textarea" v-model="PJform.pjsj" style="width: 500px;"></el-input>
</el-form-item>
<el-form-item label="评价等级" style="width: 500px;">
<el-select :disabled="!PJSE" v-model="PJform.pjdj" placeholder="请选择评价等级" style="width: 500px;">
<el-option label="不合格" value="0"></el-option>
......@@ -362,6 +398,8 @@ export default {
return {
PJSE: true,
PJform: {
pjsj: '',
pjrxm: '',
pjdj: '',
pjnr: '',
hbbh: ''
......@@ -496,6 +534,8 @@ export default {
Seepingjia(row) {
this.PJform.pjdj = row.row.pjdj;
this.PJform.pjnr = row.row.pjnr;
this.PJform.pjrxm = row.row.pjrxm;
this.PJform.pjsj = row.row.pjsj;
this.PJTableData = true;
this.PJSE = false;
},
......@@ -639,6 +679,20 @@ export default {
this.info = res.data
}
})
getAllHbInfoByFpbh({fpbh: this.fpbh, zczlbh: this.zczlbh}).then(res => {
if (res.code === 200) {
this.melist = res.data.hbDetailList
}
});
let requestFpbh = "";
if (this.fpbh != null && this.fpbh != '') {
requestFpbh = this.fpbh
}
getAllResponseFromMe({fpbh: requestFpbh}).then(response => {
if (response.code === 200) {
this.iResponseInfo = response.data.hbDetailList
}
})
if (this.sub === 'YJ') {
getChildUnitAndPeople({onlyLly: 1}).then(res => {
if (res.code == 200 && res.success) {
......@@ -675,6 +729,27 @@ export default {
}
})
}
if (this.sub === 'XBXG') {
getHbDetailByFpbh({fpbh: this.fpbh, sfxbxg: 1}).then(res => {
if (res.success && res.code == 200) {
this.HB = '回报修改或续报修改';
this.HBform.hbnr = res.data.hbnr;
if (res.data.fjList.length) {
this.HBform.HBform = res.data.fjList;
this.fileArr = [
{
name: res.data.fjList[0].dzwjmc,
dzwjwz: res.data.fjList[0].dzwjwz,
dzwjmc: res.data.fjList[0].dzwjmc,
}
]
}
this.HBform['hbbh'] = res.data.hbbh;
} else {
this.$message.error(res.message);
}
})
}
if (this.sub === 'HBXG') {
getHbDetailByFpbh({fpbh: this.fpbh, sfxbxg: 0}).then(res => {
if (res.success && res.code == 200) {
......@@ -703,11 +778,15 @@ export default {
this.melist = res.data.hbDetailList
}
});
getAllResponseFromMe({fpbh: this.fpbh}).then(response => {
if (response.code === 200) {
this.iResponseInfo = response.data.hbDetailList
}
})
// let requestFpbh = "";
// if (this.fpbh != null && this.fpbh != '') {
// requestFpbh = this.fpbh
// }
// getAllResponseFromMe({fpbh: requestFpbh}).then(response => {
// if (response.code === 200) {
// this.iResponseInfo = response.data.hbDetailList
// }
// })
}
},
watch: {
......
......@@ -278,20 +278,21 @@ export default {
prop: "hbqx",
},
{
label: "审批是否通过",
label: "审批状态",
prop: "spsftg",
},
{
label: "指令接收单位",
prop: "zljsdwdmName",
overflow: true
},
{
label: "指令状态",
prop: "xjZczlzt",
},
{
label: "最回报时间",
prop: "nearyResponseTime"
label: "最回报时间",
prop: "nearlyResponseTime"
}
// {
// label: "指令回报次数",
......
......@@ -19,6 +19,7 @@
<el-button v-if="scope.scope.row.nfqs == '1' " @click="qs(scope.scope)" type="text">签收</el-button>
<el-button v-if="scope.scope.row.nfhb == '能' " @click="toHb(scope.scope)" type="text">回报</el-button>
<el-button v-if="scope.scope.row.nfhbxg == '能' " @click="toXG(scope.scope)" type="text">回报修改</el-button>
<el-button v-if="scope.scope.row.nfxbxg == '能' " @click="toXG(scope.scope)" type="text">续报修改</el-button>
<el-button v-if="scope.scope.row.nfxb == '能' " @click="toXb(scope.scope)" type="text">续报</el-button>
<el-button v-if="scope.scope.row.nffp == '能' " @click="FenPai(scope.scope)" type="text">分派</el-button>
<el-button v-if="scope.scope.row.nffp == '能' " @click="YIJiao(scope.scope)" type="text">移交</el-button>
......@@ -167,8 +168,30 @@
<script>
import rightContent from "@c/ptCxForm_components.vue";
import zczl from '@p/zczl/zczl/detailZczl.vue'
import {zczlQs, doAddHb, doFpNew, doYjNew, getChildUnitAndPeople, editHbInfo, doEvaluate,queryLlys} from "@/api/zczl/zczl.js"
import {zlqszt, nfxb, nfhb, nfhbxg, nffp, zlhbzt, sfczhbxx, hbpjdj, xbpjdj,zczlzt,xjZczlzt} from "@/assets/js/transformFormTable.js";
import {
zczlQs,
doAddHb,
doFpNew,
doYjNew,
getChildUnitAndPeople,
editHbInfo,
doEvaluate,
queryLlys
} from "@/api/zczl/zczl.js"
import {
zlqszt,
nfxb,
nfhb,
nfhbxg,
nffp,
zlhbzt,
sfczhbxx,
hbpjdj,
xbpjdj,
zczlzt,
xjZczlzt,
nfxbxg
} from "@/assets/js/transformFormTable.js";
import axios from "@/utils/http.js"
export default {
......@@ -192,7 +215,7 @@ export default {
header: "工作指令",
pageBs: "xywspdzczl",
transformFormTable: {
nfxb, zlqszt, nfhb, nfhbxg, nffp, zlhbzt, sfczhbxx, hbpjdj, xbpjdj,zczlzt,xjZczlzt
nfxb, zlqszt, nfhb, nfhbxg, nffp, zlhbzt, sfczhbxx, hbpjdj, xbpjdj, zczlzt, xjZczlzt,nfxbxg
},
GD: {
qsrgajgdm: {
......@@ -439,14 +462,15 @@ export default {
{
label: "下级指令接收单位",
prop: "zljsdwdmName",
overflow: true
},
{
label: "下级指令状态",
prop: "xjZczlzt",
},
{
label : "最近回报时间",
prop : "nearlyResponseTime"
label: "最新回报时间",
prop: "nearlyResponseTime"
}
// {
// label: "能否回报",
......@@ -625,7 +649,7 @@ export default {
fpgzyq: "",
qsrgajgdm: "",
qsrjh: "",
ywlx:""
ywlx: ""
},
YJ: false,
YJForm: {
......@@ -745,8 +769,17 @@ export default {
this.$refs.rightContent.doQuery("yes");
}
})
}
if (this.sub === 'XBXG') {
params.append('zczlbh', this.zczlbh)
params.append('sfxb', '1')
editHbInfo(params).then(res => {
if (res.success && res.code == 200) {
this.$message.success("提交成功");
this.drawer = false;
this.$refs.rightContent.doQuery("yes");
}
})
}
if (this.sub === 'PJ') {
doEvaluate(params)
......@@ -771,14 +804,17 @@ export default {
});
},
toXG(scope) {
this.sub = 'HBXG';
if(scope.row.nfhbxg == '能'){
this.sub = 'HBXG';
}else if (scope.row.nfxbxg == '能'){
this.sub = 'XBXG';
}
this.drawer = true;
let row = scope.row;
this.fpbh = row.fpbh;
this.zczlbh = row.zczlbh;
this.lkForm.zczlbh = row.zczlbh;
this.lkForm.fpbh = row.fpbh;
},
qs(scope) {
this.sub = "QS"
......
......@@ -225,6 +225,7 @@ export default {
{
label: "指令接收单位名称",
prop: "zljsdwdmName",
overflow: true
},
{
label: "指令文号",
......
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