Commit 68e7c552 authored by Алекс's avatar Алекс
Browse files

Выводим строку proj но пока не красиво

parent 66086b4a
......@@ -244,12 +244,16 @@ function s2m(my_id){
function print_parmetr() {
//Указываем невязки
point_arr.forEach(function(item, i, arr) {
let str_nvx = document.querySelectorAll(`[name="NVX"][id="${item.id_dom}"]`)[0];
str_nvx.textContent = item.vx;
let str_nvy = document.querySelectorAll(`[name="NVY"][id="${item.id_dom}"]`)[0];
str_nvy.textContent = item.vy;
let str_nxy = document.querySelectorAll(`[name="NXY"][id="${item.id_dom}"]`)[0];
str_nxy.textContent = item.v;
let str_nvx = document.querySelectorAll(`[name="NVX"][id="${item.id_dom}"]`)[0];
str_nvx.textContent = item.vx;
let str_nvy = document.querySelectorAll(`[name="NVY"][id="${item.id_dom}"]`)[0];
str_nvy.textContent = item.vy;
let str_nxy = document.querySelectorAll(`[name="NXY"][id="${item.id_dom}"]`)[0];
str_nxy.textContent = item.v;
});
//Выводим строчку параметров ск
});
let print_parametr = document.querySelector(`section[name="print_parmetr"]`);
let proj_string_dom = document.createElement('details');
proj_string_dom.innerHTML = conform.projstring;
print_parametr.append(proj_string_dom);
}
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment