887f0939 by xiaomiao

--no commit message

2 parents 9e68d2ca 6480e08e
/*
* @Description:
* @Autor: renchao
* @LastEditTime: 2023-05-17 10:24:24
* @LastEditTime: 2023-07-25 14:46:16
*/
import request from '@/utils/request'
let SERVER = window.config ? window.config : JSON.parse(localStorage.getItem('ApiUrl'))
......@@ -69,6 +69,18 @@ export function leftMenu (data) {
data
})
}
/**
* @description: 进度查询获取左侧列表
* @param {*} data
* @author: renchao
*/
export function jdcxLeftMenu (data) {
return request({
url: SERVER.SERVERAPI + '/rest/business/workFlow/jdcxLeftMenu',
method: 'post',
data
})
}
/**
* @description: 获取下一环节信息
......
<!--
* @Description:
* @Autor: renchao
* @LastEditTime: 2023-07-20 10:22:20
* @LastEditTime: 2023-07-25 16:06:03
-->
<template>
<label class="el-checkbox" :class="[
......@@ -46,9 +46,7 @@
default: ''
}
},
componentName: 'ElCheckbox',
data () {
return {
selfModel: false,
......@@ -56,7 +54,6 @@
isLimitExceeded: false
};
},
computed: {
model: {
/**
......@@ -129,7 +126,6 @@
store () {
return this._checkboxGroup ? this._checkboxGroup.value : this.value;
},
/**
* @description: isLimitDisabled
* @author: renchao
......
<!--
* @Description:
* @Autor: renchao
* @LastEditTime: 2023-07-25 16:10:17
-->
<template>
<transition name="el-loading-fade" @after-leave="handleAfterLeave">
<div v-show="visible" class="el-loading-mask" :style="{ backgroundColor: background || '' }"
......@@ -9,9 +14,8 @@
</div>
</transition>
</template>
<script>
export default {
export default {
data () {
return {
text: null,
......@@ -22,7 +26,6 @@ export default {
customClass: ''
};
},
methods: {
handleAfterLeave () {
this.$emit('after-leave');
......@@ -31,15 +34,15 @@ export default {
this.text = text;
}
}
};
};
</script>
<style scoped lang="scss">
.el-loading-spinner {
.el-loading-spinner {
margin-top: -100px !important;
.img {
width: 80px;
height: 80px;
}
}
}
</style>
\ No newline at end of file
......
<!--
* @Description:
* @Autor: renchao
* @LastEditTime: 2023-07-25 16:10:08
-->
<template>
<transition name="fade">
<!--主要内容-->
......@@ -18,7 +23,7 @@
</transition>
</template>
<script>
export default {
export default {
props: {
noticeList: {
type: Array,
......@@ -133,10 +138,10 @@ export default {
text.style.animationPlayState = ''
}
}
};
};
</script>
<style lang="scss" scoped>
.noticebar {
.noticebar {
display: flex;
align-items: center;
width: 100%;
......@@ -176,5 +181,5 @@ export default {
}
}
}
}
}
</style>
......
<!--
* @Description:
* @Autor: renchao
* @LastEditTime: 2023-07-25 16:09:59
-->
<template>
<div style="width: 100%;height: 100%">
<vue-photo-zoom-pro :width="bigWidth" :url="url" :type="type" :scale="scale" :out-show="showType"
......@@ -5,7 +10,6 @@
</vue-photo-zoom-pro>
</div>
</template>
<script>
import vuePhotoZoomPro from '@/components/PhotoZoom/vue-photo-zoom-pro'
export default {
......
<!--
* @Description:
* @Autor: renchao
* @LastEditTime: 2023-07-25 16:06:21
-->
<template>
<transition name="msgbox-fade" v-if="myShow">
<div class="ls-mask" v-loading="loading">
......@@ -21,7 +26,7 @@
</transition>
</template>
<script>
export default {
export default {
name: 'index',
data () {
return {
......@@ -123,10 +128,10 @@ export default {
this.$el.parentNode.removeChild(this.$el);
}
}
}
}
</script>
<style scoped lang="scss" >
.ls-mask {
.ls-mask {
width: 100%;
height: 100%;
z-index: 2000;
......@@ -134,10 +139,9 @@ export default {
left: 0;
top: 0;
background: rgba(0, 0, 0, 0.3);
}
}
.ls-mask-window {
.ls-mask-window {
background: white;
position: relative;
left: 50%;
......@@ -146,32 +150,32 @@ export default {
transform: translate(-50%, -50%);
border-radius: 5px;
overflow: hidden;
}
}
.ls-mask-window b {
.ls-mask-window b {
padding-left: 5px;
}
}
.ls-title {
.ls-title {
padding: 16px;
color: #ffffff;
font-size: 16px;
background: linear-gradient(3deg, #409EFF, #a7cbee);
}
background: linear-gradient(3deg, #409eff, #a7cbee);
}
.ls-title .svg-icon {
.ls-title .svg-icon {
font-size: 18px;
}
}
.mask-content {
.mask-content {
padding: 20px;
width: 100%;
min-height: 30%;
max-height: 90vh;
overflow-y: scroll;
}
}
.ls-mask-footer {
.ls-mask-footer {
height: 50px;
display: flex;
justify-content: center;
......@@ -183,19 +187,18 @@ export default {
border-bottom-left-radius: 5px;
border-bottom-right-radius: 5px;
overflow: hidden;
}
}
/deep/.closeStyle {
/deep/.closeStyle {
position: absolute;
top: 13px;
right: 26px;
font-size: 24px;
cursor: pointer;
color: #409EFF;
}
color: #409eff;
}
/deep/.el-loading-mask {
/deep/.el-loading-mask {
background: none;
}
}
</style>
......
<!--
* @Description:
* @Autor: renchao
* @LastEditTime: 2023-07-25 16:08:30
-->
<template>
<transition name="msgbox-fade">
<div class="ls-mask" v-if="myShow">
......
<!--
* @Description:
* @Autor: renchao
* @LastEditTime: 2023-07-25 16:08:55
-->
<!--显示svg文件图标-->
<template>
<div v-if="isExternal" :style="styleExternalIcon" class="svg-external-icon svg-icon" v-on="$listeners" />
......@@ -5,12 +10,11 @@
<use :xlink:href="iconName" />
</svg>
</template>
<script>
// doc: https://panjiachen.github.io/vue-element-admin-site/feature/component/svg-icon.html#usage
import { isExternal } from '@/utils/validate'
// doc: https://panjiachen.github.io/vue-element-admin-site/feature/component/svg-icon.html#usage
import { isExternal } from '@/utils/validate'
export default {
export default {
name: 'SvgIcon',
props: {
iconClass: {
......@@ -23,41 +27,41 @@ export default {
}
},
computed: {
isExternal() {
isExternal () {
return isExternal(this.iconClass)
},
iconName() {
iconName () {
return `#icon-${this.iconClass}`
},
svgClass() {
svgClass () {
if (this.className) {
return 'svg-icon ' + this.className
} else {
return 'svg-icon'
}
},
styleExternalIcon() {
styleExternalIcon () {
return {
mask: `url(${this.iconClass}) no-repeat 50% 50%`,
'-webkit-mask': `url(${this.iconClass}) no-repeat 50% 50%`
}
}
}
}
}
</script>
<style scoped>
.svg-icon {
.svg-icon {
width: 1em;
height: 1em;
vertical-align: -0.15em;
fill: currentColor;
overflow: hidden;
}
}
.svg-external-icon {
.svg-external-icon {
background-color: currentColor;
mask-size: cover!important;
mask-size: cover !important;
display: inline-block;
}
}
</style>
......
<!--
* @Description:
* @Autor: renchao
* @LastEditTime: 2023-07-25 16:09:09
-->
<template>
<el-color-picker v-model="theme"
:predefine="['#409EFF', '#1890ff', '#304156', '#212121', '#11a983', '#13c2c2', '#6959CD', '#f5222d',]"
......@@ -5,10 +10,10 @@
</template>
<script>
const version = require('element-ui/package.json').version // element-ui version from node_modules
const ORIGINAL_THEME = '#409EFF' // default color
const version = require('element-ui/package.json').version // element-ui version from node_modules
const ORIGINAL_THEME = '#409EFF' // default color
export default {
export default {
data () {
return {
chalk: '', // content of theme-chalk css
......@@ -169,22 +174,22 @@ export default {
return clusters
}
}
}
}
</script>
<style>
.theme-message,
.theme-picker-dropdown {
.theme-message,
.theme-picker-dropdown {
z-index: 99999 !important;
}
}
.theme-picker .el-color-picker__trigger {
.theme-picker .el-color-picker__trigger {
height: 26px !important;
width: 26px !important;
padding: 2px;
}
}
.theme-picker-dropdown .el-color-dropdown__link-btn {
.theme-picker-dropdown .el-color-dropdown__link-btn {
display: none;
}
}
</style>
......
<!--
* @Description:
* @Autor: renchao
* @LastEditTime: 2023-07-25 16:08:48
-->
<template>
<el-image-viewer :on-close="closeViewer" :url-list="urlList">
</el-image-viewer>
</template>
<script>
import ElImageViewer from 'element-ui/packages/image/src/image-viewer'
export default {
import ElImageViewer from 'element-ui/packages/image/src/image-viewer'
export default {
components: {
ElImageViewer,
},
......@@ -90,11 +95,11 @@ export default {
xhr.send()
},
},
}
}
</script>
<style lang="scss" scoped>
/deep/ .el-image-viewer__close {
/deep/ .el-image-viewer__close {
color: #ffffff;
}
}
</style>
......
<!--
* @Description:
* @Autor: renchao
* @LastEditTime: 2023-07-25 16:09:44
-->
<template>
<transition name="msgbox-fade">
<div class="ls-mask" v-if="myShow">
......
<!--
* @Description:
* @Autor: renchao
* @LastEditTime: 2023-07-25 16:10:52
-->
<template>
<div class="app-wrapper">
<navbar />
......@@ -11,10 +16,10 @@
</div>
</template>
<script>
import { AppMain, Navbar, Sidebar, TagsView } from './components'
import ResizeMixin from './mixin/ResizeHandler'
import { mapState } from 'vuex'
export default {
import { AppMain, Navbar, Sidebar, TagsView } from './components'
import ResizeMixin from './mixin/ResizeHandler'
import { mapState } from 'vuex'
export default {
name: 'Layout',
components: {
AppMain,
......@@ -30,12 +35,12 @@ export default {
fixedHeader: state => state.settings.fixedHeader
})
}
}
}
</script>
<style lang="scss" scoped>
@import "~@/styles/mixin.scss";
@import "~@/styles/mixin.scss";
.app-wrapper {
.app-wrapper {
@include clearfix;
position: relative;
height: 100%;
......@@ -45,9 +50,9 @@ export default {
position: fixed;
top: 0;
}
}
}
.drawer-bg {
.drawer-bg {
background: #000;
opacity: 0.3;
width: 100%;
......@@ -55,15 +60,15 @@ export default {
height: 100%;
position: absolute;
z-index: 999;
}
}
.fixed-header {
.fixed-header {
width: 100%;
transition: width 0.28s;
}
}
.el-dropdown-menu--small {
.el-dropdown-menu--small {
padding: 0;
width: 5px;
}
}
</style>
......
......@@ -117,9 +117,9 @@
.catch(() => {
this.$message({
type: "info",
message: "已取消删除",
});
});
message: "已取消删除"
})
})
}
}
}
......
<!--
* @Description:
* @Autor: renchao
* @LastEditTime: 2023-07-24 14:12:17
* @LastEditTime: 2023-07-25 09:27:43
-->
<template>
<div class="from-clues">
......@@ -122,10 +122,10 @@
this.$message({
type: 'info',
message: '已取消删除'
});
});
},
},
})
})
}
}
};
</script>
<style scoped lang="scss">
......
......@@ -76,7 +76,6 @@
* @author: renchao
*/
handleSubmit () {
debugger
this.$refs['ruleForm'].validate((valid) => {
if (valid) {
this.$parent.addSave(this.ruleForm);
......
<!--
* @Description: 页面提供插件下载
* @Autor: renchao
* @LastEditTime: 2023-06-13 15:49:55
* @LastEditTime: 2023-07-25 09:25:56
-->
<template>
<div class='downLoad'>
......@@ -21,6 +21,10 @@
}
},
methods: {
/**
* @description:
* @author: renchao
*/
handleDown () {
let a = document.createElement('a')
a.style.display = 'none'
......
<!--
* @Description: 流程图
* @Autor: renchao
* @LastEditTime: 2023-07-19 16:04:34
* @LastEditTime: 2023-07-25 09:26:01
-->
<template>
<div class='flowChart'>
......@@ -9,7 +9,6 @@
</div>
</template>
<script>
export default {
props: {
formData: {
......
<!--
* @Description:
* @Autor: renchao
* @LastEditTime: 2023-07-24 10:15:01
* @LastEditTime: 2023-07-25 09:26:10
-->
<template>
<div class="from-clues">
......@@ -79,6 +79,10 @@
}
})
},
/**
* @description:
* @author: renchao
*/
zslqClick () {
this.$popupDialog("不动产权证领取", "workflow/components/dialog/zslq", {}, '80%', true)
}
......
<!--
* @Description: workFrame左侧菜单列表-普通
* @Autor: renchao
* @LastEditTime: 2023-07-21 10:15:11
* @LastEditTime: 2023-07-25 14:55:49
-->
<template>
<div class="leftmenu" :class="{ 'animation-map-drawer': isShowdrawer }">
......@@ -40,7 +40,7 @@
</template>
<script>
import { mapGetters } from 'vuex'
import { leftMenu, deleteSlbdcdy } from "@/api/workFlow.js"
import { leftMenu, deleteSlbdcdy, jdcxLeftMenu } from "@/api/workFlow.js"
export default {
data () {
return {
......@@ -85,10 +85,30 @@
loadBdcdylist () {
var formdata = new FormData();
formdata.append("bsmSlsq", this.bsmSlsq);
if (this.$route.query.bestepid) {
formdata.append("bestepid", this.bestepid);
}
if (this.$route.query.bsmBusiness) {
formdata.append("bsmBusiness", this.$route.query.bsmBusiness);
}
if (this.$route.query.type == 'jdcx') {
jdcxLeftMenu(formdata).then((res) => {
if (res.code === 200 && res.result) {
this.unitData = res.result;
window.unitData = res.result;
this.currentSelectProps = res.result[0];
this.$emit('getCurrentSelectProps', this.currentSelectProps);
this.judgeBatchShow();
if (this.showBatch) {
//满足批量查封/批量抵押按钮出现 即先展示批量表单
this.batchUnitClick();
} else {
//默认选择单元列表第一个
this.unitClick(0);
}
}
})
} else {
leftMenu(formdata).then((res) => {
if (res.code === 200 && res.result) {
this.unitData = res.result;
......@@ -105,6 +125,7 @@
}
}
})
}
},
//批量按钮判断
/**
......@@ -177,9 +198,8 @@
* @author: renchao
*/
batchUnitClick () {
debugger
this.currentSelectProps.batchOperation = true;
// this.activeIndex = "-1";
this.activeIndex = "-1";
this.$parent.stepForm(0);
},
......@@ -201,7 +221,7 @@
* @author: renchao
*/
unitClick (index) {
if(this.unitData.length==0) return
if (this.unitData.length == 0) return
this.currentSelectProps = this.unitData[index];
this.currentSelectProps.batchOperation = false;
this.activeIndex = index.toString();
......
<!--
* @Description: workFrame左侧菜单列表-分割
* @Autor: renchao
* @LastEditTime: 2023-07-17 16:21:24
* @LastEditTime: 2023-07-25 14:52:40
-->
<template>
<div class="leftmenu" :class="{ 'animation-map-drawer': isShowdrawer }">
......@@ -53,7 +53,7 @@
</template>
<script>
import { mapGetters } from 'vuex'
import { leftMenu, deleteFlow } from "@/api/workFlow.js"
import { leftMenu, deleteFlow, jdcxLeftMenu } from "@/api/workFlow.js"
export default {
data () {
return {
......@@ -102,10 +102,30 @@
loadBdcdylist () {
var formdata = new FormData();
formdata.append("bsmSlsq", this.bsmSlsq);
if (this.$route.query.bestepid) {
formdata.append("bestepid", this.bestepid);
}
if (this.$route.query.bsmBusiness) {
formdata.append("bsmBusiness", this.$route.query.bsmBusiness);
}
if (this.$route.query.type == 'jdcx') {
jdcxLeftMenu(formdata).then((res) => {
if (res.code === 200 && res.result) {
this.aroundUnitData = res.result.filter(item => item.bglx == '1')
this.afterUnitData = res.result.filter(item => item.bglx == '2')
this.currentSelectProps = res.result[0];
this.$emit('getCurrentSelectProps', this.currentSelectProps);
this.judgeBatchShow();
if (this.showBatch) {
//满足批量查封/批量抵押按钮出现 即先展示批量表单
this.batchUnitClick();
} else {
//默认选择单元列表第一个
this.unitClick(0);
}
}
})
} else {
leftMenu(formdata).then((res) => {
if (res.code === 200 && res.result) {
this.aroundUnitData = res.result.filter(item => item.bglx == '1')
......@@ -122,6 +142,7 @@
}
}
})
}
},
//批量按钮判断
/**
......
......@@ -10,8 +10,7 @@
v-show="!isLoading"
ref="processCanvas"
class="process-canvas"
style="height: 280px"
/>
style="height: 280px" />
<!-- 自定义箭头样式,用于成功状态下流程连线箭头 -->
<defs ref="customSuccessDefs">
<marker
......@@ -21,8 +20,7 @@
ref-y="10"
marker-width="10"
marker-height="10"
orient="auto"
>
orient="auto">
<path
class="success-arrow"
d="M 1 5 L 11 10 L 1 15 Z"
......@@ -30,8 +28,7 @@
stroke-width: 1px;
stroke-linecap: round;
stroke-dasharray: 10000, 1;
"
/>
" />
</marker>
<marker
id="conditional-flow-marker-white-success"
......@@ -40,8 +37,7 @@
ref-y="10"
marker-width="10"
marker-height="10"
orient="auto"
>
orient="auto">
<path
class="success-conditional"
d="M 0 10 L 8 6 L 16 10 L 8 14 Z"
......@@ -49,8 +45,7 @@
stroke-width: 1px;
stroke-linecap: round;
stroke-dasharray: 10000, 1;
"
/>
" />
</marker>
</defs>
<!-- 自定义箭头样式,用于失败状态下流程连线箭头 -->
......@@ -62,8 +57,7 @@
ref-y="10"
marker-width="10"
marker-height="10"
orient="auto"
>
orient="auto">
<path
class="fail-arrow"
d="M 1 5 L 11 10 L 1 15 Z"
......@@ -71,8 +65,7 @@
stroke-width: 1px;
stroke-linecap: round;
stroke-dasharray: 10000, 1;
"
/>
" />
</marker>
<marker
id="conditional-flow-marker-white-fail"
......@@ -81,8 +74,7 @@
ref-y="10"
marker-width="10"
marker-height="10"
orient="auto"
>
orient="auto">
<path
class="fail-conditional"
d="M 0 10 L 8 6 L 16 10 L 8 14 Z"
......@@ -90,8 +82,7 @@
stroke-width: 1px;
stroke-linecap: round;
stroke-dasharray: 10000, 1;
"
/>
" />
</marker>
</defs>
......@@ -104,8 +95,7 @@
:plain="true"
:disabled="defaultZoom <= 0.3"
icon="el-icon-zoom-out"
@click="processZoomOut()"
/>
@click="processZoomOut()" />
<el-button size="medium" type="default" style="width: 90px">{{
Math.floor(this.defaultZoom * 10 * 10) + "%"
}}</el-button>
......@@ -115,14 +105,12 @@
:plain="true"
:disabled="defaultZoom >= 3.9"
icon="el-icon-zoom-in"
@click="processZoomIn()"
/>
@click="processZoomIn()" />
<el-button
size="medium"
type="default"
icon="el-icon-c-scale-to-original"
@click="processReZoom()"
/>
@click="processReZoom()" />
<slot />
</el-button-group>
</el-row>
......@@ -135,8 +123,7 @@
v-for="item in selectOptions"
:key="item.value"
:label="item.label"
:value="item.value"
>
:value="item.value">
</el-option>
</el-select>
<el-table
......@@ -144,15 +131,13 @@
:data="taskCommentList"
size="mini"
border
header-cell-class-name="table-header-gray"
>
header-cell-class-name="table-header-gray">
<el-table-column
label="序号"
header-align="center"
align="center"
type="index"
width="55px"
/>
width="55px" />
<el-table-column label="流程状态" header-align="center" align="center">
<template slot-scope="scope">
<div v-if="scope.row.endTime">已完结</div>
......@@ -163,35 +148,30 @@
label="环节名称"
prop="name"
minWidth="100"
align="center"
/>
align="center" />
<el-table-column
label="办理人"
prop="agent"
minWidth="120"
align="center"
/>
align="center" />
<el-table-column
label="转入时间"
prop="createTime"
:formatter="formatDate"
width="160"
align="center"
/>
align="center" />
<el-table-column
label="认领时间"
prop="claimTime"
:formatter="formatDate"
width="160"
align="center"
/>
align="center" />
<el-table-column
label="转出时间"
prop="endTime"
:formatter="formatDate"
width="160"
align="center"
/>
align="center" />
<el-table-column label="操作方式" prop="controls" align="center" />
<el-table-column label="意见" prop="idea" align="center" />
</el-table>
......@@ -199,17 +179,17 @@
</div>
</template>
<script>
import "@/styles/package/theme/index.scss";
import BpmnViewer from "bpmn-js/lib/Viewer";
import MoveCanvasModule from "diagram-js/lib/navigation/movecanvas";
export default {
import "@/styles/package/theme/index.scss";
import BpmnViewer from "bpmn-js/lib/Viewer";
import MoveCanvasModule from "diagram-js/lib/navigation/movecanvas";
export default {
props: {
formData: {
type: Object,
default: {},
},
},
data() {
data () {
return {
dlgTitle: undefined,
defaultZoom: 1,
......@@ -230,7 +210,7 @@ export default {
selectOptions: [],
};
},
created() {
created () {
this.$nextTick(() => {
// 获取流程记录
this.getCommentList();
......@@ -238,7 +218,7 @@ export default {
this.importXML(this.formData.xml);
});
},
destroyed() {
destroyed () {
this.clearViewer();
},
methods: {
......@@ -248,7 +228,7 @@ export default {
* @param {*} column
* @author: renchao
*/
formatDate(row, column) {
formatDate (row, column) {
let data = row[column.property];
if (data == null) {
return null;
......@@ -272,7 +252,7 @@ export default {
* @description: processReZoom
* @author: renchao
*/
processReZoom() {
processReZoom () {
this.defaultZoom = 1;
this.bpmnViewer.get("canvas").zoom("fit-viewport", "auto");
},
......@@ -281,7 +261,7 @@ export default {
* @param {*} zoomStep
* @author: renchao
*/
processZoomIn(zoomStep = 0.1) {
processZoomIn (zoomStep = 0.1) {
const newZoom = Math.floor(this.defaultZoom * 100 + zoomStep * 100) / 100;
if (newZoom > 4) {
throw new Error(
......@@ -296,7 +276,7 @@ export default {
* @param {*} zoomStep
* @author: renchao
*/
processZoomOut(zoomStep = 0.1) {
processZoomOut (zoomStep = 0.1) {
const newZoom = Math.floor(this.defaultZoom * 100 - zoomStep * 100) / 100;
if (newZoom < 0.2) {
throw new Error(
......@@ -311,7 +291,7 @@ export default {
* @param {*} type
* @author: renchao
*/
getOperationTagType(type) {
getOperationTagType (type) {
return "success";
},
// 流程图预览清空
......@@ -320,7 +300,7 @@ export default {
* @param {*} e
* @author: renchao
*/
clearViewer(a) {
clearViewer (a) {
if (this.$refs.processCanvas) {
this.$refs.processCanvas.innerHTML = "";
}
......@@ -334,7 +314,7 @@ export default {
* @description: 添加自定义箭头
* @author: renchao
*/
addCustomDefs() {
addCustomDefs () {
const canvas = this.bpmnViewer.get("canvas");
const svg = canvas._svg;
const customSuccessDefs = this.$refs.customSuccessDefs;
......@@ -348,7 +328,7 @@ export default {
* @param {*} element
* @author: renchao
*/
onSelectElement(element) {
onSelectElement (element) {
this.selectTaskId = undefined;
this.dlgTitle = undefined;
let allfinishedTaskSet = [
......@@ -378,7 +358,7 @@ export default {
* @param {*} val
* @author: renchao
*/
handleSelect(val) {
handleSelect (val) {
this.taskCommentList = (this.taskList || []).filter((item) => {
return item.taskDefinitionKey === val;
});
......@@ -392,7 +372,7 @@ export default {
* @param {*} xml
* @author: renchao
*/
async importXML(xml) {
async importXML (xml) {
let xmlData = this.$x2js.xml2js(xml).definitions.process;
this.selectOptions = xmlData.userTask.map((item) => {
return { value: item._id, label: item._name };
......@@ -447,7 +427,7 @@ export default {
* @description: 获取流程记录
* @author: renchao
*/
getCommentList() {
getCommentList () {
this.formData.allCommentList.forEach(async (item, index) => {
// item.comments.forEach(element => {
// if(element.type=="COMPLETE"){
......@@ -513,7 +493,7 @@ export default {
* @param {*} processNodeInfo
* @author: renchao
*/
setProcessStatus(processNodeInfo) {
setProcessStatus (processNodeInfo) {
this.processNodeInfo = processNodeInfo;
if (
this.isLoading ||
......@@ -562,10 +542,10 @@ export default {
}
},
},
};
};
</script>
<style scoped lang="scss">
.information-list {
.information-list {
height: 220px;
margin-top: 10px;
......@@ -573,12 +553,12 @@ export default {
font-size: 16px;
line-height: 24px;
}
}
/deep/.bjs-powered-by {
}
/deep/.bjs-powered-by {
display: none;
}
// /deep/.information-list {
// height: 170px;
// overflow: visible;
// }
}
// /deep/.information-list {
// height: 170px;
// overflow: visible;
// }
</style>
......
......@@ -41,7 +41,7 @@
<span>印刷序列号:{{ item.ysxlh }}</span>
</div>
</div>
<div class="card_padding">
<div class="card_padding" v-if="ableOperation">
<div class="top_line middle_margin"></div>
<div class="text" v-if="item.ysxlh">
<el-button class="operation_button" type="text" @click="openInvalidDiglog(item)">再次打印({{ item.szcs
......@@ -79,6 +79,8 @@
props: {},
data () {
return {
//表单是否可操作
ableOperation: true,
dialog: false,
tableData: [],
bdcqzlx: 1,
......@@ -100,7 +102,8 @@
}
},
created () {
this.list();
this.list()
this.ableOperation = this.$parent.currentSelectTab.ableOperation
},
methods: {
//初始化列表
......
......@@ -32,6 +32,7 @@
v-model="tdyt"
:disabled="!ableOperation"
noOptionsText="暂无数据"
placeholder=''
:show-count="true"
:options="dictData['tdyt']"
:normalizer="normalizer"
......@@ -315,5 +316,4 @@
/deep/.el-table th {
height: 30px !important;
}
</style>
......
<!--
* @Description:
* @Autor: renchao
* @LastEditTime: 2023-07-24 09:39:34
* @LastEditTime: 2023-07-25 16:15:39
-->
<template>
<div class="container">
......
<!--
* @Description:
* @Autor: renchao
* @LastEditTime: 2023-06-09 16:55:31
* @LastEditTime: 2023-07-25 16:15:46
-->
<template>
<div class="container">
......@@ -93,7 +93,7 @@
currentSelectProps: {},
//是否开启材料分屏
splitScreen: false,
ableOperation:false,
ableOperation: false,
//材料分屏表单
clxxForm: "",
//材料信息选择卡索引
......@@ -125,8 +125,14 @@
//获取单元对应的所有表单信息
this.tabList = res.result;
//默认加载第一个表单信息
//默认加载第一个表单信息
let arr = res.result.filter(item => item.defaultForm)
if (arr.length > 0) {
this.tabName = arr[0].value;
} else {
this.tabName = res.result[0].value;
this.ableOperation=this.tabList[0].ableOperation
}
this.ableOperation = this.tabList[0].ableOperation
//批量操作无分屏按钮
if (index != null) {
//处理分屏材料信息
......
<!--
* @Description:
* @Autor: renchao
* @LastEditTime: 2023-07-24 15:03:20
* @LastEditTime: 2023-07-25 09:21:53
-->
<template>
<div class="from-clues">
......@@ -264,10 +264,10 @@
} else {
this.$message.error("用户任务权限判断失败,请联系管理员");
}
});
},
},
};
})
}
}
}
</script>
<style scoped lang="scss">
@import "~@/styles/public.scss";
......
<!--
* @Description: 受理信息
* @Autor: renchao
* @LastEditTime: 2023-07-21 14:27:15
* @LastEditTime: 2023-07-25 09:22:40
-->
<template>
<div class="slxx">
......@@ -332,7 +332,6 @@
upDateYwrxxList (val) {
this.ruleForm.ywrList = _.cloneDeep(val);
},
/**
* @description: onSubmit
* @author: renchao
......
<!--
* @Description:
* @Autor: renchao
* @LastEditTime: 2023-07-20 09:32:18
* @LastEditTime: 2023-07-25 09:23:05
-->
<template>
<!-- 受理信息 -->
......@@ -296,9 +296,9 @@
console.log(res);
//this.ruleForm = { ...res.result, ...res.result.zdjbxxdatas, ...res.result.qlxxdatas, ...res.result.jsydsyqdatas }
}
});
},
},
})
}
}
};
</script>
<style scoped lang='scss'>
......
<!--
* @Description:
* @Autor: renchao
* @LastEditTime: 2023-07-14 11:09:33
* @LastEditTime: 2023-07-25 09:23:20
-->
<template>
<!-- 受理信息 -->
......@@ -320,7 +320,10 @@
})
}
}
console.log("this.ruleFormmmmmmmmm", this.ruleForm);
/**
* @description: saveData
* @author: renchao
*/
saveData(this.ruleForm).then((res) => {
if (res.code === 200) {
this.$message({
......
......@@ -2,7 +2,7 @@
<!--
* @Description:
* @Autor: renchao
* @LastEditTime: 2023-05-25 08:59:49
* @LastEditTime: 2023-07-25 09:23:42
-->
<template>
<!-- 受理信息 -->
......@@ -336,10 +336,10 @@ export default {
},
"80%",
true
);
},
},
};
)
}
}
}
</script>
<style scoped lang="scss">
@import "~@/styles/public.scss";
......
......@@ -352,8 +352,8 @@
})
this.ruleForm.nydsyq.ydyhflmc = itemLx.dname;
}
},
};
}
}
</script>
<style scoped lang='scss'>
@import "~@/styles/public.scss";
......
<!--
* @Description:
* @Autor: renchao
* @LastEditTime: 2023-07-20 09:30:51
* @LastEditTime: 2023-07-25 09:24:18
-->
<template>
<!-- 受理信息 -->
......@@ -472,6 +472,10 @@
});
}
}
/**
* @description: saveData
* @author: renchao
*/
saveData(this.ruleForm).then((res) => {
if (res.code === 200) {
this.$message({
......
<!--
* @Description:
* @Autor: renchao
* @LastEditTime: 2023-07-24 15:03:46
* @LastEditTime: 2023-07-25 09:21:40
-->
<template>
<div class="from-clues">
......@@ -232,11 +232,9 @@
);
window.open(href, `workFrameView${item.bsmSlsq}`);
}
},
},
};
}
}
}
</script>
<style scoped lang="scss">
@import "~@/styles/public.scss";
......
......@@ -391,7 +391,6 @@
<style scoped lang='scss'>
@import "~@/styles/mixin.scss";
@import "./ywsq.scss";
/deep/.el-collapse-item__content {
padding-bottom: 0;
}
......
......@@ -148,7 +148,7 @@
flex: 1;
width: 100%;
padding: 3px;
font-size: 16px;
}
p:nth-child(2) {
......
<!--
* @Description:
* @Autor: renchao
* @LastEditTime: 2023-07-24 14:04:15
* @LastEditTime: 2023-07-25 14:47:41
-->
<template>
<div class="from-clues">
......@@ -195,23 +195,7 @@
this.$popupDialog('楼盘表', 'lpb/index', {
bsm: ''
}, '85%')
},
// ywhClick (item) {
// const { href } = this.$router.resolve(
// "/djbworkFrame?bdcdyid=" +
// item.bdcdyid+
// "&bdcdyh=" +
// item.bdcdyh+
// "&qllx="+
// item.qllx+
// "&bsmQlxx="+
// item.bsmQlxx+
// "&viewtype=1"
// );
// localStorage.setItem('ywbl', JSON.stringify(item));
// window.open(href, `urlname${item.bdcdyid}`);
// },
}
}
}
</script>
......
<!--
* @Description:
* @Autor: renchao
* @LastEditTime: 2023-07-24 14:02:07
* @LastEditTime: 2023-07-25 16:34:27
-->
<template>
<div class="from-clues">
......@@ -151,7 +151,7 @@
* @author: renchao
*/
openDialog (item) {
const { href } = this.$router.resolve('/workFrameView?bsmSlsq=' + item.bsmSlsq + '&bestepid=' + item.bestepid + '&bsmBusiness=' + item.bsmBusiness + '&viewtype=3')
const { href } = this.$router.resolve('/workFrameView?bsmSlsq=' + item.bsmSlsq + '&bestepid=' + item.bestepid + '&bsmBusiness=' + item.bsmBusiness + '&viewtype=3' + '&type=jdcx')
window.open(href, `urlname${item.bsmSlsq}`)
}
}
......