|
@@ -39,7 +39,7 @@
|
|
|
:percentage="computePercent(row)"
|
|
|
:status="computePercent(row) === 100 ? 'success' : ''"
|
|
|
:width="80"
|
|
|
- style="margin-right: 10px;" />
|
|
|
+ style="margin-right: 10px" />
|
|
|
</div>
|
|
|
</div>
|
|
|
</template>
|
|
@@ -184,6 +184,7 @@ const sourceList = ref({
|
|
|
tagList: [],
|
|
|
beginTime: "",
|
|
|
endTime: "",
|
|
|
+ status: 30,
|
|
|
},
|
|
|
});
|
|
|
const loading = ref(false);
|
|
@@ -207,6 +208,12 @@ const searchConfig = computed(() => {
|
|
|
},
|
|
|
{
|
|
|
type: "select",
|
|
|
+ prop: "status",
|
|
|
+ label: "生产状态",
|
|
|
+ data: status.value,
|
|
|
+ },
|
|
|
+ {
|
|
|
+ type: "select",
|
|
|
prop: "tagList",
|
|
|
dictKey: "order_tag",
|
|
|
label: "标签",
|
|
@@ -325,6 +332,7 @@ const getList = async (req, status) => {
|
|
|
sourceList.value.pagination = {
|
|
|
pageNum: sourceList.value.pagination.pageNum,
|
|
|
pageSize: sourceList.value.pagination.pageSize,
|
|
|
+ ...req,
|
|
|
};
|
|
|
} else {
|
|
|
sourceList.value.pagination = { ...sourceList.value.pagination, ...req };
|
|
@@ -349,7 +357,7 @@ const getList = async (req, status) => {
|
|
|
};
|
|
|
getList();
|
|
|
const clickReset = () => {
|
|
|
- getList("", true);
|
|
|
+ getList({ status: 30 }, true);
|
|
|
};
|
|
|
const selectData = ref([]);
|
|
|
const selectRow = (data) => {
|