|
|
@@ -75,6 +75,12 @@
|
|
|
<template #systemkey="{ record }">
|
|
|
<span :id="'zjsqk' + record.id">{{ getAppName(record.systemkey, `zjsqk${record.id}`) }}</span>
|
|
|
</template>
|
|
|
+ <template #shr="{ record }">
|
|
|
+ <span :id="'shr' + record.id">{{ getUser(record, `shr${record.id}`) }}</span>
|
|
|
+ </template>
|
|
|
+ <template #shyj="{ record }">
|
|
|
+ <span :id="'shyj' + record.id">{{ getYJ(record, `shyj${record.id}`) }}</span>
|
|
|
+ </template>
|
|
|
<template #status="{ record }">
|
|
|
<Tag :style="`color:${record.shzt == '未提交' ? 'red' : '#05B069'};`">
|
|
|
{{
|
|
|
@@ -298,7 +304,39 @@ export default defineComponent({
|
|
|
})
|
|
|
}
|
|
|
|
|
|
+ function getUser(item, id) {
|
|
|
+ var shr = [];
|
|
|
+ if (item?.shlc?.length > 1) {
|
|
|
+ item.shlc.map((i, index) => {
|
|
|
+ if (index != 0 && index != item.shlc.length - 1) {
|
|
|
+ shr.push(i.USER_NAME)
|
|
|
+ }
|
|
|
+ })
|
|
|
+ var dom = document.getElementById(id);
|
|
|
+ if (dom) {
|
|
|
+ dom.innerHTML = shr.join(',')
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
+ function getYJ(item, id) {
|
|
|
+ var shyj = [];
|
|
|
+ if (item?.shlc?.length > 1) {
|
|
|
+ item.shlc.map((i, index) => {
|
|
|
+ if (index != 0 && index != item.shlc.length - 1) {
|
|
|
+ shyj.push(i.CHECKINFO)
|
|
|
+ }
|
|
|
+ })
|
|
|
+ var dom = document.getElementById(id);
|
|
|
+ if (dom) {
|
|
|
+ dom.innerHTML = shyj.join(',')
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
return {
|
|
|
+ getYJ,
|
|
|
+ getUser,
|
|
|
getAppName,
|
|
|
applyHandleEdit,
|
|
|
applyHandleSuccess,
|