|
|
@@ -55,13 +55,13 @@ export default {
|
|
|
{
|
|
|
text: '待我审批',
|
|
|
value: 0,
|
|
|
- type: 3,
|
|
|
+ type: 2,
|
|
|
list: [],
|
|
|
},
|
|
|
{
|
|
|
text: '审批结果',
|
|
|
value: 0,
|
|
|
- type: 2,
|
|
|
+ type: 3,
|
|
|
list: [],
|
|
|
},
|
|
|
],
|
|
|
@@ -98,7 +98,7 @@ export default {
|
|
|
item.list.forEach(sub => {
|
|
|
if(sub.highList.length>0) {
|
|
|
sub.highList.forEach(str => {
|
|
|
- sub.content = `${sub.content.substring(0,sub.content.indexOf(str))}<a style="color: ${sub.state === '0'?'#00C2FF':'#cccccc'}">${sub.content.substring(sub.content.indexOf(str),sub.content.indexOf(str)+str.length)}</a>${sub.content.substring(sub.content.indexOf(str)+str.length, sub.content.length-1)}`
|
|
|
+ sub.content = `<span>${sub.content.substring(0,sub.content.indexOf(str))}<a style="color: ${sub.state === '0'?'#00C2FF':'#cccccc'}">${sub.content.substring(sub.content.indexOf(str),sub.content.indexOf(str)+str.length)}</a>${sub.content.substring(sub.content.indexOf(str)+str.length, sub.content.length-1)}</span>`
|
|
|
})
|
|
|
}
|
|
|
})
|