style: 格式化代码
This commit is contained in:
@@ -10,65 +10,64 @@
|
|||||||
</div>
|
</div>
|
||||||
<div class="content">
|
<div class="content">
|
||||||
<el-form
|
<el-form
|
||||||
v-if="reloadForm"
|
v-if="reloadForm"
|
||||||
ref="form"
|
ref="form"
|
||||||
:model="form"
|
:model="form"
|
||||||
class="label-input-form phoneForm"
|
class="label-input-form phoneForm"
|
||||||
label-width="112px"
|
label-width="112px"
|
||||||
>
|
>
|
||||||
<template v-if="active === '1'">
|
<template v-if="active === '1'">
|
||||||
<div>
|
<div>
|
||||||
<ProcessTitle>
|
<ProcessTitle>
|
||||||
<template slot="title">基础信息</template>
|
<template slot="title">基础信息</template>
|
||||||
</ProcessTitle>
|
</ProcessTitle>
|
||||||
<Basic :form="form" :dict="dict" :disabled="disabled"></Basic>
|
<Basic :form="form" :dict="dict" :disabled="disabled" />
|
||||||
<ProcessTitle>
|
<ProcessTitle>
|
||||||
<template slot="title">拆分信息</template>
|
<template slot="title">拆分信息</template>
|
||||||
</ProcessTitle>
|
</ProcessTitle>
|
||||||
<SplitInformation :data="form.itemList" :form="form"></SplitInformation>
|
<SplitInformation :data="form.itemList" :form="form" />
|
||||||
</div>
|
</div>
|
||||||
<ReceiptDescription v-model="form.commentText" title="回执说明"></ReceiptDescription>
|
<ReceiptDescription v-model="form.commentText" title="回执说明" />
|
||||||
</template>
|
</template>
|
||||||
<template v-if="active === '3'">
|
<template v-if="active === '3'">
|
||||||
<PhoneHistortTable :prcNum="this.$route.query.prcNum"></PhoneHistortTable>
|
<PhoneHistortTable :prc-num="this.$route.query.prcNum" />
|
||||||
</template>
|
</template>
|
||||||
</el-form>
|
</el-form>
|
||||||
</div>
|
</div>
|
||||||
<ProcessFooter
|
<ProcessFooter
|
||||||
show-submit
|
show-submit
|
||||||
show-transfer
|
show-transfer
|
||||||
:submitLoading="footerLoading"
|
:submit-loading="footerLoading"
|
||||||
:saveLoading="footerLoading"
|
:save-loading="footerLoading"
|
||||||
@submit="handleSubmit"
|
@submit="handleSubmit"
|
||||||
@transfer="handleTransfer"
|
@transfer="handleTransfer"
|
||||||
>
|
/>
|
||||||
</ProcessFooter>
|
|
||||||
<!-- 福田全公司选人解决方案 -->
|
<!-- 福田全公司选人解决方案 -->
|
||||||
<phoneRoleTree
|
<phoneRoleTree
|
||||||
check-box
|
check-box
|
||||||
:is-title="drawerTitle"
|
:is-title="drawerTitle"
|
||||||
:is-visible.sync="drawerModal"
|
:is-visible.sync="drawerModal"
|
||||||
@checkedRole="checkedRole"
|
:node-list="nodeList"
|
||||||
:nodeList="nodeList"
|
@checkedRole="checkedRole"
|
||||||
></phoneRoleTree>
|
/>
|
||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
import {inboundLiaisonDetail, processCreateStand, changeAssigneeNew} from 'api/process'
|
import { inboundLiaisonDetail, processCreateStand, changeAssigneeNew } from 'api/process'
|
||||||
|
|
||||||
import ProcessHeaderPhone from '@/pages/processCenter/pages/components/ProcessHeaderPhone'
|
import ProcessHeaderPhone from '@/pages/processCenter/pages/components/ProcessHeaderPhone'
|
||||||
import ProcessTitle from '@/pages/processCenter/pages/components/ProcessTitle'
|
import ProcessTitle from '@/pages/processCenter/pages/components/ProcessTitle'
|
||||||
import ProcessFooter from '@/pages/processCenter/pages/components/ProcessFooter'
|
import ProcessFooter from '@/pages/processCenter/pages/components/ProcessFooter'
|
||||||
import PhoneHistortTable from '@/components/hzwlComponents/phoneComponents/phoneApprovalHistory'
|
import PhoneHistortTable from '@/components/hzwlComponents/phoneComponents/phoneApprovalHistory'
|
||||||
import ReceiptDescription from "@/components/hzwlComponents/ReceiptDescription";
|
import ReceiptDescription from '@/components/hzwlComponents/ReceiptDescription';
|
||||||
import phoneRoleTree from '@/components/hzwlComponents/phoneComponents/phoneRoleTree'
|
import phoneRoleTree from '@/components/hzwlComponents/phoneComponents/phoneRoleTree'
|
||||||
|
|
||||||
import Basic from "./components/Basic";
|
import Basic from './components/Basic';
|
||||||
import SplitInformation from "./components/SplitInformation";
|
import SplitInformation from './components/SplitInformation';
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
name: "step2",
|
name: 'Step2',
|
||||||
components: {
|
components: {
|
||||||
ProcessHeaderPhone,
|
ProcessHeaderPhone,
|
||||||
PhoneHistortTable,
|
PhoneHistortTable,
|
||||||
@@ -95,11 +94,11 @@ export default {
|
|||||||
nodeList: []
|
nodeList: []
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
created() {
|
created () {
|
||||||
this.getData()
|
this.getData()
|
||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
handleTabs(name) {
|
handleTabs (name) {
|
||||||
this.active = name;
|
this.active = name;
|
||||||
},
|
},
|
||||||
getData () {
|
getData () {
|
||||||
@@ -150,7 +149,7 @@ export default {
|
|||||||
this.$message.success('调整成功')
|
this.$message.success('调整成功')
|
||||||
setTimeout(() => {
|
setTimeout(() => {
|
||||||
// this.$router.go(-2)
|
// this.$router.go(-2)
|
||||||
this.$close()
|
this.$close()
|
||||||
}, 100)
|
}, 100)
|
||||||
} else {
|
} else {
|
||||||
this.$message.warning(res.message)
|
this.$message.warning(res.message)
|
||||||
|
|||||||
@@ -10,65 +10,64 @@
|
|||||||
</div>
|
</div>
|
||||||
<div class="content">
|
<div class="content">
|
||||||
<el-form
|
<el-form
|
||||||
v-if="reloadForm"
|
v-if="reloadForm"
|
||||||
ref="form"
|
ref="form"
|
||||||
:model="form"
|
:model="form"
|
||||||
class="label-input-form phoneForm"
|
class="label-input-form phoneForm"
|
||||||
label-width="112px"
|
label-width="112px"
|
||||||
>
|
>
|
||||||
<template v-if="active === '1'">
|
<template v-if="active === '1'">
|
||||||
<div>
|
<div>
|
||||||
<ProcessTitle>
|
<ProcessTitle>
|
||||||
<template slot="title">基础信息</template>
|
<template slot="title">基础信息</template>
|
||||||
</ProcessTitle>
|
</ProcessTitle>
|
||||||
<Basic :form="form" :dict="dict" :disabled="disabled"></Basic>
|
<Basic :form="form" :dict="dict" :disabled="disabled" />
|
||||||
<ProcessTitle>
|
<ProcessTitle>
|
||||||
<template slot="title">拆分信息</template>
|
<template slot="title">拆分信息</template>
|
||||||
</ProcessTitle>
|
</ProcessTitle>
|
||||||
<SplitInformation :data="form.itemList" :form="form"></SplitInformation>
|
<SplitInformation :data="form.itemList" :form="form" />
|
||||||
</div>
|
</div>
|
||||||
<ReceiptDescription v-model="form.commentText" title="回执说明"></ReceiptDescription>
|
<ReceiptDescription v-model="form.commentText" title="回执说明" />
|
||||||
</template>
|
</template>
|
||||||
<template v-if="active === '3'">
|
<template v-if="active === '3'">
|
||||||
<PhoneHistortTable :prcNum="this.$route.query.prcNum"></PhoneHistortTable>
|
<PhoneHistortTable :prc-num="this.$route.query.prcNum" />
|
||||||
</template>
|
</template>
|
||||||
</el-form>
|
</el-form>
|
||||||
</div>
|
</div>
|
||||||
<ProcessFooter
|
<ProcessFooter
|
||||||
show-submit
|
show-submit
|
||||||
show-transfer
|
show-transfer
|
||||||
:submitLoading="footerLoading"
|
:submit-loading="footerLoading"
|
||||||
:saveLoading="footerLoading"
|
:save-loading="footerLoading"
|
||||||
@submit="handleSubmit"
|
@submit="handleSubmit"
|
||||||
@transfer="handleTransfer"
|
@transfer="handleTransfer"
|
||||||
>
|
/>
|
||||||
</ProcessFooter>
|
|
||||||
<!-- 福田全公司选人解决方案 -->
|
<!-- 福田全公司选人解决方案 -->
|
||||||
<phoneRoleTree
|
<phoneRoleTree
|
||||||
check-box
|
check-box
|
||||||
:is-title="drawerTitle"
|
:is-title="drawerTitle"
|
||||||
:is-visible.sync="drawerModal"
|
:is-visible.sync="drawerModal"
|
||||||
@checkedRole="checkedRole"
|
:node-list="nodeList"
|
||||||
:nodeList="nodeList"
|
@checkedRole="checkedRole"
|
||||||
></phoneRoleTree>
|
/>
|
||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
import {inboundLiaisonDetail, processCreateStand, changeAssigneeNew} from 'api/process'
|
import { inboundLiaisonDetail, processCreateStand, changeAssigneeNew } from 'api/process'
|
||||||
|
|
||||||
import ProcessHeaderPhone from '@/pages/processCenter/pages/components/ProcessHeaderPhone'
|
import ProcessHeaderPhone from '@/pages/processCenter/pages/components/ProcessHeaderPhone'
|
||||||
import ProcessTitle from '@/pages/processCenter/pages/components/ProcessTitle'
|
import ProcessTitle from '@/pages/processCenter/pages/components/ProcessTitle'
|
||||||
import ProcessFooter from '@/pages/processCenter/pages/components/ProcessFooter'
|
import ProcessFooter from '@/pages/processCenter/pages/components/ProcessFooter'
|
||||||
import PhoneHistortTable from '@/components/hzwlComponents/phoneComponents/phoneApprovalHistory'
|
import PhoneHistortTable from '@/components/hzwlComponents/phoneComponents/phoneApprovalHistory'
|
||||||
import ReceiptDescription from "@/components/hzwlComponents/ReceiptDescription";
|
import ReceiptDescription from '@/components/hzwlComponents/ReceiptDescription';
|
||||||
import phoneRoleTree from '@/components/hzwlComponents/phoneComponents/phoneRoleTree'
|
import phoneRoleTree from '@/components/hzwlComponents/phoneComponents/phoneRoleTree'
|
||||||
|
|
||||||
import Basic from "./components/Basic";
|
import Basic from './components/Basic';
|
||||||
import SplitInformation from "./components/SplitInformation";
|
import SplitInformation from './components/SplitInformation';
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
name: "step2",
|
name: 'Step2',
|
||||||
components: {
|
components: {
|
||||||
ProcessHeaderPhone,
|
ProcessHeaderPhone,
|
||||||
PhoneHistortTable,
|
PhoneHistortTable,
|
||||||
@@ -95,11 +94,11 @@ export default {
|
|||||||
nodeList: []
|
nodeList: []
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
created() {
|
created () {
|
||||||
this.getData()
|
this.getData()
|
||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
handleTabs(name) {
|
handleTabs (name) {
|
||||||
this.active = name;
|
this.active = name;
|
||||||
},
|
},
|
||||||
getData () {
|
getData () {
|
||||||
@@ -150,7 +149,7 @@ export default {
|
|||||||
this.$message.success('调整成功')
|
this.$message.success('调整成功')
|
||||||
setTimeout(() => {
|
setTimeout(() => {
|
||||||
// this.$router.go(-2)
|
// this.$router.go(-2)
|
||||||
this.$close()
|
this.$close()
|
||||||
}, 100)
|
}, 100)
|
||||||
} else {
|
} else {
|
||||||
this.$message.warning(res.message)
|
this.$message.warning(res.message)
|
||||||
|
|||||||
@@ -10,66 +10,65 @@
|
|||||||
</div>
|
</div>
|
||||||
<div class="content">
|
<div class="content">
|
||||||
<el-form
|
<el-form
|
||||||
v-if="reloadForm"
|
v-if="reloadForm"
|
||||||
ref="form"
|
ref="form"
|
||||||
:model="form"
|
:model="form"
|
||||||
class="label-input-form phoneForm"
|
class="label-input-form phoneForm"
|
||||||
label-width="112px"
|
label-width="112px"
|
||||||
>
|
>
|
||||||
<template v-if="active === '1'">
|
<template v-if="active === '1'">
|
||||||
<div>
|
<div>
|
||||||
<ProcessTitle>
|
<ProcessTitle>
|
||||||
<template slot="title">基础信息</template>
|
<template slot="title">基础信息</template>
|
||||||
</ProcessTitle>
|
</ProcessTitle>
|
||||||
<Basic :form="form" :dict="dict" :disabled="disabled"></Basic>
|
<Basic :form="form" :dict="dict" :disabled="disabled" />
|
||||||
<ProcessTitle>
|
<ProcessTitle>
|
||||||
<template slot="title">填写信息</template>
|
<template slot="title">填写信息</template>
|
||||||
</ProcessTitle>
|
</ProcessTitle>
|
||||||
<Info3 :data="form.dataList"></Info3>
|
<Info3 :data="form.dataList" />
|
||||||
</div>
|
</div>
|
||||||
<ReceiptDescription v-model="form.commentText" title="审批意见"></ReceiptDescription>
|
<ReceiptDescription v-model="form.commentText" title="审批意见" />
|
||||||
</template>
|
</template>
|
||||||
<template v-if="active === '3'">
|
<template v-if="active === '3'">
|
||||||
<PhoneHistortTable :prcNum="this.$route.query.prcNum"></PhoneHistortTable>
|
<PhoneHistortTable :prc-num="this.$route.query.prcNum" />
|
||||||
</template>
|
</template>
|
||||||
</el-form>
|
</el-form>
|
||||||
</div>
|
</div>
|
||||||
<ProcessFooter
|
<ProcessFooter
|
||||||
show-submit
|
show-submit
|
||||||
show-transfer
|
show-transfer
|
||||||
approval
|
approval
|
||||||
:submitLoading="footerLoading"
|
:submit-loading="footerLoading"
|
||||||
:saveLoading="footerLoading"
|
:save-loading="footerLoading"
|
||||||
@submit="handleSubmit"
|
@submit="handleSubmit"
|
||||||
@transfer="handleTransfer"
|
@transfer="handleTransfer"
|
||||||
>
|
/>
|
||||||
</ProcessFooter>
|
|
||||||
<!-- 福田全公司选人解决方案 -->
|
<!-- 福田全公司选人解决方案 -->
|
||||||
<phoneRoleTree
|
<phoneRoleTree
|
||||||
check-box
|
check-box
|
||||||
:is-title="drawerTitle"
|
:is-title="drawerTitle"
|
||||||
:is-visible.sync="drawerModal"
|
:is-visible.sync="drawerModal"
|
||||||
@checkedRole="checkedRole"
|
:node-list="nodeList"
|
||||||
:nodeList="nodeList"
|
@checkedRole="checkedRole"
|
||||||
></phoneRoleTree>
|
/>
|
||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
import {inboundLiaisonDetail, processCreateStand, changeAssigneeNew} from 'api/process'
|
import { inboundLiaisonDetail, processCreateStand, changeAssigneeNew } from 'api/process'
|
||||||
|
|
||||||
import ProcessHeaderPhone from '@/pages/processCenter/pages/components/ProcessHeaderPhone'
|
import ProcessHeaderPhone from '@/pages/processCenter/pages/components/ProcessHeaderPhone'
|
||||||
import ProcessTitle from '@/pages/processCenter/pages/components/ProcessTitle'
|
import ProcessTitle from '@/pages/processCenter/pages/components/ProcessTitle'
|
||||||
import ProcessFooter from '@/pages/processCenter/pages/components/ProcessFooter'
|
import ProcessFooter from '@/pages/processCenter/pages/components/ProcessFooter'
|
||||||
import PhoneHistortTable from '@/components/hzwlComponents/phoneComponents/phoneApprovalHistory'
|
import PhoneHistortTable from '@/components/hzwlComponents/phoneComponents/phoneApprovalHistory'
|
||||||
import ReceiptDescription from "@/components/hzwlComponents/ReceiptDescription";
|
import ReceiptDescription from '@/components/hzwlComponents/ReceiptDescription';
|
||||||
import phoneRoleTree from '@/components/hzwlComponents/phoneComponents/phoneRoleTree'
|
import phoneRoleTree from '@/components/hzwlComponents/phoneComponents/phoneRoleTree'
|
||||||
|
|
||||||
import Basic from "./components/Basic";
|
import Basic from './components/Basic';
|
||||||
import Info3 from "./components/Info3";
|
import Info3 from './components/Info3';
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
name: "step3",
|
name: 'Step3',
|
||||||
components: {
|
components: {
|
||||||
ProcessHeaderPhone,
|
ProcessHeaderPhone,
|
||||||
PhoneHistortTable,
|
PhoneHistortTable,
|
||||||
@@ -96,11 +95,11 @@ export default {
|
|||||||
nodeList: []
|
nodeList: []
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
created() {
|
created () {
|
||||||
this.getData()
|
this.getData()
|
||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
handleTabs(name) {
|
handleTabs (name) {
|
||||||
this.active = name;
|
this.active = name;
|
||||||
},
|
},
|
||||||
getData () {
|
getData () {
|
||||||
@@ -148,7 +147,7 @@ export default {
|
|||||||
this.$message.success('调整成功')
|
this.$message.success('调整成功')
|
||||||
setTimeout(() => {
|
setTimeout(() => {
|
||||||
// this.$router.go(-2)
|
// this.$router.go(-2)
|
||||||
this.$close()
|
this.$close()
|
||||||
}, 100)
|
}, 100)
|
||||||
} else {
|
} else {
|
||||||
this.$message.warning(res.message)
|
this.$message.warning(res.message)
|
||||||
@@ -161,7 +160,6 @@ this.$close()
|
|||||||
}
|
}
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
|
|
||||||
<style scoped lang="less">
|
<style scoped lang="less">
|
||||||
.phoneBox .content {
|
.phoneBox .content {
|
||||||
border-top: 1px solid #DCDFE6;
|
border-top: 1px solid #DCDFE6;
|
||||||
|
|||||||
@@ -10,66 +10,65 @@
|
|||||||
</div>
|
</div>
|
||||||
<div class="content">
|
<div class="content">
|
||||||
<el-form
|
<el-form
|
||||||
v-if="reloadForm"
|
v-if="reloadForm"
|
||||||
ref="form"
|
ref="form"
|
||||||
:model="form"
|
:model="form"
|
||||||
class="label-input-form phoneForm"
|
class="label-input-form phoneForm"
|
||||||
label-width="112px"
|
label-width="112px"
|
||||||
>
|
>
|
||||||
<template v-if="active === '1'">
|
<template v-if="active === '1'">
|
||||||
<div>
|
<div>
|
||||||
<ProcessTitle>
|
<ProcessTitle>
|
||||||
<template slot="title">基础信息</template>
|
<template slot="title">基础信息</template>
|
||||||
</ProcessTitle>
|
</ProcessTitle>
|
||||||
<Basic :form="form" :dict="dict" :disabled="disabled"></Basic>
|
<Basic :form="form" :dict="dict" :disabled="disabled" />
|
||||||
<ProcessTitle>
|
<ProcessTitle>
|
||||||
<template slot="title">填写信息</template>
|
<template slot="title">填写信息</template>
|
||||||
</ProcessTitle>
|
</ProcessTitle>
|
||||||
<Info4 :data="form.resDats"></Info4>
|
<Info4 :data="form.resDats" />
|
||||||
</div>
|
</div>
|
||||||
<ReceiptDescription v-model="form.commentText" title="审批意见"></ReceiptDescription>
|
<ReceiptDescription v-model="form.commentText" title="审批意见" />
|
||||||
</template>
|
</template>
|
||||||
<template v-if="active === '3'">
|
<template v-if="active === '3'">
|
||||||
<PhoneHistortTable :prcNum="this.$route.query.prcNum"></PhoneHistortTable>
|
<PhoneHistortTable :prc-num="this.$route.query.prcNum" />
|
||||||
</template>
|
</template>
|
||||||
</el-form>
|
</el-form>
|
||||||
</div>
|
</div>
|
||||||
<ProcessFooter
|
<ProcessFooter
|
||||||
show-submit
|
show-submit
|
||||||
show-transfer
|
show-transfer
|
||||||
approval
|
approval
|
||||||
:submitLoading="footerLoading"
|
:submit-loading="footerLoading"
|
||||||
:saveLoading="footerLoading"
|
:save-loading="footerLoading"
|
||||||
@submit="handleSubmit"
|
@submit="handleSubmit"
|
||||||
@transfer="handleTransfer"
|
@transfer="handleTransfer"
|
||||||
>
|
/>
|
||||||
</ProcessFooter>
|
|
||||||
<!-- 福田全公司选人解决方案 -->
|
<!-- 福田全公司选人解决方案 -->
|
||||||
<phoneRoleTree
|
<phoneRoleTree
|
||||||
check-box
|
check-box
|
||||||
:is-title="drawerTitle"
|
:is-title="drawerTitle"
|
||||||
:is-visible.sync="drawerModal"
|
:is-visible.sync="drawerModal"
|
||||||
@checkedRole="checkedRole"
|
:node-list="nodeList"
|
||||||
:nodeList="nodeList"
|
@checkedRole="checkedRole"
|
||||||
></phoneRoleTree>
|
/>
|
||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
import {inboundLiaisonDetail, processCreateStand, changeAssigneeNew} from 'api/process'
|
import { inboundLiaisonDetail, processCreateStand, changeAssigneeNew } from 'api/process'
|
||||||
|
|
||||||
import ProcessHeaderPhone from '@/pages/processCenter/pages/components/ProcessHeaderPhone'
|
import ProcessHeaderPhone from '@/pages/processCenter/pages/components/ProcessHeaderPhone'
|
||||||
import ProcessTitle from '@/pages/processCenter/pages/components/ProcessTitle'
|
import ProcessTitle from '@/pages/processCenter/pages/components/ProcessTitle'
|
||||||
import ProcessFooter from '@/pages/processCenter/pages/components/ProcessFooter'
|
import ProcessFooter from '@/pages/processCenter/pages/components/ProcessFooter'
|
||||||
import PhoneHistortTable from '@/components/hzwlComponents/phoneComponents/phoneApprovalHistory'
|
import PhoneHistortTable from '@/components/hzwlComponents/phoneComponents/phoneApprovalHistory'
|
||||||
import ReceiptDescription from "@/components/hzwlComponents/ReceiptDescription";
|
import ReceiptDescription from '@/components/hzwlComponents/ReceiptDescription';
|
||||||
import phoneRoleTree from '@/components/hzwlComponents/phoneComponents/phoneRoleTree'
|
import phoneRoleTree from '@/components/hzwlComponents/phoneComponents/phoneRoleTree'
|
||||||
|
|
||||||
import Basic from "./components/Basic";
|
import Basic from './components/Basic';
|
||||||
import Info4 from "./components/Info4";
|
import Info4 from './components/Info4';
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
name: "step3",
|
name: 'Step3',
|
||||||
components: {
|
components: {
|
||||||
ProcessHeaderPhone,
|
ProcessHeaderPhone,
|
||||||
PhoneHistortTable,
|
PhoneHistortTable,
|
||||||
@@ -96,11 +95,11 @@ export default {
|
|||||||
nodeList: []
|
nodeList: []
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
created() {
|
created () {
|
||||||
this.getData()
|
this.getData()
|
||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
handleTabs(name) {
|
handleTabs (name) {
|
||||||
this.active = name;
|
this.active = name;
|
||||||
},
|
},
|
||||||
getData () {
|
getData () {
|
||||||
@@ -147,7 +146,7 @@ export default {
|
|||||||
this.$message.success('调整成功')
|
this.$message.success('调整成功')
|
||||||
setTimeout(() => {
|
setTimeout(() => {
|
||||||
// this.$router.go(-2)
|
// this.$router.go(-2)
|
||||||
this.$close()
|
this.$close()
|
||||||
}, 100)
|
}, 100)
|
||||||
} else {
|
} else {
|
||||||
this.$message.warning(res.message)
|
this.$message.warning(res.message)
|
||||||
@@ -160,7 +159,6 @@ this.$close()
|
|||||||
}
|
}
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
|
|
||||||
<style scoped lang="less">
|
<style scoped lang="less">
|
||||||
.phoneBox .content {
|
.phoneBox .content {
|
||||||
border-top: 1px solid #DCDFE6;
|
border-top: 1px solid #DCDFE6;
|
||||||
|
|||||||
@@ -10,66 +10,65 @@
|
|||||||
</div>
|
</div>
|
||||||
<div class="content">
|
<div class="content">
|
||||||
<el-form
|
<el-form
|
||||||
v-if="reloadForm"
|
v-if="reloadForm"
|
||||||
ref="form"
|
ref="form"
|
||||||
:model="form"
|
:model="form"
|
||||||
class="label-input-form phoneForm"
|
class="label-input-form phoneForm"
|
||||||
label-width="112px"
|
label-width="112px"
|
||||||
>
|
>
|
||||||
<template v-if="active === '1'">
|
<template v-if="active === '1'">
|
||||||
<div>
|
<div>
|
||||||
<ProcessTitle>
|
<ProcessTitle>
|
||||||
<template slot="title">基础信息</template>
|
<template slot="title">基础信息</template>
|
||||||
</ProcessTitle>
|
</ProcessTitle>
|
||||||
<Basic :form="form" :dict="dict" :disabled="disabled"></Basic>
|
<Basic :form="form" :dict="dict" :disabled="disabled" />
|
||||||
<ProcessTitle>
|
<ProcessTitle>
|
||||||
<template slot="title">填写信息</template>
|
<template slot="title">填写信息</template>
|
||||||
</ProcessTitle>
|
</ProcessTitle>
|
||||||
<Info5 :data="form.dataList"></Info5>
|
<Info5 :data="form.dataList" />
|
||||||
</div>
|
</div>
|
||||||
<ReceiptDescription v-model="form.commentText" title="审批意见"></ReceiptDescription>
|
<ReceiptDescription v-model="form.commentText" title="审批意见" />
|
||||||
</template>
|
</template>
|
||||||
<template v-if="active === '3'">
|
<template v-if="active === '3'">
|
||||||
<PhoneHistortTable :prcNum="this.$route.query.prcNum"></PhoneHistortTable>
|
<PhoneHistortTable :prc-num="this.$route.query.prcNum" />
|
||||||
</template>
|
</template>
|
||||||
</el-form>
|
</el-form>
|
||||||
</div>
|
</div>
|
||||||
<ProcessFooter
|
<ProcessFooter
|
||||||
show-submit
|
show-submit
|
||||||
show-transfer
|
show-transfer
|
||||||
approval
|
approval
|
||||||
:submitLoading="footerLoading"
|
:submit-loading="footerLoading"
|
||||||
:saveLoading="footerLoading"
|
:save-loading="footerLoading"
|
||||||
@submit="handleSubmit"
|
@submit="handleSubmit"
|
||||||
@transfer="handleTransfer"
|
@transfer="handleTransfer"
|
||||||
>
|
/>
|
||||||
</ProcessFooter>
|
|
||||||
<!-- 福田全公司选人解决方案 -->
|
<!-- 福田全公司选人解决方案 -->
|
||||||
<phoneRoleTree
|
<phoneRoleTree
|
||||||
check-box
|
check-box
|
||||||
:is-title="drawerTitle"
|
:is-title="drawerTitle"
|
||||||
:is-visible.sync="drawerModal"
|
:is-visible.sync="drawerModal"
|
||||||
@checkedRole="checkedRole"
|
:node-list="nodeList"
|
||||||
:nodeList="nodeList"
|
@checkedRole="checkedRole"
|
||||||
></phoneRoleTree>
|
/>
|
||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
import {inboundLiaisonDetail, processCreateStand, changeAssigneeNew} from 'api/process'
|
import { inboundLiaisonDetail, processCreateStand, changeAssigneeNew } from 'api/process'
|
||||||
|
|
||||||
import ProcessHeaderPhone from '@/pages/processCenter/pages/components/ProcessHeaderPhone'
|
import ProcessHeaderPhone from '@/pages/processCenter/pages/components/ProcessHeaderPhone'
|
||||||
import ProcessTitle from '@/pages/processCenter/pages/components/ProcessTitle'
|
import ProcessTitle from '@/pages/processCenter/pages/components/ProcessTitle'
|
||||||
import ProcessFooter from '@/pages/processCenter/pages/components/ProcessFooter'
|
import ProcessFooter from '@/pages/processCenter/pages/components/ProcessFooter'
|
||||||
import PhoneHistortTable from '@/components/hzwlComponents/phoneComponents/phoneApprovalHistory'
|
import PhoneHistortTable from '@/components/hzwlComponents/phoneComponents/phoneApprovalHistory'
|
||||||
import ReceiptDescription from "@/components/hzwlComponents/ReceiptDescription";
|
import ReceiptDescription from '@/components/hzwlComponents/ReceiptDescription';
|
||||||
import phoneRoleTree from '@/components/hzwlComponents/phoneComponents/phoneRoleTree'
|
import phoneRoleTree from '@/components/hzwlComponents/phoneComponents/phoneRoleTree'
|
||||||
|
|
||||||
import Basic from "./components/Basic";
|
import Basic from './components/Basic';
|
||||||
import Info5 from "./components/Info5";
|
import Info5 from './components/Info5';
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
name: "step3",
|
name: 'Step3',
|
||||||
components: {
|
components: {
|
||||||
ProcessHeaderPhone,
|
ProcessHeaderPhone,
|
||||||
PhoneHistortTable,
|
PhoneHistortTable,
|
||||||
@@ -96,11 +95,11 @@ export default {
|
|||||||
nodeList: []
|
nodeList: []
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
created() {
|
created () {
|
||||||
this.getData()
|
this.getData()
|
||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
handleTabs(name) {
|
handleTabs (name) {
|
||||||
this.active = name;
|
this.active = name;
|
||||||
},
|
},
|
||||||
getData () {
|
getData () {
|
||||||
@@ -147,7 +146,7 @@ export default {
|
|||||||
this.$message.success('调整成功')
|
this.$message.success('调整成功')
|
||||||
setTimeout(() => {
|
setTimeout(() => {
|
||||||
// this.$router.go(-2)
|
// this.$router.go(-2)
|
||||||
this.$close()
|
this.$close()
|
||||||
}, 100)
|
}, 100)
|
||||||
} else {
|
} else {
|
||||||
this.$message.warning(res.message)
|
this.$message.warning(res.message)
|
||||||
@@ -160,7 +159,6 @@ this.$close()
|
|||||||
}
|
}
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
|
|
||||||
<style scoped lang="less">
|
<style scoped lang="less">
|
||||||
.phoneBox .content {
|
.phoneBox .content {
|
||||||
border-top: 1px solid #DCDFE6;
|
border-top: 1px solid #DCDFE6;
|
||||||
|
|||||||
@@ -10,65 +10,64 @@
|
|||||||
</div>
|
</div>
|
||||||
<div class="content">
|
<div class="content">
|
||||||
<el-form
|
<el-form
|
||||||
v-if="reloadForm"
|
v-if="reloadForm"
|
||||||
ref="form"
|
ref="form"
|
||||||
:model="form"
|
:model="form"
|
||||||
class="label-input-form phoneForm"
|
class="label-input-form phoneForm"
|
||||||
label-width="112px"
|
label-width="112px"
|
||||||
>
|
>
|
||||||
<template v-if="active === '1'">
|
<template v-if="active === '1'">
|
||||||
<div>
|
<div>
|
||||||
<ProcessTitle>
|
<ProcessTitle>
|
||||||
<template slot="title">基础信息</template>
|
<template slot="title">基础信息</template>
|
||||||
</ProcessTitle>
|
</ProcessTitle>
|
||||||
<Basic :form="form" :dict="dict" :disabled="disabled"></Basic>
|
<Basic :form="form" :dict="dict" :disabled="disabled" />
|
||||||
<ProcessTitle>
|
<ProcessTitle>
|
||||||
<template slot="title">会签信息</template>
|
<template slot="title">会签信息</template>
|
||||||
</ProcessTitle>
|
</ProcessTitle>
|
||||||
<CountersignInfo :data="dataList"></CountersignInfo>
|
<CountersignInfo :data="dataList" />
|
||||||
</div>
|
</div>
|
||||||
<ReceiptDescription v-model="form.commentText" title="回执说明"></ReceiptDescription>
|
<ReceiptDescription v-model="form.commentText" title="回执说明" />
|
||||||
</template>
|
</template>
|
||||||
<template v-if="active === '3'">
|
<template v-if="active === '3'">
|
||||||
<PhoneHistortTable :prcNum="this.$route.query.prcNum"></PhoneHistortTable>
|
<PhoneHistortTable :prc-num="this.$route.query.prcNum" />
|
||||||
</template>
|
</template>
|
||||||
</el-form>
|
</el-form>
|
||||||
</div>
|
</div>
|
||||||
<ProcessFooter
|
<ProcessFooter
|
||||||
show-submit
|
show-submit
|
||||||
show-transfer
|
show-transfer
|
||||||
approval
|
approval
|
||||||
:submitLoading="footerLoading"
|
:submit-loading="footerLoading"
|
||||||
@submit="handleSubmit"
|
@submit="handleSubmit"
|
||||||
@transfer="handleTransfer"
|
@transfer="handleTransfer"
|
||||||
>
|
/>
|
||||||
</ProcessFooter>
|
|
||||||
<!-- 福田全公司选人解决方案 -->
|
<!-- 福田全公司选人解决方案 -->
|
||||||
<phoneRoleTree
|
<phoneRoleTree
|
||||||
check-box
|
check-box
|
||||||
:is-title="drawerTitle"
|
:is-title="drawerTitle"
|
||||||
:is-visible.sync="drawerModal"
|
:is-visible.sync="drawerModal"
|
||||||
@checkedRole="checkedRole"
|
:node-list="nodeList"
|
||||||
:nodeList="nodeList"
|
@checkedRole="checkedRole"
|
||||||
></phoneRoleTree>
|
/>
|
||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
import {inboundLiaisonDetail, processCreateStand, changeAssigneeNew} from 'api/process'
|
import { inboundLiaisonDetail, processCreateStand, changeAssigneeNew } from 'api/process'
|
||||||
|
|
||||||
import ProcessHeaderPhone from '@/pages/processCenter/pages/components/ProcessHeaderPhone'
|
import ProcessHeaderPhone from '@/pages/processCenter/pages/components/ProcessHeaderPhone'
|
||||||
import ProcessTitle from '@/pages/processCenter/pages/components/ProcessTitle'
|
import ProcessTitle from '@/pages/processCenter/pages/components/ProcessTitle'
|
||||||
import ProcessFooter from '@/pages/processCenter/pages/components/ProcessFooter'
|
import ProcessFooter from '@/pages/processCenter/pages/components/ProcessFooter'
|
||||||
import PhoneHistortTable from '@/components/hzwlComponents/phoneComponents/phoneApprovalHistory'
|
import PhoneHistortTable from '@/components/hzwlComponents/phoneComponents/phoneApprovalHistory'
|
||||||
import ReceiptDescription from "@/components/hzwlComponents/ReceiptDescription";
|
import ReceiptDescription from '@/components/hzwlComponents/ReceiptDescription';
|
||||||
import phoneRoleTree from '@/components/hzwlComponents/phoneComponents/phoneRoleTree'
|
import phoneRoleTree from '@/components/hzwlComponents/phoneComponents/phoneRoleTree'
|
||||||
|
|
||||||
import Basic from './components/Basic'
|
import Basic from './components/Basic'
|
||||||
import CountersignInfo from './components/CountersignInfo'
|
import CountersignInfo from './components/CountersignInfo'
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
name: "step4-new",
|
name: 'Step4New',
|
||||||
components: {
|
components: {
|
||||||
ProcessHeaderPhone,
|
ProcessHeaderPhone,
|
||||||
PhoneHistortTable,
|
PhoneHistortTable,
|
||||||
@@ -96,15 +95,15 @@ export default {
|
|||||||
nodeList: []
|
nodeList: []
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
created() {
|
created () {
|
||||||
this.getDicTypeListCode()
|
this.getDicTypeListCode()
|
||||||
this.getData()
|
this.getData()
|
||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
handleTabs(name) {
|
handleTabs (name) {
|
||||||
this.active = name;
|
this.active = name;
|
||||||
},
|
},
|
||||||
getData() {
|
getData () {
|
||||||
const { taskIds, prcId } = this.$route.query
|
const { taskIds, prcId } = this.$route.query
|
||||||
|
|
||||||
inboundLiaisonDetail({
|
inboundLiaisonDetail({
|
||||||
@@ -117,13 +116,13 @@ export default {
|
|||||||
this.form = JSON.parse(JSON.stringify(processForm.form || processForm))
|
this.form = JSON.parse(JSON.stringify(processForm.form || processForm))
|
||||||
this.form.commentText = ''
|
this.form.commentText = ''
|
||||||
|
|
||||||
let dataList = this.form.res ? this.form.res.substring(1, this.form.res.lastIndexOf("]")) : "";
|
let dataList = this.form.res ? this.form.res.substring(1, this.form.res.lastIndexOf(']')) : '';
|
||||||
dataList = dataList.split(",");
|
dataList = dataList.split(',');
|
||||||
this.dataList = [];
|
this.dataList = [];
|
||||||
dataList.forEach(item => {
|
dataList.forEach(item => {
|
||||||
this.dataList.push({
|
this.dataList.push({
|
||||||
opinion: item.split("-")[1],
|
opinion: item.split('-')[1],
|
||||||
people: item.split("-")[0]
|
people: item.split('-')[0]
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
|
||||||
@@ -158,7 +157,7 @@ export default {
|
|||||||
this.$message.success('调整成功')
|
this.$message.success('调整成功')
|
||||||
setTimeout(() => {
|
setTimeout(() => {
|
||||||
// this.$router.go(-2)
|
// this.$router.go(-2)
|
||||||
this.$close()
|
this.$close()
|
||||||
}, 100)
|
}, 100)
|
||||||
} else {
|
} else {
|
||||||
this.$message.warning(res.message)
|
this.$message.warning(res.message)
|
||||||
|
|||||||
@@ -10,63 +10,62 @@
|
|||||||
</div>
|
</div>
|
||||||
<div class="content">
|
<div class="content">
|
||||||
<el-form
|
<el-form
|
||||||
v-if="reloadForm"
|
v-if="reloadForm"
|
||||||
ref="form"
|
ref="form"
|
||||||
:model="form"
|
:model="form"
|
||||||
class="label-input-form phoneForm"
|
class="label-input-form phoneForm"
|
||||||
label-width="112px"
|
label-width="112px"
|
||||||
>
|
>
|
||||||
<template v-if="active === '1'">
|
<template v-if="active === '1'">
|
||||||
<div>
|
<div>
|
||||||
<ProcessTitle>
|
<ProcessTitle>
|
||||||
<template slot="title">基础信息</template>
|
<template slot="title">基础信息</template>
|
||||||
</ProcessTitle>
|
</ProcessTitle>
|
||||||
<Basic :form="form" :dict="dict" :disabled="disabled"></Basic>
|
<Basic :form="form" :dict="dict" :disabled="disabled" />
|
||||||
</div>
|
</div>
|
||||||
<ReceiptDescription v-model="form.commentText" title="回执说明"></ReceiptDescription>
|
<ReceiptDescription v-model="form.commentText" title="回执说明" />
|
||||||
</template>
|
</template>
|
||||||
<template v-if="active === '3'">
|
<template v-if="active === '3'">
|
||||||
<PhoneHistortTable :prcNum="this.$route.query.prcNum"></PhoneHistortTable>
|
<PhoneHistortTable :prc-num="this.$route.query.prcNum" />
|
||||||
</template>
|
</template>
|
||||||
<template v-if="active === '2'">
|
<template v-if="active === '2'">
|
||||||
<RoleInfo :roleForm="roleForm"></RoleInfo>
|
<RoleInfo :role-form="roleForm" />
|
||||||
</template>
|
</template>
|
||||||
</el-form>
|
</el-form>
|
||||||
</div>
|
</div>
|
||||||
<ProcessFooter
|
<ProcessFooter
|
||||||
show-submit
|
show-submit
|
||||||
show-transfer
|
show-transfer
|
||||||
:submitLoading="footerLoading"
|
:submit-loading="footerLoading"
|
||||||
@submit="handleSubmit"
|
@submit="handleSubmit"
|
||||||
@transfer="handleTransfer"
|
@transfer="handleTransfer"
|
||||||
>
|
/>
|
||||||
</ProcessFooter>
|
|
||||||
<!-- 福田全公司选人解决方案 -->
|
<!-- 福田全公司选人解决方案 -->
|
||||||
<phoneRoleTree
|
<phoneRoleTree
|
||||||
check-box
|
check-box
|
||||||
:is-title="drawerTitle"
|
:is-title="drawerTitle"
|
||||||
:is-visible.sync="drawerModal"
|
:is-visible.sync="drawerModal"
|
||||||
@checkedRole="checkedRole"
|
:node-list="nodeList"
|
||||||
:nodeList="nodeList"
|
@checkedRole="checkedRole"
|
||||||
></phoneRoleTree>
|
/>
|
||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
import {inboundLiaisonDetail, processCreateStand, changeAssigneeNew} from 'api/process'
|
import { inboundLiaisonDetail, processCreateStand, changeAssigneeNew } from 'api/process'
|
||||||
|
|
||||||
import ProcessHeaderPhone from '@/pages/processCenter/pages/components/ProcessHeaderPhone'
|
import ProcessHeaderPhone from '@/pages/processCenter/pages/components/ProcessHeaderPhone'
|
||||||
import ProcessTitle from '@/pages/processCenter/pages/components/ProcessTitle'
|
import ProcessTitle from '@/pages/processCenter/pages/components/ProcessTitle'
|
||||||
import ProcessFooter from '@/pages/processCenter/pages/components/ProcessFooter'
|
import ProcessFooter from '@/pages/processCenter/pages/components/ProcessFooter'
|
||||||
import PhoneHistortTable from '@/components/hzwlComponents/phoneComponents/phoneApprovalHistory'
|
import PhoneHistortTable from '@/components/hzwlComponents/phoneComponents/phoneApprovalHistory'
|
||||||
import ReceiptDescription from "@/components/hzwlComponents/ReceiptDescription";
|
import ReceiptDescription from '@/components/hzwlComponents/ReceiptDescription';
|
||||||
import phoneRoleTree from '@/components/hzwlComponents/phoneComponents/phoneRoleTree'
|
import phoneRoleTree from '@/components/hzwlComponents/phoneComponents/phoneRoleTree'
|
||||||
|
|
||||||
import Basic from './components/Basic'
|
import Basic from './components/Basic'
|
||||||
import RoleInfo from './components/RoleInfo'
|
import RoleInfo from './components/RoleInfo'
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
name: "step2-new",
|
name: 'Step2New',
|
||||||
components: {
|
components: {
|
||||||
ProcessHeaderPhone,
|
ProcessHeaderPhone,
|
||||||
PhoneHistortTable,
|
PhoneHistortTable,
|
||||||
@@ -82,16 +81,16 @@ export default {
|
|||||||
const roleForm = {
|
const roleForm = {
|
||||||
prcCreateUserName: this.$store.getters.userInfo.userName,
|
prcCreateUserName: this.$store.getters.userInfo.userName,
|
||||||
prcCreateUser: this.$store.getters.userInfo.userId,
|
prcCreateUser: this.$store.getters.userInfo.userId,
|
||||||
dockUser: "",
|
dockUser: '',
|
||||||
dockUserName: "",
|
dockUserName: '',
|
||||||
countersigner: "",
|
countersigner: '',
|
||||||
countersignerName: "",
|
countersignerName: '',
|
||||||
approver: "",
|
approver: '',
|
||||||
approverName: "",
|
approverName: '',
|
||||||
engineer: "",
|
engineer: '',
|
||||||
engineerName: "",
|
engineerName: '',
|
||||||
examine: "",
|
examine: '',
|
||||||
examineName: ""
|
examineName: ''
|
||||||
}
|
}
|
||||||
return {
|
return {
|
||||||
active: '1',
|
active: '1',
|
||||||
@@ -108,15 +107,15 @@ export default {
|
|||||||
nodeList: []
|
nodeList: []
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
created() {
|
created () {
|
||||||
this.getDicTypeListCode()
|
this.getDicTypeListCode()
|
||||||
this.getData()
|
this.getData()
|
||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
handleTabs(name) {
|
handleTabs (name) {
|
||||||
this.active = name;
|
this.active = name;
|
||||||
},
|
},
|
||||||
getData() {
|
getData () {
|
||||||
const { taskIds, prcId } = this.$route.query
|
const { taskIds, prcId } = this.$route.query
|
||||||
|
|
||||||
inboundLiaisonDetail({
|
inboundLiaisonDetail({
|
||||||
@@ -163,7 +162,7 @@ export default {
|
|||||||
this.$message.success('调整成功')
|
this.$message.success('调整成功')
|
||||||
setTimeout(() => {
|
setTimeout(() => {
|
||||||
// this.$router.go(-2)
|
// this.$router.go(-2)
|
||||||
this.$close()
|
this.$close()
|
||||||
}, 100)
|
}, 100)
|
||||||
} else {
|
} else {
|
||||||
this.$message.warning(res.message)
|
this.$message.warning(res.message)
|
||||||
|
|||||||
@@ -10,11 +10,11 @@
|
|||||||
</div>
|
</div>
|
||||||
<div class="content">
|
<div class="content">
|
||||||
<el-form
|
<el-form
|
||||||
v-if="reloadForm"
|
v-if="reloadForm"
|
||||||
ref="form"
|
ref="form"
|
||||||
:model="form"
|
:model="form"
|
||||||
class="label-input-form phoneForm"
|
class="label-input-form phoneForm"
|
||||||
label-width="112px"
|
label-width="112px"
|
||||||
>
|
>
|
||||||
<template v-if="active === '1'">
|
<template v-if="active === '1'">
|
||||||
<div>
|
<div>
|
||||||
@@ -22,88 +22,97 @@
|
|||||||
<template slot="title">基础信息</template>
|
<template slot="title">基础信息</template>
|
||||||
</ProcessTitle>
|
</ProcessTitle>
|
||||||
<el-table
|
<el-table
|
||||||
ref="selection"
|
ref="selection"
|
||||||
:data="dataList"
|
:data="dataList"
|
||||||
tooltip-effect="dark"
|
tooltip-effect="dark"
|
||||||
style="width: 100%;"
|
style="width: 100%;"
|
||||||
border
|
border
|
||||||
row-key="id"
|
row-key="id"
|
||||||
:header-cell-style="{background: '#f8f8f9', color: '#515a6e'}"
|
:header-cell-style="{background: '#f8f8f9', color: '#515a6e'}"
|
||||||
>
|
>
|
||||||
<el-table-column prop="standSerialNumber" width="150" align="center" label="标准号">
|
<el-table-column prop="standSerialNumber" width="150" align="center" label="标准号">
|
||||||
<template slot-scope="scope">
|
<template slot-scope="scope">
|
||||||
<a class="table-jump" @click="handlePreview(scope.row)">{{ scope.row.standSerialNumber }}</a>
|
<a class="table-jump" @click="handlePreview(scope.row)">{{ scope.row.standSerialNumber }}</a>
|
||||||
</template>
|
</template>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<el-table-column prop="standName" width="250" align="center" label="标准名称">
|
<el-table-column prop="standName" width="250" align="center" label="标准名称">
|
||||||
<template slot-scope="scope">
|
<template slot-scope="scope">
|
||||||
<a @click="handlePreview(scope.row)" class="table-jump">{{ scope.row.standName }}</a>
|
<a class="table-jump" @click="handlePreview(scope.row)">{{ scope.row.standName }}</a>
|
||||||
</template>
|
</template>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<el-table-column prop="productName" width="250" label="项目名称" align="center" show-overflow-tooltip/>
|
<el-table-column
|
||||||
<el-table-column prop="itemsNum" label="条款号" align="center"/>
|
prop="productName"
|
||||||
<el-table-column prop="itemsName" width="200" label="条款名称" align="center"/>
|
width="250"
|
||||||
|
label="项目名称"
|
||||||
|
align="center"
|
||||||
|
show-overflow-tooltip
|
||||||
|
/>
|
||||||
|
<el-table-column prop="itemsNum" label="条款号" align="center" />
|
||||||
|
<el-table-column prop="itemsName" width="200" label="条款名称" align="center" />
|
||||||
<el-table-column prop="planCloseTime" width="120" label="整改完成时间" align="center">
|
<el-table-column prop="planCloseTime" width="120" label="整改完成时间" align="center">
|
||||||
<template slot-scope="scope">
|
<template slot-scope="scope">
|
||||||
<span>{{ scope.row.planCloseTime ? $moment(scope.row.planCloseTime).format('YYYY-MM-DD') : '' }}</span>
|
<span>{{ scope.row.planCloseTime ? $moment(scope.row.planCloseTime).format('YYYY-MM-DD') : '' }}</span>
|
||||||
</template>
|
</template>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<el-table-column prop="responsibleUnit" width="150" label="责任部门" align="center"/>
|
<el-table-column prop="responsibleUnit" width="150" label="责任部门" align="center" />
|
||||||
<el-table-column prop="dutyEngineerName" width="150" label="责任工程师" align="center"/>
|
<el-table-column prop="dutyEngineerName" width="150" label="责任工程师" align="center" />
|
||||||
<el-table-column prop="dutyPeople" width="150" label="负责人" align="center"/>
|
<el-table-column prop="dutyPeople" width="150" label="负责人" align="center" />
|
||||||
<el-table-column
|
<el-table-column
|
||||||
label="回执文件"
|
label="回执文件"
|
||||||
min-width="200"
|
min-width="200"
|
||||||
align="center">
|
align="center"
|
||||||
|
>
|
||||||
<template slot-scope="scope">
|
<template slot-scope="scope">
|
||||||
<div v-for="file in scope.row.fileText"
|
<div
|
||||||
:key="file.id"
|
v-for="file in scope.row.fileText"
|
||||||
style="color: #409eff;text-overflow: ellipsis;white-space: nowrap;overflow: hidden;"
|
:key="file.id"
|
||||||
@click="preview(file.id)"
|
style="color: #409eff;text-overflow: ellipsis;white-space: nowrap;overflow: hidden;"
|
||||||
>{{file.name}}</div>
|
@click="preview(file.id)"
|
||||||
|
>
|
||||||
|
{{ file.name }}
|
||||||
|
</div>
|
||||||
</template>
|
</template>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
</el-table>
|
</el-table>
|
||||||
</div>
|
</div>
|
||||||
<ReceiptDescription v-model="form.commentText" title="回执说明"></ReceiptDescription>
|
<ReceiptDescription v-model="form.commentText" title="回执说明" />
|
||||||
</template>
|
</template>
|
||||||
<template v-if="active === '3'">
|
<template v-if="active === '3'">
|
||||||
<PhoneHistortTable :prcNum="this.$route.query.prcNum"></PhoneHistortTable>
|
<PhoneHistortTable :prc-num="this.$route.query.prcNum" />
|
||||||
</template>
|
</template>
|
||||||
</el-form>
|
</el-form>
|
||||||
</div>
|
</div>
|
||||||
<ProcessFooter
|
<ProcessFooter
|
||||||
show-submit
|
show-submit
|
||||||
show-transfer
|
show-transfer
|
||||||
:submitLoading="footerLoading"
|
:submit-loading="footerLoading"
|
||||||
:saveLoading="footerLoading"
|
:save-loading="footerLoading"
|
||||||
@submit="handleSubmit"
|
@submit="handleSubmit"
|
||||||
@transfer="handleTransfer"
|
@transfer="handleTransfer"
|
||||||
>
|
/>
|
||||||
</ProcessFooter>
|
|
||||||
<!-- 福田全公司选人解决方案 -->
|
<!-- 福田全公司选人解决方案 -->
|
||||||
<phoneRoleTree
|
<phoneRoleTree
|
||||||
check-box
|
check-box
|
||||||
:is-title="drawerTitle"
|
:is-title="drawerTitle"
|
||||||
:is-visible.sync="drawerModal"
|
:is-visible.sync="drawerModal"
|
||||||
@checkedRole="checkedRole"
|
:node-list="nodeList"
|
||||||
:nodeList="nodeList"
|
@checkedRole="checkedRole"
|
||||||
></phoneRoleTree>
|
/>
|
||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
import {inboundLiaisonDetail, processCreateStand, changeAssigneeNew} from 'api/process'
|
import { inboundLiaisonDetail, processCreateStand, changeAssigneeNew } from 'api/process'
|
||||||
|
|
||||||
import ProcessHeaderPhone from '@/pages/processCenter/pages/components/ProcessHeaderPhone'
|
import ProcessHeaderPhone from '@/pages/processCenter/pages/components/ProcessHeaderPhone'
|
||||||
import ProcessTitle from '@/pages/processCenter/pages/components/ProcessTitle'
|
import ProcessTitle from '@/pages/processCenter/pages/components/ProcessTitle'
|
||||||
import ProcessFooter from '@/pages/processCenter/pages/components/ProcessFooter'
|
import ProcessFooter from '@/pages/processCenter/pages/components/ProcessFooter'
|
||||||
import PhoneHistortTable from '@/components/hzwlComponents/phoneComponents/phoneApprovalHistory'
|
import PhoneHistortTable from '@/components/hzwlComponents/phoneComponents/phoneApprovalHistory'
|
||||||
import ReceiptDescription from "@/components/hzwlComponents/ReceiptDescription";
|
import ReceiptDescription from '@/components/hzwlComponents/ReceiptDescription';
|
||||||
import phoneRoleTree from '@/components/hzwlComponents/phoneComponents/phoneRoleTree'
|
import phoneRoleTree from '@/components/hzwlComponents/phoneComponents/phoneRoleTree'
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
name: "step4",
|
name: 'Step4',
|
||||||
components: {
|
components: {
|
||||||
ProcessHeaderPhone,
|
ProcessHeaderPhone,
|
||||||
PhoneHistortTable,
|
PhoneHistortTable,
|
||||||
@@ -129,11 +138,11 @@ export default {
|
|||||||
nodeList: []
|
nodeList: []
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
created() {
|
created () {
|
||||||
this.getData()
|
this.getData()
|
||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
handleTabs(name) {
|
handleTabs (name) {
|
||||||
this.active = name;
|
this.active = name;
|
||||||
},
|
},
|
||||||
getData () {
|
getData () {
|
||||||
@@ -153,7 +162,7 @@ export default {
|
|||||||
} else if (this.form.dockUserList) {
|
} else if (this.form.dockUserList) {
|
||||||
this.dataList = this.form.dockUserList[0].standardInfoList
|
this.dataList = this.form.dockUserList[0].standardInfoList
|
||||||
} else {
|
} else {
|
||||||
this.dataList = [this.form.info]
|
this.dataList = [ this.form.info ]
|
||||||
}
|
}
|
||||||
|
|
||||||
this.$nextTick(() => {
|
this.$nextTick(() => {
|
||||||
@@ -187,7 +196,7 @@ export default {
|
|||||||
this.$message.success('调整成功')
|
this.$message.success('调整成功')
|
||||||
setTimeout(() => {
|
setTimeout(() => {
|
||||||
// this.$router.go(-2)
|
// this.$router.go(-2)
|
||||||
this.$close()
|
this.$close()
|
||||||
}, 100)
|
}, 100)
|
||||||
} else {
|
} else {
|
||||||
this.$message.warning(res.message)
|
this.$message.warning(res.message)
|
||||||
@@ -197,8 +206,8 @@ this.$close()
|
|||||||
})
|
})
|
||||||
},
|
},
|
||||||
// 点击查看
|
// 点击查看
|
||||||
handlePreview(item) {
|
handlePreview (item) {
|
||||||
if(item.standType ==='BUSINESS_STAND'){
|
if(item.standType === 'BUSINESS_STAND') {
|
||||||
this.$router.push({
|
this.$router.push({
|
||||||
name: 'domesticDetails',
|
name: 'domesticDetails',
|
||||||
query: {
|
query: {
|
||||||
@@ -206,7 +215,7 @@ this.$close()
|
|||||||
pageType: 'BUSS'
|
pageType: 'BUSS'
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
}else if (item.standType === 'INLAND'){
|
}else if (item.standType === 'INLAND') {
|
||||||
this.$router.push({
|
this.$router.push({
|
||||||
name: 'domesticDetails',
|
name: 'domesticDetails',
|
||||||
query: {
|
query: {
|
||||||
@@ -225,7 +234,7 @@ this.$close()
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
// 预览文件
|
// 预览文件
|
||||||
preview(fileId) {
|
preview (fileId) {
|
||||||
this.$preview(fileId)
|
this.$preview(fileId)
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -10,65 +10,64 @@
|
|||||||
</div>
|
</div>
|
||||||
<div class="content">
|
<div class="content">
|
||||||
<el-form
|
<el-form
|
||||||
v-if="reloadForm"
|
v-if="reloadForm"
|
||||||
ref="form"
|
ref="form"
|
||||||
:model="form"
|
:model="form"
|
||||||
class="label-input-form phoneForm"
|
class="label-input-form phoneForm"
|
||||||
label-width="112px"
|
label-width="112px"
|
||||||
>
|
>
|
||||||
<template v-if="active === '1'">
|
<template v-if="active === '1'">
|
||||||
<div>
|
<div>
|
||||||
<ProcessTitle>
|
<ProcessTitle>
|
||||||
<template slot="title">基础信息</template>
|
<template slot="title">基础信息</template>
|
||||||
</ProcessTitle>
|
</ProcessTitle>
|
||||||
<Basic :form="form" :dict="dict" :disabled="disabled"></Basic>
|
<Basic :form="form" :dict="dict" :disabled="disabled" />
|
||||||
<ProcessTitle>
|
<ProcessTitle>
|
||||||
<template slot="title">填写信息</template>
|
<template slot="title">填写信息</template>
|
||||||
</ProcessTitle>
|
</ProcessTitle>
|
||||||
<Info :data="form.dataList"></Info>
|
<Info :data="form.dataList" />
|
||||||
</div>
|
</div>
|
||||||
<ReceiptDescription v-model="form.commentText" title="回执说明"></ReceiptDescription>
|
<ReceiptDescription v-model="form.commentText" title="回执说明" />
|
||||||
</template>
|
</template>
|
||||||
<template v-if="active === '3'">
|
<template v-if="active === '3'">
|
||||||
<PhoneHistortTable :prcNum="this.$route.query.prcNum"></PhoneHistortTable>
|
<PhoneHistortTable :prc-num="this.$route.query.prcNum" />
|
||||||
</template>
|
</template>
|
||||||
</el-form>
|
</el-form>
|
||||||
</div>
|
</div>
|
||||||
<ProcessFooter
|
<ProcessFooter
|
||||||
show-submit
|
show-submit
|
||||||
show-transfer
|
show-transfer
|
||||||
:submitLoading="footerLoading"
|
:submit-loading="footerLoading"
|
||||||
:saveLoading="footerLoading"
|
:save-loading="footerLoading"
|
||||||
@submit="handleSubmit"
|
@submit="handleSubmit"
|
||||||
@transfer="handleTransfer"
|
@transfer="handleTransfer"
|
||||||
>
|
/>
|
||||||
</ProcessFooter>
|
|
||||||
<!-- 福田全公司选人解决方案 -->
|
<!-- 福田全公司选人解决方案 -->
|
||||||
<phoneRoleTree
|
<phoneRoleTree
|
||||||
check-box
|
check-box
|
||||||
:is-title="drawerTitle"
|
:is-title="drawerTitle"
|
||||||
:is-visible.sync="drawerModal"
|
:is-visible.sync="drawerModal"
|
||||||
@checkedRole="checkedRole"
|
:node-list="nodeList"
|
||||||
:nodeList="nodeList"
|
@checkedRole="checkedRole"
|
||||||
></phoneRoleTree>
|
/>
|
||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
import {inboundLiaisonDetail, processCreateStand, changeAssigneeNew} from 'api/process'
|
import { inboundLiaisonDetail, processCreateStand, changeAssigneeNew } from 'api/process'
|
||||||
|
|
||||||
import ProcessHeaderPhone from '@/pages/processCenter/pages/components/ProcessHeaderPhone'
|
import ProcessHeaderPhone from '@/pages/processCenter/pages/components/ProcessHeaderPhone'
|
||||||
import ProcessTitle from '@/pages/processCenter/pages/components/ProcessTitle'
|
import ProcessTitle from '@/pages/processCenter/pages/components/ProcessTitle'
|
||||||
import ProcessFooter from '@/pages/processCenter/pages/components/ProcessFooter'
|
import ProcessFooter from '@/pages/processCenter/pages/components/ProcessFooter'
|
||||||
import PhoneHistortTable from '@/components/hzwlComponents/phoneComponents/phoneApprovalHistory'
|
import PhoneHistortTable from '@/components/hzwlComponents/phoneComponents/phoneApprovalHistory'
|
||||||
import ReceiptDescription from "@/components/hzwlComponents/ReceiptDescription";
|
import ReceiptDescription from '@/components/hzwlComponents/ReceiptDescription';
|
||||||
import phoneRoleTree from '@/components/hzwlComponents/phoneComponents/phoneRoleTree'
|
import phoneRoleTree from '@/components/hzwlComponents/phoneComponents/phoneRoleTree'
|
||||||
|
|
||||||
import Basic from "./components/Basic";
|
import Basic from './components/Basic';
|
||||||
import Info from './components/Info'
|
import Info from './components/Info'
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
name: "step2",
|
name: 'Step2',
|
||||||
components: {
|
components: {
|
||||||
ProcessHeaderPhone,
|
ProcessHeaderPhone,
|
||||||
PhoneHistortTable,
|
PhoneHistortTable,
|
||||||
@@ -95,11 +94,11 @@ export default {
|
|||||||
nodeList: []
|
nodeList: []
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
created() {
|
created () {
|
||||||
this.getData()
|
this.getData()
|
||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
handleTabs(name) {
|
handleTabs (name) {
|
||||||
this.active = name;
|
this.active = name;
|
||||||
},
|
},
|
||||||
getData () {
|
getData () {
|
||||||
@@ -146,7 +145,7 @@ export default {
|
|||||||
this.$message.success('调整成功')
|
this.$message.success('调整成功')
|
||||||
setTimeout(() => {
|
setTimeout(() => {
|
||||||
// this.$router.go(-2)
|
// this.$router.go(-2)
|
||||||
this.$close()
|
this.$close()
|
||||||
}, 100)
|
}, 100)
|
||||||
} else {
|
} else {
|
||||||
this.$message.warning(res.message)
|
this.$message.warning(res.message)
|
||||||
|
|||||||
@@ -10,65 +10,64 @@
|
|||||||
</div>
|
</div>
|
||||||
<div class="content">
|
<div class="content">
|
||||||
<el-form
|
<el-form
|
||||||
v-if="reloadForm"
|
v-if="reloadForm"
|
||||||
ref="form"
|
ref="form"
|
||||||
:model="form"
|
:model="form"
|
||||||
class="label-input-form phoneForm"
|
class="label-input-form phoneForm"
|
||||||
label-width="112px"
|
label-width="112px"
|
||||||
>
|
>
|
||||||
<template v-if="active === '1'">
|
<template v-if="active === '1'">
|
||||||
<div>
|
<div>
|
||||||
<ProcessTitle>
|
<ProcessTitle>
|
||||||
<template slot="title">基础信息</template>
|
<template slot="title">基础信息</template>
|
||||||
</ProcessTitle>
|
</ProcessTitle>
|
||||||
<Basic :form="form" :dict="dict" :disabled="disabled"></Basic>
|
<Basic :form="form" :dict="dict" :disabled="disabled" />
|
||||||
<ProcessTitle>
|
<ProcessTitle>
|
||||||
<template slot="title">填写信息</template>
|
<template slot="title">填写信息</template>
|
||||||
</ProcessTitle>
|
</ProcessTitle>
|
||||||
<Info :data="form.dataList"></Info>
|
<Info :data="form.dataList" />
|
||||||
</div>
|
</div>
|
||||||
<ReceiptDescription v-model="form.commentText" title="回执说明"></ReceiptDescription>
|
<ReceiptDescription v-model="form.commentText" title="回执说明" />
|
||||||
</template>
|
</template>
|
||||||
<template v-if="active === '3'">
|
<template v-if="active === '3'">
|
||||||
<PhoneHistortTable :prcNum="this.$route.query.prcNum"></PhoneHistortTable>
|
<PhoneHistortTable :prc-num="this.$route.query.prcNum" />
|
||||||
</template>
|
</template>
|
||||||
</el-form>
|
</el-form>
|
||||||
</div>
|
</div>
|
||||||
<ProcessFooter
|
<ProcessFooter
|
||||||
show-submit
|
show-submit
|
||||||
show-transfer
|
show-transfer
|
||||||
:submitLoading="footerLoading"
|
:submit-loading="footerLoading"
|
||||||
:saveLoading="footerLoading"
|
:save-loading="footerLoading"
|
||||||
@submit="handleSubmit"
|
@submit="handleSubmit"
|
||||||
@transfer="handleTransfer"
|
@transfer="handleTransfer"
|
||||||
>
|
/>
|
||||||
</ProcessFooter>
|
|
||||||
<!-- 福田全公司选人解决方案 -->
|
<!-- 福田全公司选人解决方案 -->
|
||||||
<phoneRoleTree
|
<phoneRoleTree
|
||||||
check-box
|
check-box
|
||||||
:is-title="drawerTitle"
|
:is-title="drawerTitle"
|
||||||
:is-visible.sync="drawerModal"
|
:is-visible.sync="drawerModal"
|
||||||
@checkedRole="checkedRole"
|
:node-list="nodeList"
|
||||||
:nodeList="nodeList"
|
@checkedRole="checkedRole"
|
||||||
></phoneRoleTree>
|
/>
|
||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
import {inboundLiaisonDetail, processCreateStand, changeAssigneeNew} from 'api/process'
|
import { inboundLiaisonDetail, processCreateStand, changeAssigneeNew } from 'api/process'
|
||||||
|
|
||||||
import ProcessHeaderPhone from '@/pages/processCenter/pages/components/ProcessHeaderPhone'
|
import ProcessHeaderPhone from '@/pages/processCenter/pages/components/ProcessHeaderPhone'
|
||||||
import ProcessTitle from '@/pages/processCenter/pages/components/ProcessTitle'
|
import ProcessTitle from '@/pages/processCenter/pages/components/ProcessTitle'
|
||||||
import ProcessFooter from '@/pages/processCenter/pages/components/ProcessFooter'
|
import ProcessFooter from '@/pages/processCenter/pages/components/ProcessFooter'
|
||||||
import PhoneHistortTable from '@/components/hzwlComponents/phoneComponents/phoneApprovalHistory'
|
import PhoneHistortTable from '@/components/hzwlComponents/phoneComponents/phoneApprovalHistory'
|
||||||
import ReceiptDescription from "@/components/hzwlComponents/ReceiptDescription";
|
import ReceiptDescription from '@/components/hzwlComponents/ReceiptDescription';
|
||||||
import phoneRoleTree from '@/components/hzwlComponents/phoneComponents/phoneRoleTree'
|
import phoneRoleTree from '@/components/hzwlComponents/phoneComponents/phoneRoleTree'
|
||||||
|
|
||||||
import Basic from "./components/Basic";
|
import Basic from './components/Basic';
|
||||||
import Info from './components/Info'
|
import Info from './components/Info'
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
name: "step2",
|
name: 'Step2',
|
||||||
components: {
|
components: {
|
||||||
ProcessHeaderPhone,
|
ProcessHeaderPhone,
|
||||||
PhoneHistortTable,
|
PhoneHistortTable,
|
||||||
@@ -95,11 +94,11 @@ export default {
|
|||||||
nodeList: []
|
nodeList: []
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
created() {
|
created () {
|
||||||
this.getData()
|
this.getData()
|
||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
handleTabs(name) {
|
handleTabs (name) {
|
||||||
this.active = name;
|
this.active = name;
|
||||||
},
|
},
|
||||||
getData () {
|
getData () {
|
||||||
@@ -146,7 +145,7 @@ export default {
|
|||||||
this.$message.success('调整成功')
|
this.$message.success('调整成功')
|
||||||
setTimeout(() => {
|
setTimeout(() => {
|
||||||
// this.$router.go(-2)
|
// this.$router.go(-2)
|
||||||
this.$close()
|
this.$close()
|
||||||
}, 100)
|
}, 100)
|
||||||
} else {
|
} else {
|
||||||
this.$message.warning(res.message)
|
this.$message.warning(res.message)
|
||||||
|
|||||||
@@ -10,65 +10,64 @@
|
|||||||
</div>
|
</div>
|
||||||
<div class="content">
|
<div class="content">
|
||||||
<el-form
|
<el-form
|
||||||
v-if="reloadForm"
|
v-if="reloadForm"
|
||||||
ref="form"
|
ref="form"
|
||||||
:model="form"
|
:model="form"
|
||||||
class="label-input-form phoneForm"
|
class="label-input-form phoneForm"
|
||||||
label-width="112px"
|
label-width="112px"
|
||||||
>
|
>
|
||||||
<template v-if="active === '1'">
|
<template v-if="active === '1'">
|
||||||
<div>
|
<div>
|
||||||
<ProcessTitle>
|
<ProcessTitle>
|
||||||
<template slot="title">基础信息</template>
|
<template slot="title">基础信息</template>
|
||||||
</ProcessTitle>
|
</ProcessTitle>
|
||||||
<Basic :form="form" :dict="dict" :disabled="disabled"></Basic>
|
<Basic :form="form" :dict="dict" :disabled="disabled" />
|
||||||
<ProcessTitle>
|
<ProcessTitle>
|
||||||
<template slot="title">填写信息</template>
|
<template slot="title">填写信息</template>
|
||||||
</ProcessTitle>
|
</ProcessTitle>
|
||||||
<Info :data="form.dataList" :textStatusMap="textStatusMap"></Info>
|
<Info :data="form.dataList" :text-status-map="textStatusMap" />
|
||||||
</div>
|
</div>
|
||||||
<ReceiptDescription v-model="form.commentText" title="回执说明"></ReceiptDescription>
|
<ReceiptDescription v-model="form.commentText" title="回执说明" />
|
||||||
</template>
|
</template>
|
||||||
<template v-if="active === '3'">
|
<template v-if="active === '3'">
|
||||||
<PhoneHistortTable :prcNum="this.$route.query.prcNum"></PhoneHistortTable>
|
<PhoneHistortTable :prc-num="this.$route.query.prcNum" />
|
||||||
</template>
|
</template>
|
||||||
</el-form>
|
</el-form>
|
||||||
</div>
|
</div>
|
||||||
<ProcessFooter
|
<ProcessFooter
|
||||||
show-submit
|
show-submit
|
||||||
show-transfer
|
show-transfer
|
||||||
:submitLoading="footerLoading"
|
:submit-loading="footerLoading"
|
||||||
:saveLoading="footerLoading"
|
:save-loading="footerLoading"
|
||||||
@submit="handleSubmit"
|
@submit="handleSubmit"
|
||||||
@transfer="handleTransfer"
|
@transfer="handleTransfer"
|
||||||
>
|
/>
|
||||||
</ProcessFooter>
|
|
||||||
<!-- 福田全公司选人解决方案 -->
|
<!-- 福田全公司选人解决方案 -->
|
||||||
<phoneRoleTree
|
<phoneRoleTree
|
||||||
check-box
|
check-box
|
||||||
:is-title="drawerTitle"
|
:is-title="drawerTitle"
|
||||||
:is-visible.sync="drawerModal"
|
:is-visible.sync="drawerModal"
|
||||||
@checkedRole="checkedRole"
|
:node-list="nodeList"
|
||||||
:nodeList="nodeList"
|
@checkedRole="checkedRole"
|
||||||
></phoneRoleTree>
|
/>
|
||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
import {inboundLiaisonDetail, processCreateStand, changeAssigneeNew} from 'api/process'
|
import { inboundLiaisonDetail, processCreateStand, changeAssigneeNew } from 'api/process'
|
||||||
|
|
||||||
import ProcessHeaderPhone from '@/pages/processCenter/pages/components/ProcessHeaderPhone'
|
import ProcessHeaderPhone from '@/pages/processCenter/pages/components/ProcessHeaderPhone'
|
||||||
import ProcessTitle from '@/pages/processCenter/pages/components/ProcessTitle'
|
import ProcessTitle from '@/pages/processCenter/pages/components/ProcessTitle'
|
||||||
import ProcessFooter from '@/pages/processCenter/pages/components/ProcessFooter'
|
import ProcessFooter from '@/pages/processCenter/pages/components/ProcessFooter'
|
||||||
import PhoneHistortTable from '@/components/hzwlComponents/phoneComponents/phoneApprovalHistory'
|
import PhoneHistortTable from '@/components/hzwlComponents/phoneComponents/phoneApprovalHistory'
|
||||||
import ReceiptDescription from "@/components/hzwlComponents/ReceiptDescription";
|
import ReceiptDescription from '@/components/hzwlComponents/ReceiptDescription';
|
||||||
import phoneRoleTree from '@/components/hzwlComponents/phoneComponents/phoneRoleTree'
|
import phoneRoleTree from '@/components/hzwlComponents/phoneComponents/phoneRoleTree'
|
||||||
|
|
||||||
import Basic from "./components/Basic";
|
import Basic from './components/Basic';
|
||||||
import Info from './components/Info'
|
import Info from './components/Info'
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
name: "step2",
|
name: 'Step2',
|
||||||
components: {
|
components: {
|
||||||
ProcessHeaderPhone,
|
ProcessHeaderPhone,
|
||||||
PhoneHistortTable,
|
PhoneHistortTable,
|
||||||
@@ -96,12 +95,12 @@ export default {
|
|||||||
nodeList: []
|
nodeList: []
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
created() {
|
created () {
|
||||||
this.getDicTypeListCode()
|
this.getDicTypeListCode()
|
||||||
this.getData()
|
this.getData()
|
||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
handleTabs(name) {
|
handleTabs (name) {
|
||||||
this.active = name;
|
this.active = name;
|
||||||
},
|
},
|
||||||
getData () {
|
getData () {
|
||||||
@@ -148,7 +147,7 @@ export default {
|
|||||||
this.$message.success('调整成功')
|
this.$message.success('调整成功')
|
||||||
setTimeout(() => {
|
setTimeout(() => {
|
||||||
// this.$router.go(-2)
|
// this.$router.go(-2)
|
||||||
this.$close()
|
this.$close()
|
||||||
}, 100)
|
}, 100)
|
||||||
} else {
|
} else {
|
||||||
this.$message.warning(res.message)
|
this.$message.warning(res.message)
|
||||||
@@ -161,7 +160,7 @@ this.$close()
|
|||||||
this.$http._getData('sys/dictype/getDicTypeListCode').then(res => {
|
this.$http._getData('sys/dictype/getDicTypeListCode').then(res => {
|
||||||
this.dict = { ...res.data }
|
this.dict = { ...res.data }
|
||||||
|
|
||||||
this.textStatusMap = [...this.dict.WBZTCLASS, ...this.dict.TEXTSTATUSBUSS, ...this.dict.ZRBMCLASS]
|
this.textStatusMap = [ ...this.dict.WBZTCLASS, ...this.dict.TEXTSTATUSBUSS, ...this.dict.ZRBMCLASS ]
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -10,65 +10,64 @@
|
|||||||
</div>
|
</div>
|
||||||
<div class="content">
|
<div class="content">
|
||||||
<el-form
|
<el-form
|
||||||
v-if="reloadForm"
|
v-if="reloadForm"
|
||||||
ref="form"
|
ref="form"
|
||||||
:model="form"
|
:model="form"
|
||||||
class="label-input-form phoneForm"
|
class="label-input-form phoneForm"
|
||||||
label-width="112px"
|
label-width="112px"
|
||||||
>
|
>
|
||||||
<template v-if="active === '1'">
|
<template v-if="active === '1'">
|
||||||
<div>
|
<div>
|
||||||
<ProcessTitle>
|
<ProcessTitle>
|
||||||
<template slot="title">基础信息</template>
|
<template slot="title">基础信息</template>
|
||||||
</ProcessTitle>
|
</ProcessTitle>
|
||||||
<Basic :form="form" :dict="dict" :disabled="disabled"></Basic>
|
<Basic :form="form" :dict="dict" :disabled="disabled" />
|
||||||
<ProcessTitle>
|
<ProcessTitle>
|
||||||
<template slot="title">填写信息</template>
|
<template slot="title">填写信息</template>
|
||||||
</ProcessTitle>
|
</ProcessTitle>
|
||||||
<Info :data="form.dataList" :textStatusMap="textStatusMap"></Info>
|
<Info :data="form.dataList" :text-status-map="textStatusMap" />
|
||||||
</div>
|
</div>
|
||||||
<ReceiptDescription v-model="form.commentText" title="回执说明"></ReceiptDescription>
|
<ReceiptDescription v-model="form.commentText" title="回执说明" />
|
||||||
</template>
|
</template>
|
||||||
<template v-if="active === '3'">
|
<template v-if="active === '3'">
|
||||||
<PhoneHistortTable :prcNum="this.$route.query.prcNum"></PhoneHistortTable>
|
<PhoneHistortTable :prc-num="this.$route.query.prcNum" />
|
||||||
</template>
|
</template>
|
||||||
</el-form>
|
</el-form>
|
||||||
</div>
|
</div>
|
||||||
<ProcessFooter
|
<ProcessFooter
|
||||||
show-submit
|
show-submit
|
||||||
show-transfer
|
show-transfer
|
||||||
:submitLoading="footerLoading"
|
:submit-loading="footerLoading"
|
||||||
:saveLoading="footerLoading"
|
:save-loading="footerLoading"
|
||||||
@submit="handleSubmit"
|
@submit="handleSubmit"
|
||||||
@transfer="handleTransfer"
|
@transfer="handleTransfer"
|
||||||
>
|
/>
|
||||||
</ProcessFooter>
|
|
||||||
<!-- 福田全公司选人解决方案 -->
|
<!-- 福田全公司选人解决方案 -->
|
||||||
<phoneRoleTree
|
<phoneRoleTree
|
||||||
check-box
|
check-box
|
||||||
:is-title="drawerTitle"
|
:is-title="drawerTitle"
|
||||||
:is-visible.sync="drawerModal"
|
:is-visible.sync="drawerModal"
|
||||||
@checkedRole="checkedRole"
|
:node-list="nodeList"
|
||||||
:nodeList="nodeList"
|
@checkedRole="checkedRole"
|
||||||
></phoneRoleTree>
|
/>
|
||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
import {inboundLiaisonDetail, processCreateStand, changeAssigneeNew} from 'api/process'
|
import { inboundLiaisonDetail, processCreateStand, changeAssigneeNew } from 'api/process'
|
||||||
|
|
||||||
import ProcessHeaderPhone from '@/pages/processCenter/pages/components/ProcessHeaderPhone'
|
import ProcessHeaderPhone from '@/pages/processCenter/pages/components/ProcessHeaderPhone'
|
||||||
import ProcessTitle from '@/pages/processCenter/pages/components/ProcessTitle'
|
import ProcessTitle from '@/pages/processCenter/pages/components/ProcessTitle'
|
||||||
import ProcessFooter from '@/pages/processCenter/pages/components/ProcessFooter'
|
import ProcessFooter from '@/pages/processCenter/pages/components/ProcessFooter'
|
||||||
import PhoneHistortTable from '@/components/hzwlComponents/phoneComponents/phoneApprovalHistory'
|
import PhoneHistortTable from '@/components/hzwlComponents/phoneComponents/phoneApprovalHistory'
|
||||||
import ReceiptDescription from "@/components/hzwlComponents/ReceiptDescription";
|
import ReceiptDescription from '@/components/hzwlComponents/ReceiptDescription';
|
||||||
import phoneRoleTree from '@/components/hzwlComponents/phoneComponents/phoneRoleTree'
|
import phoneRoleTree from '@/components/hzwlComponents/phoneComponents/phoneRoleTree'
|
||||||
|
|
||||||
import Basic from "./components/Basic";
|
import Basic from './components/Basic';
|
||||||
import Info from './components/Info'
|
import Info from './components/Info'
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
name: "step2",
|
name: 'Step2',
|
||||||
components: {
|
components: {
|
||||||
ProcessHeaderPhone,
|
ProcessHeaderPhone,
|
||||||
PhoneHistortTable,
|
PhoneHistortTable,
|
||||||
@@ -96,12 +95,12 @@ export default {
|
|||||||
nodeList: []
|
nodeList: []
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
created() {
|
created () {
|
||||||
this.getDicTypeListCode()
|
this.getDicTypeListCode()
|
||||||
this.getData()
|
this.getData()
|
||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
handleTabs(name) {
|
handleTabs (name) {
|
||||||
this.active = name;
|
this.active = name;
|
||||||
},
|
},
|
||||||
getData () {
|
getData () {
|
||||||
@@ -148,7 +147,7 @@ export default {
|
|||||||
this.$message.success('调整成功')
|
this.$message.success('调整成功')
|
||||||
setTimeout(() => {
|
setTimeout(() => {
|
||||||
// this.$router.go(-2)
|
// this.$router.go(-2)
|
||||||
this.$close()
|
this.$close()
|
||||||
}, 100)
|
}, 100)
|
||||||
} else {
|
} else {
|
||||||
this.$message.warning(res.message)
|
this.$message.warning(res.message)
|
||||||
@@ -160,8 +159,8 @@ this.$close()
|
|||||||
getDicTypeListCode () {
|
getDicTypeListCode () {
|
||||||
this.$http._getData('sys/dictype/getDicTypeListCode').then(res => {
|
this.$http._getData('sys/dictype/getDicTypeListCode').then(res => {
|
||||||
this.dict = { ...res.data }
|
this.dict = { ...res.data }
|
||||||
const textStatusMap = [...this.dict.WBZTCLASS, ...this.dict.TEXTSTATUSBUSS, ...this.dict.ZRBMCLASS]
|
const textStatusMap = [ ...this.dict.WBZTCLASS, ...this.dict.TEXTSTATUSBUSS, ...this.dict.ZRBMCLASS ]
|
||||||
this.textStatusMap = [...textStatusMap]
|
this.textStatusMap = [ ...textStatusMap ]
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user