|
@@ -57,7 +57,7 @@
|
|
:data="data"
|
|
:data="data"
|
|
:currentSteps="currentSteps"
|
|
:currentSteps="currentSteps"
|
|
:noFreshFlag="noFreshFlag"
|
|
:noFreshFlag="noFreshFlag"
|
|
- @dataChange=dataChange
|
|
|
|
|
|
+ @dataChange="dataChange"
|
|
>
|
|
>
|
|
</component>
|
|
</component>
|
|
</keep-alive>
|
|
</keep-alive>
|
|
@@ -186,16 +186,13 @@ export default {
|
|
if(val === 0 ){
|
|
if(val === 0 ){
|
|
Vue.component(componentName,ParameterConfiguration)
|
|
Vue.component(componentName,ParameterConfiguration)
|
|
}else if(val === 1){
|
|
}else if(val === 1){
|
|
-
|
|
|
|
|
|
+ console.log(componentName,91111111111)
|
|
Vue.component(componentName,FlowChartComponent)
|
|
Vue.component(componentName,FlowChartComponent)
|
|
}else if(val === 2){
|
|
}else if(val === 2){
|
|
Vue.component(componentName,FlowSuccess)
|
|
Vue.component(componentName,FlowSuccess)
|
|
}
|
|
}
|
|
}
|
|
}
|
|
-
|
|
|
|
this.currentComponent = componentName
|
|
this.currentComponent = componentName
|
|
-
|
|
|
|
-
|
|
|
|
}
|
|
}
|
|
},
|
|
},
|
|
methods:{
|
|
methods:{
|
|
@@ -203,12 +200,12 @@ export default {
|
|
getModuleInfo (id) {
|
|
getModuleInfo (id) {
|
|
getLoad({id:id}).then((res) => {
|
|
getLoad({id:id}).then((res) => {
|
|
if(res.resultCode === 0){
|
|
if(res.resultCode === 0){
|
|
|
|
+ console.log(res.data,999911111)
|
|
res.data.businessType = [{
|
|
res.data.businessType = [{
|
|
ID:res.data.businessType,
|
|
ID:res.data.businessType,
|
|
Label:res.data.businessTypeName,
|
|
Label:res.data.businessTypeName,
|
|
val:res.data.businessTypeText
|
|
val:res.data.businessTypeText
|
|
}]
|
|
}]
|
|
-
|
|
|
|
res.data.businessNumber = [{
|
|
res.data.businessNumber = [{
|
|
ID:String(res.data.businessKeyId),
|
|
ID:String(res.data.businessKeyId),
|
|
Label:res.data.businessKey,
|
|
Label:res.data.businessKey,
|
|
@@ -261,8 +258,6 @@ export default {
|
|
})
|
|
})
|
|
return
|
|
return
|
|
}
|
|
}
|
|
-
|
|
|
|
-
|
|
|
|
if( this.data.name && (this.data.moduleType === 0?(this.data.businessType && this.data.businessType.length > 0):true) ){
|
|
if( this.data.name && (this.data.moduleType === 0?(this.data.businessType && this.data.businessType.length > 0):true) ){
|
|
this.defaultModuleType = this.data.moduleType
|
|
this.defaultModuleType = this.data.moduleType
|
|
++this.currentSteps
|
|
++this.currentSteps
|
|
@@ -476,7 +471,6 @@ export default {
|
|
created () {
|
|
created () {
|
|
Vue.component(`component_${this.currentSteps}`,Vue.extend(Object.assign({isKeepAliveModel:true},ParameterConfiguration)))
|
|
Vue.component(`component_${this.currentSteps}`,Vue.extend(Object.assign({isKeepAliveModel:true},ParameterConfiguration)))
|
|
this.currentComponent = `component_${this.currentSteps}`
|
|
this.currentComponent = `component_${this.currentSteps}`
|
|
- console.log(this.$route.params.id,99998)
|
|
|
|
if(this.$route.params.flag === '1'){
|
|
if(this.$route.params.flag === '1'){
|
|
this.readOnly = true
|
|
this.readOnly = true
|
|
this.noFreshFlag = true
|
|
this.noFreshFlag = true
|
|
@@ -484,7 +478,7 @@ export default {
|
|
return
|
|
return
|
|
}
|
|
}
|
|
if(this.$route.params.id === undefined){ //新增
|
|
if(this.$route.params.id === undefined){ //新增
|
|
- console.log(22233)
|
|
|
|
|
|
+
|
|
}else{ //编辑
|
|
}else{ //编辑
|
|
this.noFreshFlag = true
|
|
this.noFreshFlag = true
|
|
this.currentSteps = 1
|
|
this.currentSteps = 1
|
|
@@ -496,11 +490,12 @@ export default {
|
|
}
|
|
}
|
|
}
|
|
}
|
|
</script>
|
|
</script>
|
|
-<style lang="scss" >
|
|
|
|
|
|
+<style lang="scss" scoped>
|
|
.TemplateManagementNew{
|
|
.TemplateManagementNew{
|
|
padding:16px;
|
|
padding:16px;
|
|
background: white;
|
|
background: white;
|
|
display: flex;
|
|
display: flex;
|
|
|
|
+ height: calc(100vh - 100px);
|
|
flex-direction: column;
|
|
flex-direction: column;
|
|
|
|
|
|
.breadcrumb{
|
|
.breadcrumb{
|