@ -1,83 +1,151 @@
< template >
< template >
< section class = "padding" >
< el -row class = "page-main" >
<!-- 编辑界面 XmTaskSbill 任务结算表 -- >
< el -form :model ="editForm" label -width = " 120px " :rules ="editFormRules" ref = "editFormRef" >
< el -row >
< el -col :span ="8" >
< el -form -item label = "编号/标题" prop = "id" >
< el -input v -model = " editForm.id " placeholder = "结算单据编号" disabled > < / e l - i n p u t >
< / e l - f o r m - i t e m >
< / e l - c o l >
< el -col :span ="16" >
< el -form -item label = "" prop = "title" : rules = "[{ required: true, message: '结算单标题不能为空'}]" label -width = " 0px " >
< el -input v-model ="editForm.title" placeholder="结算单标题" > < / el -input >
< / e l - f o r m - i t e m >
< / e l - c o l >
< / e l - r o w >
< el -row >
< el -col :span ="8" >
< el -form -item label = "审核状态" prop = "id" >
< el -tag v-for ="(item,index) in formatDictsWithClass(dicts,'bizFlowState',editForm.bizFlowState)" :key="index" :type="item.className" > {{ item.name }} < / el -tag >
< / e l - f o r m - i t e m >
< / e l - c o l >
< el -col :span ="16" >
< el -form -item label = "结算项目" prop = "projectId" >
<!-- < el -button v -if = " ! editForm.projectId " type = "primary" @click ="projSelVisible=true" round > 选择项目 < / e l - b u t t o n > - - >
< div v-if ="!editForm.projectId" >
< xm -project -select style = "display:inline;" :auto-select ="false" @row-click ="onProjectRowClick(arguments)" @clear ="onProjectClear" > < / x m - p r o j e c t - s e l e c t >
< / div >
< span v-else > {{ editForm.projectId }} & nbsp ; {{ editForm.projectName }} < / span >
< / e l - f o r m - i t e m >
< / e l - c o l >
< / e l - r o w >
< el -row >
< el -col :span ="8" >
< el -form -item label = "结算金额" prop = "amt" >
¥ { { editForm . amt } } 元
< / e l - f o r m - i t e m >
< / e l - c o l >
< el -col :span ="8" >
< el -form -item label = "提交时间" prop = "ctime" >
< el -date -picker type = "date" placeholder = "选择日期" v-model ="editForm.ctime" value-format="yyyy-MM-dd HH:mm:ss" format="yyyy-MM-dd" > < / el -date -picker >
< / e l - f o r m - i t e m >
< / e l - c o l >
< el -col :span ="8" >
< el -form -item label = "提交人" prop = "cusername" >
< el -input v-model ="editForm.cusername" placeholder="创建人姓名" > < / el -input >
< / e l - f o r m - i t e m >
< / e l - c o l >
< / e l - r o w >
< el -form -item label = "备注:" prop = "remark" >
< el -input v -model = " editForm.remark " type = "textarea" : autosize = "{ minRows: 3}" placeholder = "请输入备注" maxlength = "200" show -word -limit > < / e l - i n p u t >
< / e l - f o r m - i t e m >
< el -tabs value = "1" accordion >
< el -tab -pane label = "结算清单" name = "1" v-if ="opType==='edit'" >
< el -row v-if ="editForm.id" >
< xm -task -sbill -detail -mng :sbill-id ="editForm.id" > < / x m - t a s k - s b i l l - d e t a i l - m n g >
< / e l - r o w >
< / e l - t a b - p a n e >
< el -tab -pane label = "审批流" name = "2" v-if ="opType==='edit'" >
< el -row v-if ="editForm.id" >
< task -mng ref = "currFlow" :biz-parent-pkid ="editForm.projectId" :biz-pkid ="editForm.id" @submit ="afterFlowSubmit" > < / task -mng >
< / e l - r o w >
< / e l - t a b - p a n e >
< el -tab -pane label = "历史审批流" name = "3" v-if ="opType==='edit'" >
< el -row v-if ="editForm.id" >
< procinst -mng ref = "hisFlow" isAll = "true" :biz-parent-pkid ="editForm.projectId" :biz-pkid ="editForm.id" > < / p r o c i n s t - m n g >
< / e l - r o w >
< / e l - t a b - p a n e >
< / e l - t a b s >
< el -form -item v-if ="opType==='add'" >
< el -button @click.native ="handleCancel" > 取消 < / e l - b u t t o n >
< el -button v-loading ="load.edit" type="primary" @click.native="saveSubmit" :disabled="load.edit==true" > 提交 < / el -button >
< / e l - f o r m - i t e m >
<!-- < el -form -item label = "机构编号" prop = "branchId" >
< section class = "padding" >
< el -row class = "page-main" >
<!-- 编辑界面 XmTaskSbill 任务结算表 -- >
< el -form
: model = "editForm"
label - width = "120px"
: rules = "editFormRules"
ref = "editFormRef"
>
< el -row >
< el -col :span ="8" >
< el -form -item label = "编号/标题" prop = "id" >
< el -input
v - model = "editForm.id"
placeholder = "结算单据编号"
disabled
> < / e l - i n p u t >
< / e l - f o r m - i t e m >
< / e l - c o l >
< el -col :span ="16" >
< el -form -item
label = ""
prop = "title"
: rules = "[{ required: true, message: '结算单标题不能为空' }]"
label - width = "0px"
>
< el -input
v - model = "editForm.title"
placeholder = "结算单标题"
> < / e l - i n p u t >
< / e l - f o r m - i t e m >
< / e l - c o l >
< / e l - r o w >
< el -row >
< el -col :span ="8" >
< el -form -item label = "审核状态" prop = "id" >
< el -tag
v - for = " ( item , index ) in formatDictsWithClass (
dicts ,
'bizFlowState' ,
editForm . bizFlowState
) "
: key = "index"
: type = "item.className"
> { { item . name } } < / e l - t a g
>
< / e l - f o r m - i t e m >
< / e l - c o l >
< el -col :span ="16" >
< el -form -item label = "结算项目" prop = "projectId" >
<!-- < el -button v -if = " ! editForm.projectId " type = "primary" @click ="projSelVisible=true" round > 选择项目 < / e l - b u t t o n > - - >
< div v-if ="!editForm.projectId" >
< xm -project -select
style = "display: inline"
: auto - select = "false"
@ row - click = "onProjectRowClick(arguments)"
@ clear = "onProjectClear"
> < / x m - p r o j e c t - s e l e c t >
< / div >
< span v -else
> { { editForm . projectId } } & nbsp ; { { editForm . projectName } } < / s p a n
>
< / e l - f o r m - i t e m >
< / e l - c o l >
< / e l - r o w >
< el -tabs v-model ="activateName" >
< el -tab -pane label = "基础信息" name = "10" >
< el -row >
< el -col :span ="8" >
< el -form -item label = "结算金额" prop = "amt" >
¥ { { editForm . amt } } 元
< / e l - f o r m - i t e m >
< / e l - c o l >
< el -col :span ="8" >
< el -form -item label = "提交时间" prop = "ctime" >
< el -date -picker
type = "date"
placeholder = "选择日期"
v - model = "editForm.ctime"
value - format = "yyyy-MM-dd HH:mm:ss"
format = "yyyy-MM-dd"
> < / e l - d a t e - p i c k e r >
< / e l - f o r m - i t e m >
< / e l - c o l >
< el -col :span ="8" >
< el -form -item label = "提交人" prop = "cusername" >
< el -input
v - model = "editForm.cusername"
placeholder = "创建人姓名"
> < / e l - i n p u t >
< / e l - f o r m - i t e m >
< / e l - c o l >
< / e l - r o w >
< el -form -item label = "备注:" prop = "remark" >
< el -input
v - model = "editForm.remark"
type = "textarea"
: autosize = "{ minRows: 3 }"
placeholder = "请输入备注"
maxlength = "200"
show - word - limit
> < / e l - i n p u t >
< / e l - f o r m - i t e m >
< el -form -item >
< el -button @click.native ="handleCancel" > 取消 < / e l - b u t t o n >
< el -button
v - loading = "load.edit"
type = "primary"
@ click . native = "saveSubmit"
: disabled = "load.edit == true"
> 提交 < / e l - b u t t o n
>
< / e l - f o r m - i t e m >
< / e l - t a b - p a n e >
< el -tab -pane label = "结算清单" name = "1" v-if ="opType === 'edit'" >
< el -row v-if ="editForm.id &&activateName=='1'" >
< xm -task -sbill -detail -mng
: sbill - id = "editForm.id"
> < / x m - t a s k - s b i l l - d e t a i l - m n g >
< / e l - r o w >
< / e l - t a b - p a n e >
< el -tab -pane label = "审批流" name = "2" v-if ="opType === 'edit'" >
< el -row v-if ="editForm.id &&activateName=='2'" >
< task -mng
ref = "currFlow"
: biz - parent - pkid = "editForm.projectId"
: biz - pkid = "editForm.id"
@ submit = "afterFlowSubmit"
>
< / t a s k - m n g >
< / e l - r o w >
< / e l - t a b - p a n e >
< el -tab -pane label = "历史审批流" name = "3" v-if ="opType === 'edit'" >
< el -row v-if ="editForm.id &&activateName=='3'" >
< procinst -mng
ref = "hisFlow"
isAll = "true"
: biz - parent - pkid = "editForm.projectId"
: biz - pkid = "editForm.id"
> < / p r o c i n s t - m n g >
< / e l - r o w >
< / e l - t a b - p a n e >
< / e l - t a b s >
<!-- < el -form -item label = "机构编号" prop = "branchId" >
< el -input v-model ="editForm.branchId" placeholder="机构编号" > < / el -input >
< el -input v-model ="editForm.branchId" placeholder="机构编号" > < / el -input >
< / e l - f o r m - i t e m >
< / e l - f o r m - i t e m >
< el -form -item label = "部门编号" prop = "deptid" >
< el -form -item label = "部门编号" prop = "deptid" >
@ -113,170 +181,229 @@
< el -form -item label = "最后审核意见" prop = "fmsg" >
< el -form -item label = "最后审核意见" prop = "fmsg" >
< el -input v-model ="editForm.fmsg" placeholder="最后审核意见" > < / el -input >
< el -input v-model ="editForm.fmsg" placeholder="最后审核意见" > < / el -input >
< / e l - f o r m - i t e m > - - >
< / e l - f o r m - i t e m > - - >
< / e l - f o r m >
< / e l - r o w >
< / e l - f o r m >
< / e l - r o w >
<!-- 新增 XmTaskSbill 任务结算表界面 -- >
<!-- 新增 XmTaskSbill 任务结算表界面 -- >
< el -drawer title = "选择项目" :visible.sync ="projSelVisible" size = "50%" append -to -body :close-on-click-modal ="false" >
< select -xm -project :visible ="projSelVisible" @select ="afterProjectSelect" > < / select -xm -project >
< el -drawer
title = "选择项目"
: visible . sync = "projSelVisible"
size = "50%"
append - to - body
: close - on - click - modal = "false"
>
< select -xm -project
: visible = "projSelVisible"
@ select = "afterProjectSelect"
> < / s e l e c t - x m - p r o j e c t >
< / e l - d r a w e r >
< / e l - d r a w e r >
< / section >
< / section >
< / template >
< / template >
< script >
< script >
import util from '@/common/js/util' ; / / 全 局 公 共 库
import { getDicts , initSimpleDicts , initComplexDicts } from '@/api/mdp/meta/item' ; / / 字 典 表
import { addXmTaskSbill , editXmTaskSbill } from '@/api/xm/core/xmTaskSbill' ;
import { mapGetters } from 'vuex' ;
/ / i m p o r t S e l e c t X m P r o j e c t f r o m " . / S e l e c t X m P r o j e c t " ;
import XmProjectSelect from "@/views/xm/core/components/XmProjectSelect" ;
import XmTaskSbillDetailMng from "@/views/xm/core/xmTaskSbillDetail/XmTaskSbillDetailMng" ;
import util from "@/common/js/util" ; / / 全 局 公 共 库
import {
getDicts ,
initSimpleDicts ,
initComplexDicts ,
} from "@/api/mdp/meta/item" ; / / 字 典 表
import { addXmTaskSbill , editXmTaskSbill } from "@/api/xm/core/xmTaskSbill" ;
import { mapGetters } from "vuex" ;
/ / i m p o r t S e l e c t X m P r o j e c t f r o m " . / S e l e c t X m P r o j e c t " ;
import XmProjectSelect from "@/views/xm/core/components/XmProjectSelect" ;
import XmTaskSbillDetailMng from "@/views/xm/core/xmTaskSbillDetail/XmTaskSbillDetailMng" ;
import TaskMng from '@/views/mdp/workflow/ru/task/TaskMng' ;
import ProcinstMng from '@/views//mdp/workflow/hi/procinst/ProcinstMng' ;
import TaskMng from "@/views/mdp/workflow/ru/task/TaskMng" ;
import ProcinstMng from "@/views//mdp/workflow/hi/procinst/ProcinstMng" ;
export default {
components : {
/ / X m T a s k S b i l l E d i t ,
/ / S e l e c t X m P r o j e c t ,
XmProjectSelect , XmTaskSbillDetailMng , TaskMng , ProcinstMng
export default {
components : {
/ / X m T a s k S b i l l E d i t ,
/ / S e l e c t X m P r o j e c t ,
XmProjectSelect ,
XmTaskSbillDetailMng ,
TaskMng ,
ProcinstMng ,
} ,
computed : {
... mapGetters ( [ "userInfo" ] ) ,
} ,
props : [ "xmTaskSbill" , "visible" , "opType" ] ,
watch : {
xmTaskSbill : function ( xmTaskSbill ) {
if ( xmTaskSbill ) {
this . editForm = xmTaskSbill ;
}
} ,
} ,
computed : {
... mapGetters ( [ 'userInfo' ] ) ,
} ,
props : [ 'xmTaskSbill' , 'visible' , 'opType' ] ,
watch : {
'xmTaskSbill' : function ( xmTaskSbill ) {
if ( xmTaskSbill ) {
this . editForm = xmTaskSbill ;
}
} ,
'visible' : function ( visible ) {
if ( visible == true ) {
/ / 从 新 打 开 页 面 时 某 些 数 据 需 要 重 新 加 载 , 可 以 在 这 里 添 加
this . initData ( ) ;
}
}
} ,
data ( ) {
return {
currOpType : 'add' , / / a d d / e d i t
load : { list : false , edit : false , del : false , add : false } , / / 查 询 中 . . .
dicts : { } , / / 下 拉 选 择 框 的 所 有 静 态 数 据 p a r a m s = { c a t e g o r y I d : ' a l l ' , i t e m C o d e s : [ ' s e x ' ] } 返 回 结 果 { s e x : [ { i d : ' 1 ' , n a m e : ' 男 ' } , { i d : ' 2 ' , n a m e : ' 女 ' } ] }
editFormRules : {
id : [
/ / { r e q u i r e d : t r u e , m e s s a g e : ' 结 算 单 据 编 号 不 能 为 空 ' , t r i g g e r : ' b l u r ' }
]
} ,
visible : function ( visible ) {
if ( visible == true ) {
/ / 从 新 打 开 页 面 时 某 些 数 据 需 要 重 新 加 载 , 可 以 在 这 里 添 加
this . initData ( ) ;
}
} ,
} ,
data ( ) {
return {
currOpType : "add" , / / a d d / e d i t
load : { list : false , edit : false , del : false , add : false } , / / 查 询 中 . . .
dicts : { } , / / 下 拉 选 择 框 的 所 有 静 态 数 据 p a r a m s = { c a t e g o r y I d : ' a l l ' , i t e m C o d e s : [ ' s e x ' ] } 返 回 结 果 { s e x : [ { i d : ' 1 ' , n a m e : ' 男 ' } , { i d : ' 2 ' , n a m e : ' 女 ' } ] }
editFormRules : {
id : [
/ / { r e q u i r e d : t r u e , m e s s a g e : ' 结 算 单 据 编 号 不 能 为 空 ' , t r i g g e r : ' b l u r ' }
] ,
} ,
/ / 编 辑 界 面 数 据 X m T a s k S b i l l 任 务 结 算 表
editForm : {
id : '' , title : '' , amt : '' , ctime : '' , cuserid : '' , cusername : '' , remark : '' , branchId : '' , deptid : '' , cpId : '' , cpName : '' , workload : '' , bizMonth : '' , bizDate : '' , bizFlowState : '' , bizProcInstId : '' , ltime : '' , status : '' , fmsg : '' , projectId : '' , projectName : ''
} ,
/**begin 在下面加自定义属性,记得补上面的一个逗号**/
projSelVisible : false ,
} / / e n d r e t u r n
} , / / e n d d a t a
methods : {
... util ,
/ / 取 消 按 钮 点 击 父 组 件 监 听 @ c a n c e l = " e d i t F o r m V i s i b l e = f a l s e " 监 听
handleCancel : function ( ) {
this . $refs [ 'editFormRef' ] . resetFields ( ) ;
this . $emit ( 'cancel' ) ;
} ,
/ / 编 辑 提 交 X m T a s k S b i l l 任 务 结 算 表 父 组 件 监 听 @ s u b m i t = " a f t e r E d i t S u b m i t "
saveSubmit : function ( ) {
if ( this . currOpType == 'add' ) {
if ( this . editForm . projectId == null || this . editForm . projectId == '' || this . editForm . projectId == undefined ) {
this . $notify ( { position : 'bottom-left' , showClose : true , message : '请选择项目' , type : 'error' } ) ;
return ;
}
/ / 编 辑 界 面 数 据 X m T a s k S b i l l 任 务 结 算 表
editForm : {
id : "" ,
title : "" ,
amt : "" ,
ctime : "" ,
cuserid : "" ,
cusername : "" ,
remark : "" ,
branchId : "" ,
deptid : "" ,
cpId : "" ,
cpName : "" ,
workload : "" ,
bizMonth : "" ,
bizDate : "" ,
bizFlowState : "" ,
bizProcInstId : "" ,
ltime : "" ,
status : "" ,
fmsg : "" ,
projectId : "" ,
projectName : "" ,
} ,
/**begin 在下面加自定义属性,记得补上面的一个逗号**/
projSelVisible : false ,
activateName : "10" ,
} ; / / e n d r e t u r n
} , / / e n d d a t a
methods : {
... util ,
/ / 取 消 按 钮 点 击 父 组 件 监 听 @ c a n c e l = " e d i t F o r m V i s i b l e = f a l s e " 监 听
handleCancel : function ( ) {
this . $refs [ "editFormRef" ] . resetFields ( ) ;
this . $emit ( "cancel" ) ;
} ,
/ / 编 辑 提 交 X m T a s k S b i l l 任 务 结 算 表 父 组 件 监 听 @ s u b m i t = " a f t e r E d i t S u b m i t "
saveSubmit : function ( ) {
if ( this . currOpType == "add" ) {
if (
this . editForm . projectId == null ||
this . editForm . projectId == "" ||
this . editForm . projectId == undefined
) {
this . $notify ( {
position : "bottom-left" ,
showClose : true ,
message : "请选择项目" ,
type : "error" ,
} ) ;
return ;
}
}
if ( this . currOpType == 'edit' ) {
if ( this . editForm . status != '0' ) {
this . $notify ( { position : 'bottom-left' , showClose : true , message : '当前状态不能修改' , type : 'error' } ) ;
return ;
}
}
if ( this . currOpType == "edit" ) {
if ( this . editForm . status != "0" ) {
this . $notify ( {
position : "bottom-left" ,
showClose : true ,
message : "当前状态不能修改" ,
type : "error" ,
} ) ;
return ;
}
}
this . $refs . editFormRef . validate ( ( valid ) => {
if ( valid ) {
this . $confirm ( '确认提交吗?' , '提示' , { } ) . then ( ( ) => {
this . load . edit = true
let params = Object . assign ( { } , this . editForm ) ;
}
this . $refs . editFormRef . validate ( ( valid ) => {
if ( valid ) {
this . $confirm ( "确认提交吗?" , "提示" , { } ) . then ( ( ) => {
this . load . edit = true ;
let params = Object . assign ( { } , this . editForm ) ;
/ * l e t t o d a y = n e w D a t e ( ) ;
/ * l e t t o d a y = n e w D a t e ( ) ;
let year = today . getFullYear ( ) ;
let year = today . getFullYear ( ) ;
let m = today . getMonth ( ) + 1 ;
let m = today . getMonth ( ) + 1 ;
let d = today . getDay ( ) ;
let d = today . getDay ( ) ;
params . bizMonth = year + "-" + m ;
params . bizMonth = year + "-" + m ;
params . bizDate = year + "-" + m + "-" + d ; * /
params . bizDate = year + "-" + m + "-" + d ; * /
if ( this . currOpType == 'edit' ) {
editXmTaskSbill ( params ) . then ( ( res ) => {
this . load . edit = false
var tips = res . data . tips ;
if ( tips . isOk ) {
this . $emit ( 'submit' ) ; / / @ s u b m i t = " a f t e r E d i t S u b m i t "
}
this . $notify ( { position : 'bottom-left' , showClose : true , message : tips . msg , type : tips . isOk ? 'success' : 'error' } ) ;
} ) . catch ( err => this . load . edit = false ) ;
} else {
addXmTaskSbill ( params ) . then ( ( res ) => {
this . load . edit = false
var tips = res . data . tips ;
if ( tips . isOk ) {
this . $emit ( 'submit' ) ; / / @ s u b m i t = " a f t e r A d d S u b m i t "
}
this . $notify ( { position : 'bottom-left' , showClose : true , message : tips . msg , type : tips . isOk ? 'success' : 'error' } ) ;
} ) . catch ( err => this . load . edit = false ) ;
}
} ) ;
}
} ) ;
} ,
initData : function ( ) {
this . currOpType = this . opType
if ( this . opType == 'edit' ) {
if ( this . xmTaskSbill ) {
this . editForm = Object . assign ( { } , this . xmTaskSbill ) ;
if ( this . currOpType == "edit" ) {
editXmTaskSbill ( params )
. then ( ( res ) => {
this . load . edit = false ;
var tips = res . data . tips ;
if ( tips . isOk ) {
this . $emit ( "submit" ) ; / / @ s u b m i t = " a f t e r E d i t S u b m i t "
}
this . $notify ( {
position : "bottom-left" ,
showClose : true ,
message : tips . msg ,
type : tips . isOk ? "success" : "error" ,
} ) ;
} )
. catch ( ( err ) => ( this . load . edit = false ) ) ;
} else {
addXmTaskSbill ( params )
. then ( ( res ) => {
this . load . edit = false ;
var tips = res . data . tips ;
if ( tips . isOk ) {
this . $emit ( "submit" ) ; / / @ s u b m i t = " a f t e r A d d S u b m i t "
}
this . $notify ( {
position : "bottom-left" ,
showClose : true ,
message : tips . msg ,
type : tips . isOk ? "success" : "error" ,
} ) ;
} )
. catch ( ( err ) => ( this . load . edit = false ) ) ;
}
}
} else {
this . editForm = Object . assign ( { } , { } ) ;
}
} ,
/**begin 在下面加自定义方法**/
afterProjectSelect ( obj ) {
this . projSelVisible = false ;
this . editForm . projectId = obj . projectId ;
this . editForm . projectName = obj . projectName ;
} ,
onProjectRowClick ( obj ) {
this . $set ( this . editForm , "projectId" , obj [ 0 ] . projectId ) ;
this . $set ( this . editForm , "projectName" , obj [ 0 ] . projectName ) ;
} ,
onProjectClear ( ) {
this . $set ( this . editForm , "projectId" , null ) ;
this . $set ( this . editForm , "projectName" , null ) ;
} ,
afterFlowSubmit ( ) {
}
} , / / e n d m e t h o d
mounted ( ) {
this . $nextTick ( ( ) => {
initSimpleDicts ( 'all' , [ 'bizFlowState' ] ) . then ( res => this . dicts = res . data . data ) ;
this . initData ( )
} ) ;
}
}
} ) ;
}
} ) ;
} ,
initData : function ( ) {
this . currOpType = this . opType ;
if ( this . opType == "edit" ) {
if ( this . xmTaskSbill ) {
this . editForm = Object . assign ( { } , this . xmTaskSbill ) ;
}
} else {
this . editForm = Object . assign ( { } , { } ) ;
}
} ,
/**begin 在下面加自定义方法**/
afterProjectSelect ( obj ) {
this . projSelVisible = false ;
this . editForm . projectId = obj . projectId ;
this . editForm . projectName = obj . projectName ;
} ,
onProjectRowClick ( obj ) {
this . $set ( this . editForm , "projectId" , obj [ 0 ] . projectId ) ;
this . $set ( this . editForm , "projectName" , obj [ 0 ] . projectName ) ;
} ,
onProjectClear ( ) {
this . $set ( this . editForm , "projectId" , null ) ;
this . $set ( this . editForm , "projectName" , null ) ;
} ,
afterFlowSubmit ( ) { } ,
} , / / e n d m e t h o d
mounted ( ) {
this . $nextTick ( ( ) => {
initSimpleDicts ( "all" , [ "bizFlowState" ] ) . then (
( res ) => ( this . dicts = res . data . data )
) ;
this . initData ( ) ;
} ) ;
} ,
} ;
< / script >
< / script >
< style scoped >
< style scoped >
< / style >
< / style >