This commit is contained in:
Kane 2023-02-06 08:37:47 +08:00
parent 555611ca96
commit 9b57dbb772
2 changed files with 9 additions and 8 deletions

View File

@ -2,7 +2,7 @@
* @Author: Kane * @Author: Kane
* @Date: 2023-01-25 23:16:29 * @Date: 2023-01-25 23:16:29
* @LastEditors: Kane * @LastEditors: Kane
* @LastEditTime: 2023-02-06 00:37:38 * @LastEditTime: 2023-02-06 08:32:09
* @FilePath: /IT/src/views/requirement/RequirementEditing.vue * @FilePath: /IT/src/views/requirement/RequirementEditing.vue
* @Description: * @Description:
* *

View File

@ -2,7 +2,7 @@
* @Author: Kane * @Author: Kane
* @Date: 2023-02-02 22:19:12 * @Date: 2023-02-02 22:19:12
* @LastEditors: Kane * @LastEditors: Kane
* @LastEditTime: 2023-02-06 00:19:05 * @LastEditTime: 2023-02-06 08:33:42
* @FilePath: /IT/src/views/requirement/RequirementManager.vue * @FilePath: /IT/src/views/requirement/RequirementManager.vue
* @Description: * @Description:
* *
@ -39,7 +39,8 @@
<el-col :span="4"> <el-col :span="4">
<!-- <el-input v-model="query_param.status"></el-input> --> <!-- <el-input v-model="query_param.status"></el-input> -->
<el-select multiple collapse-tags collapse-tags-tooltip v-model.trim.lazy="query_param.status"> <el-select multiple collapse-tags collapse-tags-tooltip v-model.trim.lazy="query_param.status">
<el-option v-for="option in statusData" :value="option.status_name" lable="option.status_code" :key="option.status_code + option.status_name"></el-option> <el-option v-for="option in statusData" :value="option.status_name" lable="option.status_code"
:key="option.status_code + option.status_name"></el-option>
</el-select> </el-select>
</el-col> </el-col>
<el-col :span="6"></el-col> <el-col :span="6"></el-col>
@ -231,8 +232,8 @@ import { reactive, computed, onBeforeMount } from "vue";
//import { Editor, Toolbar } from '@wangeditor/editor-for-vue'; //import { Editor, Toolbar } from '@wangeditor/editor-for-vue';
import { requirementTestData } from '@/test/data/TestData'; import { requirementTestData } from '@/test/data/TestData';
import { useRouter } from "vue-router"; import { useRouter } from "vue-router";
import {useStore} from "vuex"; import { useStore } from "vuex";
import {query_requirement_ui} from "@/utils/api/requirement/requirement"; import { query_requirement_ui } from "@/utils/api/requirement/requirement";
export default { export default {
name: "requirement-manager", name: "requirement-manager",
@ -276,7 +277,7 @@ export default {
return requirement_data.slice(startIndex, endIndex); return requirement_data.slice(startIndex, endIndex);
}); });
const statusData = computed(()=> const statusData = computed(() =>
{ {
return store.state.requirement.status; return store.state.requirement.status;
}); });
@ -343,7 +344,7 @@ export default {
}); });
// //
query_requirement_ui( store.state.requirement, "ErrorPage" ); query_requirement_ui(store.state.requirement, "ErrorPage");
// //
console.log(store.state.app); console.log(store.state.app);