| | |
| | | <a-select |
| | | mode="multiple" |
| | | placeholder="请选择反馈接收人" |
| | | show-search |
| | | v-model="toUsers" |
| | | @change="handleChange" |
| | | > |
| | | <a-select-option |
| | | v-for="(user, idx) in userList" |
| | | :key="'user_' + idx" |
| | | :disabled="user.id == 25" |
| | | :value="user.id + '&&' + user.name" |
| | | > |
| | | {{ user.name }} |
| | |
| | | id: "", |
| | | prodList: [], |
| | | userList: [], |
| | | toUsers: [], |
| | | toUsers: ['25&&杨红兰'], |
| | | textDes: "", |
| | | receiverIds: "", |
| | | receiverNames: "", |
| | | receiverIds: "25", |
| | | receiverNames: "杨红兰", |
| | | labelCol: { span: 6 }, |
| | | wrapperCol: { span: 18 }, |
| | | }; |
| | |
| | | }, |
| | | // 获取多个角色组的所有用户 |
| | | getUserByRoleIds() { |
| | | getUserByRoleIds("1002,1003") |
| | | getUserByRoleIds("1001,1002,1003") |
| | | .then((res) => { |
| | | let { code, data, data2 } = res.data; |
| | | let list = []; |
| | |
| | | * 查询当前使用的所有的产品 不分页 |
| | | * @returns |
| | | */ |
| | | export const getCompareProduct = () => { |
| | | return axios({ |
| | | method: "GET", |
| | | url: "product/getCompareProduct", |
| | | }) |
| | | } |
| | | /** |
| | | * 查询当前使用的所有的产品 不分页 (过滤掉锁定的) |
| | | * @returns |
| | | */ |
| | | export const getFkProduct = () => { |
| | | return axios({ |
| | | method: "GET", |
| | |
| | | </template> |
| | | |
| | | <script> |
| | | import { getFkProduct } from "../product/apis"; |
| | | import { getCompareProduct } from "../product/apis"; |
| | | import { getVersions } from "../product/details/apis"; |
| | | export default { |
| | | name: "", |
| | |
| | | methods: { |
| | | // 获取产品列表 |
| | | getProdList() { |
| | | getFkProduct() |
| | | getCompareProduct() |
| | | .then((res) => { |
| | | let { code, data, data2 } = res.data; |
| | | let prodList = []; |