mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/fe-manage.git
synced 2025-12-11 03:46:45 +08:00
Merge branch 'develop' of http://gitlab.dongwu-inc.com:10080/BOE/fe-manage into develop
This commit is contained in:
@@ -2,7 +2,7 @@
|
|||||||
* @Author: lixg lixg@dongwu-inc.com
|
* @Author: lixg lixg@dongwu-inc.com
|
||||||
* @Date: 2023-02-23 14:57:21
|
* @Date: 2023-02-23 14:57:21
|
||||||
* @LastEditors: lixg lixg@dongwu-inc.com
|
* @LastEditors: lixg lixg@dongwu-inc.com
|
||||||
* @LastEditTime: 2023-02-24 22:54:03
|
* @LastEditTime: 2023-03-07 17:30:12
|
||||||
* @FilePath: /fe-manage/src/components/project/OrgClassCheck.vue
|
* @FilePath: /fe-manage/src/components/project/OrgClassCheck.vue
|
||||||
* @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
|
* @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
|
||||||
-->
|
-->
|
||||||
|
|||||||
@@ -86,14 +86,27 @@
|
|||||||
{{ qdms_inputV2.length }}/50
|
{{ qdms_inputV2.length }}/50
|
||||||
</span>
|
</span>
|
||||||
</div> -->
|
</div> -->
|
||||||
<div>
|
<div
|
||||||
<OrgClassCheck
|
v-if="orgSelectNames"
|
||||||
v-model:value="orgSelect"
|
style="
|
||||||
v-model:name="orgSelectName"
|
margin-bottom: 10px;
|
||||||
:disabled="true"
|
height: 27px;
|
||||||
></OrgClassCheck>
|
line-height: 27px;
|
||||||
|
margin-left: 10px;
|
||||||
|
font-weight: 450;
|
||||||
|
"
|
||||||
|
>
|
||||||
|
<span
|
||||||
|
v-for="(i, k) in orgSelectNames"
|
||||||
|
:key="k"
|
||||||
|
style="margin-right: 20px"
|
||||||
|
>{{ i }}</span
|
||||||
|
>
|
||||||
</div>
|
</div>
|
||||||
<div style="margin-top: 10px">
|
<div
|
||||||
|
style="margin-bottom: 10px"
|
||||||
|
v-if="selectJobId.length !== 0"
|
||||||
|
>
|
||||||
<a-select
|
<a-select
|
||||||
v-model:value="selectJobId" v-if="selectJobId.length > 0"
|
v-model:value="selectJobId" v-if="selectJobId.length > 0"
|
||||||
mode="multiple"
|
mode="multiple"
|
||||||
@@ -109,7 +122,7 @@
|
|||||||
disabled
|
disabled
|
||||||
></a-select>
|
></a-select>
|
||||||
</div>
|
</div>
|
||||||
<div style="margin-top: 10px">
|
<div v-if="selectBandId.length !== 0">
|
||||||
<a-select
|
<a-select
|
||||||
v-model:value="selectBandId" v-if="selectBandId.length > 0"
|
v-model:value="selectBandId" v-if="selectBandId.length > 0"
|
||||||
mode="multiple"
|
mode="multiple"
|
||||||
@@ -344,7 +357,7 @@
|
|||||||
<script>
|
<script>
|
||||||
import { reactive, toRefs, defineComponent, watch, computed } from "vue";
|
import { reactive, toRefs, defineComponent, watch, computed } from "vue";
|
||||||
import { useStore } from "vuex";
|
import { useStore } from "vuex";
|
||||||
import OrgClassCheck from "@/components/project/OrgClassCheck";
|
// import OrgClassCheck from "@/components/project/OrgClassCheck";
|
||||||
import OrgClass from "@/components/project/OrgClass";
|
import OrgClass from "@/components/project/OrgClass";
|
||||||
import { detail } from "@/api/indexCourse";
|
import { detail } from "@/api/indexCourse";
|
||||||
export default defineComponent({
|
export default defineComponent({
|
||||||
@@ -359,7 +372,7 @@ export default defineComponent({
|
|||||||
},
|
},
|
||||||
},
|
},
|
||||||
components: {
|
components: {
|
||||||
OrgClassCheck,
|
// OrgClassCheck,
|
||||||
OrgClass,
|
OrgClass,
|
||||||
},
|
},
|
||||||
setup(props, { emit }) {
|
setup(props, { emit }) {
|
||||||
@@ -387,6 +400,7 @@ export default defineComponent({
|
|||||||
sourceBelongId: [],
|
sourceBelongId: [],
|
||||||
sourceBelongName: [],
|
sourceBelongName: [],
|
||||||
sourceBelongFullName: [],
|
sourceBelongFullName: [],
|
||||||
|
orgSelectNames: "",
|
||||||
});
|
});
|
||||||
|
|
||||||
const sysTypeOptions = computed(() => store.state.content_type);
|
const sysTypeOptions = computed(() => store.state.content_type);
|
||||||
@@ -435,6 +449,7 @@ export default defineComponent({
|
|||||||
});
|
});
|
||||||
console.log("arrObj-------------", arrObj);
|
console.log("arrObj-------------", arrObj);
|
||||||
state.orgSelect = arrObj;
|
state.orgSelect = arrObj;
|
||||||
|
state.orgSelectNames = orgSelectNames;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
@@ -475,6 +490,19 @@ export default defineComponent({
|
|||||||
const handleCancel = () => {
|
const handleCancel = () => {
|
||||||
console.log("关闭");
|
console.log("关闭");
|
||||||
emit("cancel");
|
emit("cancel");
|
||||||
|
//目标任务
|
||||||
|
state.orgSelect = [];
|
||||||
|
state.orgSelectName = [];
|
||||||
|
state.orgSelectFullName = [];
|
||||||
|
state.selectJobName = [];
|
||||||
|
state.selectJobId = [];
|
||||||
|
state.selectBandName = [];
|
||||||
|
state.selectBandId = [];
|
||||||
|
//资源归属
|
||||||
|
state.sourceBelongId = [];
|
||||||
|
state.sourceBelongName = [];
|
||||||
|
state.sourceBelongFullName = [];
|
||||||
|
state.orgSelectNames = "";
|
||||||
};
|
};
|
||||||
|
|
||||||
function openDown(link) {
|
function openDown(link) {
|
||||||
|
|||||||
@@ -841,8 +841,8 @@ export default defineComponent({
|
|||||||
}
|
}
|
||||||
files = files.slice(0, files.length - 1);
|
files = files.slice(0, files.length - 1);
|
||||||
|
|
||||||
let orgSelectIds = [];
|
let orgSelectIds = "";
|
||||||
let orgSelectNames = [];
|
let orgSelectNames = "";
|
||||||
if (state.orgSelect && state.orgSelect.length) {
|
if (state.orgSelect && state.orgSelect.length) {
|
||||||
state.orgSelect.forEach((item) => {
|
state.orgSelect.forEach((item) => {
|
||||||
orgSelectIds += item.value + ",";
|
orgSelectIds += item.value + ",";
|
||||||
|
|||||||
@@ -199,7 +199,7 @@
|
|||||||
>结束</a-button
|
>结束</a-button
|
||||||
>
|
>
|
||||||
<a-button
|
<a-button
|
||||||
v-if="record.status !== -1 && record.type === 3"
|
v-if="record.status == -1"
|
||||||
@click="showBackFinashModal(record.id)"
|
@click="showBackFinashModal(record.id)"
|
||||||
type="link"
|
type="link"
|
||||||
>撤回</a-button
|
>撤回</a-button
|
||||||
|
|||||||
@@ -74,11 +74,11 @@
|
|||||||
<div class="inname">配置权重</div>
|
<div class="inname">配置权重</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="in" style="display: flex">
|
<div class="in" style="display: flex">
|
||||||
<div class="assess">
|
<!-- <div class="assess">
|
||||||
<div class="assesstype">评估类型</div>
|
<div class="assesstype">评估类型</div>
|
||||||
<div class="assesswhole">整体评估</div>
|
<div class="assesswhole">整体评估</div>
|
||||||
</div>
|
</div> -->
|
||||||
<div class="assess" style="margin-left: 50px; position: relative">
|
<div class="assess" style="position: relative">
|
||||||
<div class="assesstype">权重比例</div>
|
<div class="assesstype">权重比例</div>
|
||||||
<div class="assesswhole" style="background: #ffffff">
|
<div class="assesswhole" style="background: #ffffff">
|
||||||
<a-input-number
|
<a-input-number
|
||||||
|
|||||||
Reference in New Issue
Block a user