You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
81 lines
2.0 KiB
81 lines
2.0 KiB
|
2 years ago
|
<!--
|
||
|
|
@ 作者: 鲁智强
|
||
|
|
@ 时间: 2023-08-15 11:34:38
|
||
|
|
@ 备注:
|
||
|
|
-->
|
||
|
|
<template>
|
||
|
|
<el-dialog :model-value="true" :title="title" @close="handleClose">
|
||
|
|
{{tablea}}
|
||
|
|
<el-table :data="tablea" label-width="120px" class="demo-ruleForm" style="width:100%">
|
||
|
|
<el-table-column prop="dimensionname" label="考核维度"/>
|
||
|
|
<el-table-column prop="dimensionstandard" label="维度权重"/>
|
||
|
|
<el-table-column prop="targetname" label="考核指标"/>
|
||
|
|
<el-table-column prop="content" label="指标权重"/>
|
||
|
|
<el-table-column prop="dimensionname" label="考核维度"/>
|
||
|
|
<el-table-column prop="dimensionname" label="考核维度"/>
|
||
|
|
</el-table>
|
||
|
|
</el-dialog>
|
||
|
|
</template>
|
||
|
|
<script lang="ts" setup>
|
||
|
|
import { reactive } from "vue";
|
||
|
|
import {tarlist,addPostCont,addtarget,getgroupuser,addposttargetcont,search_orgpost,organdpost} from '@/api/opk/api'
|
||
|
|
import {editPostCont} from '@/api/opk/pulic/api'
|
||
|
|
import { ge_add } from '@/api/opk/news/api'
|
||
|
|
import {look_scheme} from '@/api/opk/opk/api'
|
||
|
|
import { create_scheme,ge_copy } from '@/api/opk/zxy/news/api'
|
||
|
|
import "quill/dist/quill.snow.css";
|
||
|
|
const isshow = ref(false)
|
||
|
|
const props= defineProps( {
|
||
|
|
title: {
|
||
|
|
type: String,
|
||
|
|
default: "",
|
||
|
|
},
|
||
|
|
ygPostBox: {
|
||
|
|
type: Boolean,
|
||
|
|
default: false,
|
||
|
|
},
|
||
|
|
rowInfo: {
|
||
|
|
type: Object,
|
||
|
|
default() {
|
||
|
|
return {};
|
||
|
|
},
|
||
|
|
},
|
||
|
|
arrayNum: {
|
||
|
|
type: Number,
|
||
|
|
default: 0,
|
||
|
|
},
|
||
|
|
});
|
||
|
|
const orgTreeProps ={
|
||
|
|
label: 'name',
|
||
|
|
}
|
||
|
|
const orgTreeProp = {
|
||
|
|
label:'title',
|
||
|
|
children:'children'
|
||
|
|
}
|
||
|
|
|
||
|
|
const emit = defineEmits(["update:ygPostBox","editRow","addRow"])
|
||
|
|
const formData = reactive({
|
||
|
|
deaprtname:"",
|
||
|
|
year:"",
|
||
|
|
asd:[] as string[],
|
||
|
|
})
|
||
|
|
const tablea = ref<any>([])
|
||
|
|
function ge_adds(){
|
||
|
|
const yui = props.rowInfo.key
|
||
|
|
look_scheme({id:yui})
|
||
|
|
.then((data) => {
|
||
|
|
tablea.value = data.data;
|
||
|
|
}).finally(()=>{
|
||
|
|
isshow.value = false
|
||
|
|
})
|
||
|
|
}
|
||
|
|
ge_adds()
|
||
|
|
// 关闭弹窗
|
||
|
|
const handleClose = ()=> {
|
||
|
|
emit("update:ygPostBox", false);
|
||
|
|
}
|
||
|
|
onMounted(()=>{
|
||
|
|
Object.assign(formData,props.rowInfo);
|
||
|
|
})
|
||
|
|
</script>
|
||
|
|
|