mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/fe-manage.git
synced 2025-12-20 08:16:46 +08:00
feat:项目(无项目),项目页面的弹窗
This commit is contained in:
@@ -21,8 +21,8 @@
|
||||
v-model:value="projectName"
|
||||
style="width: 270px"
|
||||
placeholder="请选择状态"
|
||||
:options="projectNameList"
|
||||
@change="selectProjectName"
|
||||
:options="projectStateList"
|
||||
@change="selectProjectState"
|
||||
allowClear
|
||||
showSearch
|
||||
></a-select>
|
||||
@@ -149,6 +149,23 @@ export default {
|
||||
label: "项目四",
|
||||
},
|
||||
],
|
||||
projectStateList: [
|
||||
{
|
||||
id: 1,
|
||||
value: "已发布",
|
||||
label: "已发布",
|
||||
},
|
||||
{
|
||||
id: 2,
|
||||
value: "待发布",
|
||||
label: "待发布",
|
||||
},
|
||||
{
|
||||
id: 3,
|
||||
value: "已结束",
|
||||
label: "已结束",
|
||||
},
|
||||
],
|
||||
out: false,
|
||||
number: null,
|
||||
selectTime: null,
|
||||
@@ -327,6 +344,9 @@ export default {
|
||||
const selectProjectName = (value, index) => {
|
||||
console.log("value", value, index);
|
||||
};
|
||||
const selectProjectState = (value, index) => {
|
||||
console.log("value", value, index);
|
||||
};
|
||||
const expandTable = (e, a) => {
|
||||
// console.log("惦记了");
|
||||
console.log("e", e, a);
|
||||
@@ -340,6 +360,7 @@ export default {
|
||||
return {
|
||||
...toRefs(state),
|
||||
selectProjectName,
|
||||
selectProjectState,
|
||||
expandTable,
|
||||
handleOut,
|
||||
tableDataFunc,
|
||||
|
||||
Reference in New Issue
Block a user