|
@@ -34,14 +34,14 @@ const node = [ // 节点
|
|
|
symbolSize: [110, 60]
|
|
|
},
|
|
|
{
|
|
|
- nodeKey: 'dept_superior_1_0_1',
|
|
|
+ nodeKey: 'dept_head_1_0_1',
|
|
|
name: '部门负责人审核',
|
|
|
value: [125, 100],
|
|
|
symbol: 'image://' + require('../asste/huifangkuai.png'),
|
|
|
symbolSize: [110, 60]
|
|
|
},
|
|
|
{
|
|
|
- nodeKey: 'dept_head_1_0_1',
|
|
|
+ nodeKey: 'flow_cwld_1_0_1',
|
|
|
name: '财务负责人审核',
|
|
|
value: [205, 100],
|
|
|
symbol: 'image://' + require('../asste/huifangkuai.png'),
|
|
@@ -160,12 +160,12 @@ const linesData = [ // 连线
|
|
|
coords: [[45, 100], [105, 100]]
|
|
|
},
|
|
|
{
|
|
|
- nodeKey: 'dept_superior_1_0_1',
|
|
|
+ nodeKey: 'dept_head_1_0_1',
|
|
|
lineStyle: lineStyle,
|
|
|
coords: [[125, 100], [185, 100]]
|
|
|
},
|
|
|
{
|
|
|
- nodeKey: 'dept_head_1_0_1',
|
|
|
+ nodeKey: 'flow_cwld_1_0_1',
|
|
|
lineStyle: lineStyle,
|
|
|
coords: [[205, 100], [265, 100]]
|
|
|
},
|
|
@@ -209,14 +209,14 @@ const linesData = [ // 连线
|
|
|
},
|
|
|
{
|
|
|
|
|
|
- nodeKey: 'dept_head_1_0_1_back',
|
|
|
+ nodeKey: 'flow_cwld_1_0_1_back',
|
|
|
lineStyle: lineStyle,
|
|
|
coords: [[210, 100], [210, 250]],
|
|
|
symbol: 'none'
|
|
|
},
|
|
|
{
|
|
|
|
|
|
- nodeKey: 'dept_superior_1_0_1_back',
|
|
|
+ nodeKey: 'dept_head_1_0_1_back',
|
|
|
lineStyle: lineStyle,
|
|
|
coords: [[130, 100], [130, 200]],
|
|
|
symbol: 'none'
|
|
@@ -245,13 +245,13 @@ const linesData = [ // 连线
|
|
|
symbol: 'none'
|
|
|
},
|
|
|
{
|
|
|
- nodeKey: 'dept_head_1_0_1_back',
|
|
|
+ nodeKey: 'flow_cwld_1_0_1_back',
|
|
|
lineStyle: lineStyle,
|
|
|
coords: [[50, 100], [50, 250]],
|
|
|
symbol: 'none'
|
|
|
},
|
|
|
{
|
|
|
- nodeKey: 'dept_superior_1_0_1_back',
|
|
|
+ nodeKey: 'dept_head_1_0_1_back',
|
|
|
lineStyle: lineStyle,
|
|
|
coords: [[50, 100], [50, 200]],
|
|
|
symbol: 'none'
|
|
@@ -278,14 +278,14 @@ const linesData = [ // 连线
|
|
|
},
|
|
|
{
|
|
|
|
|
|
- nodeKey: 'dept_head_1_0_1_back',
|
|
|
+ nodeKey: 'flow_cwld_1_0_1_back',
|
|
|
lineStyle: lineStyle,
|
|
|
coords: [[210, 250], [50, 250]],
|
|
|
symbol: 'none'
|
|
|
},
|
|
|
{
|
|
|
|
|
|
- nodeKey: 'dept_superior_1_0_1_back',
|
|
|
+ nodeKey: 'dept_head_1_0_1_back',
|
|
|
lineStyle: lineStyle,
|
|
|
coords: [[130, 200], [50, 200]],
|
|
|
symbol: 'none'
|
|
@@ -334,7 +334,7 @@ export default {
|
|
|
this.getLineStyle(data[i].nodeKey)
|
|
|
}
|
|
|
break
|
|
|
- case 'dept_superior_1_0_1':
|
|
|
+ case 'dept_head_1_0_1':
|
|
|
if (data[i].type == 1 || data[i].type == 3) {
|
|
|
this.getImgUrl(index, data[i].type)
|
|
|
}
|
|
@@ -342,11 +342,11 @@ export default {
|
|
|
this.getLineStyle(data[i].nodeKey)
|
|
|
}
|
|
|
if (data[i].type == 2) {
|
|
|
- this.getLineStyle('dept_superior_1_0_1_back')
|
|
|
+ this.getLineStyle('dept_head_1_0_1_back')
|
|
|
this.getImgUrl(index, data[i].type)
|
|
|
}
|
|
|
break
|
|
|
- case 'dept_head_1_0_1':
|
|
|
+ case 'flow_cwld_1_0_1':
|
|
|
if (data[i].type == 1 || data[i].type == 3) {
|
|
|
this.getImgUrl(index, data[i].type)
|
|
|
}
|
|
@@ -354,7 +354,7 @@ export default {
|
|
|
this.getLineStyle(data[i].nodeKey)
|
|
|
}
|
|
|
if (data[i].type == 2) {
|
|
|
- this.getLineStyle('dept_head_1_0_1_back')
|
|
|
+ this.getLineStyle('flow_cwld_1_0_1_back')
|
|
|
this.getImgUrl(index, data[i].type)
|
|
|
}
|
|
|
if (data[i].isPass == '1') {
|
|
@@ -435,8 +435,7 @@ export default {
|
|
|
if (index == -1) return
|
|
|
switch (type) {
|
|
|
case '1':
|
|
|
- console.log(index)
|
|
|
- console.log(this.node[index])
|
|
|
+
|
|
|
this.node[index].symbol = 'image://' + require('../asste/lanfangkuai.png')
|
|
|
break
|
|
|
case '2':
|