Commit d60e448e by li_hongchao

问题修复

parent 91e430d6
......@@ -4,7 +4,7 @@ const _path = {
bzxxsh: addrType.api + '/hit/',
}
export default {
shList(_parameter) {
shList(_parameter) { // 审核列表
_parameter.userId = user.getUser().id
_parameter.userGroupIds = user.getUserGroupId()
_parameter = ljkUtil.getAjLjkIds(_parameter)
......@@ -13,11 +13,11 @@ export default {
return fHttp.postJson(_path.bzxxsh + 'queryAllSh', _parameter)
},
sh(_parameter) {
sh(_parameter) {// 审核
return fHttp.postJson(_path.bzxxsh + 'udateShzt', _parameter)
},
updateJrzg(_parameter) {
updateJrzg(_parameter) {// 更新战果
return fHttp.postJson(_path.bzxxsh + 'updateJrzg', _parameter)
},
......
......@@ -56,10 +56,19 @@ export default {
return fHttp.postJson(path + 'insert', _parameter)
},
/**
* Description: 保存工作流
* @author: li_hongchao
* @date: 2022/2/23 10:37
*/
saveGzl(_parameter) {
return fHttp.postJson(_path.gzl + 'save', _parameter)
},
/**
* Description: 查询工作流
* @author: li_hongchao `
* @date: 2022/2/23 10:38
*/
queryGzl(_parameter) {
return fHttp.post(
_path.gzl + 'queryByLogicIdAndType',
......
......@@ -106,6 +106,7 @@ export default {
},
getShState() {
let _that = this
// 只有是省厅页面、审核状态是未审核,才会判断是不是要复核
if (_that.isStRole && _that.params.shzt === '0') {
switch (_that.params.reviewStatus) {//复核状态,0 代表 未复核,1 代表 复核无效,2 代表 复核有效,3代表 已复核
case '0':// 0 未复核
......@@ -197,6 +198,7 @@ export default {
case _that.SH_TYPE.YSB.value :
break
}
// 省厅审核逻辑:当审核有效或上报公安部,才可以进行战果初始化
if (_that.isStRole && (_that.params.shzt === '2' || _that.params.shzt === '3')) {
switch (_that.params.sfjrzg) { //0 代表 未计入战果,1 代表 计入战果, 2 代表 撤销战果,3 代表 未选战果
case '0': //不计战果
......@@ -218,7 +220,7 @@ export default {
},
/**
* 待复核跳转页面
* 待复/审核跳转页面
*/
goFhOrSh(isSh) {
let _that = this
......@@ -286,6 +288,7 @@ export default {
break
}
},
// 进行再次确认操作和填写原因
reConfirmActionAndDes(type, event, isWriteDes) {
let _that = this
if (isWriteDes) {
......@@ -314,6 +317,9 @@ export default {
})
}
},
/**
* 根据不同状态调用不同的接口
*/
goNextAction(type, desc) {
let _that = this
switch (type.name) {
......@@ -345,6 +351,9 @@ export default {
let _that = this
_that.isShowing = val
},
/**
* 审核接口
*/
doSh(fhzt, shzt, desc = '') {
let _that = this
// logger.info('item:', JSON.stringify(_that.params))
......@@ -366,6 +375,9 @@ export default {
})
},
/**
* 战果接口
*/
doZg(zgzt, desc = '') {
let _that = this
var ruleForm = {}
......@@ -383,7 +395,9 @@ export default {
}
})
},
/**
* 批量上报接口
*/
doPlSb() {
let _that = this
let ruleForm = {}
......
......@@ -92,7 +92,8 @@
<el-dropdown trigger="click" menu-align="start">
<div class="fztm btn">自定义列</div>
<el-dropdown-menu slot="dropdown" class="select-list-content">
<div v-for="(item, index) in tableColumns" :key="index" class="select-list-content-item">
<div v-for="(item, index) in tableColumns" :key="index"
class="select-list-content-item">
<el-checkbox-group v-model="checkedProps" @change="changeCheckbox" :key="index">
<el-checkbox :label="item.prop">
<div class="checkbox-label">{{ item.label }}</div>
......@@ -478,19 +479,25 @@ export default {
this.$dblclick(this, 'onDblclickListener')
},
methods: {
disabledDate (a) {
disabledDate(a) {
if (a.getTime() > new Date().getTime()) {
return true
} else {
return false
}
},
/**
* 鼠标双击事件监听
*/
onDblclickListener() {
let _that = this
for (let key in _that.ruleForm) {
_that.ruleForm[key] = ''
}
},
/**
* 回车事件监听
*/
onClickEnterKeyup(code) {
var _that = this
//事件中keycode=13为回车事件
......@@ -523,9 +530,15 @@ export default {
return this.isSelectBoo ? this.selectwidth : 1
// return this.selectwidth
},
/*
截取单位名称
*/
getLable(label) {
return ZzjgUtil.last(label)
},
/*
初始化列表显示项
*/
initTableColumns() {
let _that = this
let w1 = 1920
......@@ -600,6 +613,7 @@ export default {
}
}
},
getLevel() { // 市级 0 省级 1 字段名:level
let _that = this
if (_that.isStRole) {
......@@ -608,6 +622,9 @@ export default {
return 0
}
},
/*
根据当前页面是地市还是省厅 返回的搜索条件 审核状态
*/
getShBtns() {
let _that = this
if (_that.isStRole) {
......@@ -615,6 +632,9 @@ export default {
}
return _that.dsShztBtns
},
/*
测试数据
*/
initTestData() {
// 测试数据出初始化
let _that = this
......@@ -640,6 +660,9 @@ export default {
// console.log('initTestData', JSON.stringify(_that.tableDate))
},
/*
审核状态变更,确定时要执行的操作
*/
commitShAction() { // 确定
let _that = this
if (!_that.curShDes) {
......@@ -655,6 +678,9 @@ export default {
_that.curShDes = ''
}
},
/*
审核状态变更,取消时要执行的操作
*/
cancleShAction() { // 关闭
let _that = this
_that.shDialogVisiable = false
......@@ -662,6 +688,9 @@ export default {
_that.curShType = ''
_that.curShDes = ''
},
/*
审核状态变更,开启变更原因页面
*/
openActionDes(top, info, type) {
let _that = this
let dialog = document.querySelector('.cxfh-dialog')
......@@ -720,7 +749,7 @@ export default {
},
getData(page = 1, limit = 10, order = 0) {
logger.info('getData-ruleForm',this.ruleForm)
logger.info('getData-ruleForm', this.ruleForm)
var _that = this
_that.isSelectBoo = false
_that.currPage = page
......@@ -818,6 +847,10 @@ export default {
_that.$message.error('您选择的数据部分不能上报!')
}
},
/**
* 批量操作
*/
doPlSb(ids) {
let TITLE = '批量上报'
let _that = this
......
......@@ -213,7 +213,7 @@ export default {
self.$set(
self.souceGets,
key,
"data:image/jpeg;base64," + $fFormatUtil.imgSrcFormat(obj.image)
"data:image/jpeg;base64," + obj.image
);
}
}
......@@ -235,7 +235,7 @@ export default {
self.$set(
self.targetGets,
key,
"data:image/jpeg;base64," + $fFormatUtil.imgSrcFormat(obj.image)
"data:image/jpeg;base64," + obj.image
);
}
}
......
......@@ -5,7 +5,6 @@
*/
import HttpConfigUtil from '../../request/HttpConfigUtil'
/**
* Description: _DL_TYPES 队列类型 _CXDL_TYPES 队列中查询队列类型
......
......@@ -3710,7 +3710,7 @@ export default {
self.sourceImage = sourceImage;
imageEditor
.loadImageFromURL(
"data:image/jpeg;base64," + $fFormatUtil.imgSrcFormat(sourceImage),
"data:image/jpeg;base64," + sourceImage,
"SampleImage"
)
.then(function (sizeValue) {
......
......@@ -91,14 +91,14 @@ module.exports = {
"/api": {
// target: "http://192.168.0.137:8080/", // 统一的请求头部每次修改都要重启才会生效 http://39.99.224.27:8006/
// target: "http://192.168.128.110:8099/", // 张 认定
target: "http://192.168.128.106:8099", // 湖南-马
// target: "http://192.168.128.106:8099", // 湖南-马
// target: "http://192.168.128.116:8099", // 湖南-王
// target: "http://192.168.128.109:8099", // 湖南-张呈光
// target: "http://172.18.116.73:8099/", // 统一的请求头部每次修改都要重启才会生效 http://39.99.224.27:8006/ ma
// target: "http://127.0.0.1:8099",
// target: "http://47.92.225.109:5602",
// target: "http://www.meetfood.cn:2390", // 湖南-线上
// target: "http://zwpt.xzclub.top:9333/",
target: "http://zwpt.xzclub.top:9333/",
// target: "http://192.168.128.104:8099", // 江
ws: true,
changeOrigin: true,
......
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