修改登录接口 修改监控详情

This commit is contained in:
zhoulingpo
2023-04-21 10:22:05 +08:00
parent 762be6b161
commit 4884bd4b50
5 changed files with 32 additions and 108 deletions
@@ -135,15 +135,19 @@
</div>
</el-drawer>
</div>
<monitorModal ref="monitorModal"></monitorModal>
</div>
</template>
<script>
import axios from "axios";
import { mapMutations } from 'vuex'
import monitorModal from './monitorModal.vue'
import ProcessMixin from "@/components/ProcessMixin";
export default {
name: 'processDetail',
mixins: [ProcessMixin],
data () {
return {
assigneeNewLoading: false, // 调整处理人确定loading
@@ -175,6 +179,9 @@ export default {
}
},
methods: {
showDialog() {
this.$refs.monitorModal.open()
},
formatIssueDate(str) {
const momentDate = this.$moment(str)
if (momentDate.isValid()) {
@@ -337,7 +344,7 @@ export default {
processNum (row) {
this.imgLoading = true;
axios.request({
url: '/api/lawss/activiti/getImg?_t=' + new Date().getTime(),
url: '/libary/api/model/getImg?_t=' + new Date().getTime(),
responseType: 'blob',
method: 'get',
params: {
@@ -353,28 +360,15 @@ export default {
},
// 请求列表
processTable (row) {
this.$http.get('lawss/activiti/get_list_by_instance', {
prcNum:(row && row.parentFlowNum) || this.$route.query.prcNum,
sortWord: this.shunxu ? this.paixu : '',
shunxu: this.shunxu
}, {
loading: 'loading',
_this: this
}, res => {
this.detailData = res
res[res.length - 1].endTime ? this.urgeRowFlag = false : this.urgeRowFlag = true
}, e => {})
},
...mapMutations(['setProcess', 'setHandleInfo', 'setPrcLastDetail']),
processFlag (res) {
// if (res.data.hisTaskExcelVOList[0].processTypeFlag === '1' || res.data.hisTaskExcelVOList[0].processTypeFlag === '2' || res.data.hisTaskExcelVOList[0].processTypeFlag === '3' || res.data.hisTaskExcelVOList[0].processTypeFlag === '4' ||
// res.data.hisTaskExcelVOList[0].processTypeFlag === '5' || res.data.hisTaskExcelVOList[0].processTypeFlag === '6' || res.data.hisTaskExcelVOList[0].processTypeFlag === '8') {
// return false
// } else {
// return true
// }
// }
return false
debugger
this.$api.processCenter.getMonitorPageList({
prcNum:(row && row.parentFlowNum) || this.$route.query.prcNum,
sortWord: this.shunxu ? this.paixu : '',
shunxu: this.shunxu
}).then(res=>{
this.detailData = res
res[res.length - 1].endTime ? this.urgeRowFlag = false : this.urgeRowFlag = true
})
},
// 导出事件
exportStandard () {
@@ -499,6 +493,7 @@ export default {
},
},
components: {
monitorModal
},
props: {},
computed: {