|
@@ -139,6 +139,13 @@ const back = () => {
|
|
|
};
|
|
|
|
|
|
const save = async () => {
|
|
|
+ selectProComs.value.forEach(item1 => {
|
|
|
+ comTypes.find(item2 => {
|
|
|
+ if (item2.compentName === item1.compentName) {
|
|
|
+ item1.index = item2.index
|
|
|
+ }
|
|
|
+ });
|
|
|
+ })
|
|
|
selectProComs.value = selectProComs.value.sort((a, b) => {
|
|
|
return a.index - b.index;
|
|
|
});
|