|
@@ -22,10 +22,10 @@ export function showTypes(arr, infosKey = '') {
|
|
|
// return undefined
|
|
|
// }
|
|
|
|
|
|
- if (item.InfoPointCode == "EquipQRCode") {
|
|
|
+ if (item.InfoPointCode == "edit") {
|
|
|
return {
|
|
|
- data: infosKey + item.InfoPointCode,
|
|
|
- // renderer: text.lookQRCode,
|
|
|
+ data: "Infos." + item.InfoPointCode,
|
|
|
+ renderer: lookQRCode,
|
|
|
readOnly: true
|
|
|
}
|
|
|
}
|
|
@@ -159,4 +159,10 @@ export function changeHeader(arr) {
|
|
|
// }
|
|
|
}).filter(d => d);
|
|
|
return data
|
|
|
+}
|
|
|
+let lookQRCode = (instance, td, row, col, prop, value, cellProperties) => {
|
|
|
+ td.style.color = "#409EFF";
|
|
|
+ td.style.cursor = "pointer";
|
|
|
+ td.innerHTML = "编辑"
|
|
|
+ return td
|
|
|
}
|