|
@@ -2,11 +2,11 @@
|
|
<div class="flex flex-col h-full">
|
|
<div class="flex flex-col h-full">
|
|
<div class="page-action">
|
|
<div class="page-action">
|
|
<t-button
|
|
<t-button
|
|
- variant="outline"
|
|
|
|
|
|
+ theme="primary"
|
|
:disabled="!selectedRowKeys.length"
|
|
:disabled="!selectedRowKeys.length"
|
|
@click="handleDestroy"
|
|
@click="handleDestroy"
|
|
>
|
|
>
|
|
- <template #icon><svg-icon name="delete" color="#262626" /></template>
|
|
|
|
|
|
+ <template #icon><svg-icon name="delete" color="#fff" /></template>
|
|
作废
|
|
作废
|
|
</t-button>
|
|
</t-button>
|
|
</div>
|
|
</div>
|
|
@@ -92,7 +92,7 @@ const fields = ref([
|
|
label: '服务单元',
|
|
label: '服务单元',
|
|
type: 'select',
|
|
type: 'select',
|
|
labelWidth: 100,
|
|
labelWidth: 100,
|
|
- colSpan: 5,
|
|
|
|
|
|
+ colSpan: 6,
|
|
cell: 'service',
|
|
cell: 'service',
|
|
},
|
|
},
|
|
{
|
|
{
|
|
@@ -100,14 +100,14 @@ const fields = ref([
|
|
label: '责任人',
|
|
label: '责任人',
|
|
type: 'select',
|
|
type: 'select',
|
|
labelWidth: 100,
|
|
labelWidth: 100,
|
|
- colSpan: 5,
|
|
|
|
|
|
+ colSpan: 6,
|
|
},
|
|
},
|
|
{
|
|
{
|
|
prop: 'type',
|
|
prop: 'type',
|
|
label: '问题类型',
|
|
label: '问题类型',
|
|
type: 'select',
|
|
type: 'select',
|
|
labelWidth: 100,
|
|
labelWidth: 100,
|
|
- colSpan: 5,
|
|
|
|
|
|
+ colSpan: 6,
|
|
options: dictToOptionList(ISSUES_TYPE),
|
|
options: dictToOptionList(ISSUES_TYPE),
|
|
attrs: {
|
|
attrs: {
|
|
clearable: true,
|
|
clearable: true,
|
|
@@ -118,7 +118,7 @@ const fields = ref([
|
|
label: '问题归因',
|
|
label: '问题归因',
|
|
type: 'select',
|
|
type: 'select',
|
|
labelWidth: 100,
|
|
labelWidth: 100,
|
|
- colSpan: 5,
|
|
|
|
|
|
+ colSpan: 6,
|
|
options: dictToOptionList(ISSUES_REASON_TYPE),
|
|
options: dictToOptionList(ISSUES_REASON_TYPE),
|
|
attrs: {
|
|
attrs: {
|
|
clearable: true,
|
|
clearable: true,
|
|
@@ -142,7 +142,7 @@ const fields = ref([
|
|
label: '影响度',
|
|
label: '影响度',
|
|
type: 'select',
|
|
type: 'select',
|
|
labelWidth: 100,
|
|
labelWidth: 100,
|
|
- colSpan: 5,
|
|
|
|
|
|
+ colSpan: 6,
|
|
options: ISSUES_INFLUENCE_DEGREE.map((item) => {
|
|
options: ISSUES_INFLUENCE_DEGREE.map((item) => {
|
|
return {
|
|
return {
|
|
label: item,
|
|
label: item,
|
|
@@ -157,7 +157,7 @@ const fields = ref([
|
|
prop: 'custom',
|
|
prop: 'custom',
|
|
label: '客户名称',
|
|
label: '客户名称',
|
|
labelWidth: 100,
|
|
labelWidth: 100,
|
|
- colSpan: 5,
|
|
|
|
|
|
+ colSpan: 6,
|
|
attrs: {
|
|
attrs: {
|
|
clearable: true,
|
|
clearable: true,
|
|
},
|
|
},
|
|
@@ -166,7 +166,7 @@ const fields = ref([
|
|
prop: 'problemNo',
|
|
prop: 'problemNo',
|
|
label: '质量问题编号',
|
|
label: '质量问题编号',
|
|
labelWidth: 100,
|
|
labelWidth: 100,
|
|
- colSpan: 5,
|
|
|
|
|
|
+ colSpan: 12,
|
|
attrs: {
|
|
attrs: {
|
|
clearable: true,
|
|
clearable: true,
|
|
},
|
|
},
|
|
@@ -176,7 +176,7 @@ const fields = ref([
|
|
label: '提交时间',
|
|
label: '提交时间',
|
|
type: 'daterange',
|
|
type: 'daterange',
|
|
labelWidth: 100,
|
|
labelWidth: 100,
|
|
- colSpan: 9,
|
|
|
|
|
|
+ colSpan: 12,
|
|
attrs: {
|
|
attrs: {
|
|
clearable: true,
|
|
clearable: true,
|
|
valueType: 'time-stamp',
|
|
valueType: 'time-stamp',
|
|
@@ -207,15 +207,15 @@ const columns = [
|
|
width: 50,
|
|
width: 50,
|
|
fixed: 'left',
|
|
fixed: 'left',
|
|
},
|
|
},
|
|
- { colKey: 'problemNo', title: '质量问题编号', minWidth: 120 },
|
|
|
|
- { colKey: 'crmNo', title: '项目单号', minWidth: 120 },
|
|
|
|
|
|
+ { colKey: 'problemNo', title: '质量问题编号', width: 200 },
|
|
|
|
+ { colKey: 'crmNo', title: '项目单号', width: 200 },
|
|
{ colKey: 'customType', title: '客户类型', cell: 'type', width: 120 },
|
|
{ colKey: 'customType', title: '客户类型', cell: 'type', width: 120 },
|
|
{ colKey: 'custom', title: '客户名称', width: 140 },
|
|
{ colKey: 'custom', title: '客户名称', width: 140 },
|
|
{ colKey: 'sopType', title: '实施产品' },
|
|
{ colKey: 'sopType', title: '实施产品' },
|
|
{ colKey: 'summary', title: '问题简要' },
|
|
{ colKey: 'summary', title: '问题简要' },
|
|
- { colKey: 'userNames', title: '责任人' },
|
|
|
|
|
|
+ { colKey: 'userNames', title: '责任人', width: 140 },
|
|
{ colKey: 'type', title: '问题类型', cell: 'issues-type', width: 120 },
|
|
{ colKey: 'type', title: '问题类型', cell: 'issues-type', width: 120 },
|
|
- { colKey: 'reason', title: '问题归因', cell: 'issues-reason', width: 120 },
|
|
|
|
|
|
+ { colKey: 'reason', title: '问题归因', cell: 'issues-reason', width: 160 },
|
|
{ colKey: 'influenceDegree', title: '影响度', width: 100 },
|
|
{ colKey: 'influenceDegree', title: '影响度', width: 100 },
|
|
{ colKey: 'submitter', title: '提交人', width: 140 },
|
|
{ colKey: 'submitter', title: '提交人', width: 140 },
|
|
{
|
|
{
|
|
@@ -231,8 +231,8 @@ const columns = [
|
|
width: 180,
|
|
width: 180,
|
|
},
|
|
},
|
|
{ colKey: 'status', title: '流程状态', cell: 'flow-status', width: 120 },
|
|
{ colKey: 'status', title: '流程状态', cell: 'flow-status', width: 120 },
|
|
- { colKey: 'setup', title: '当前节点' },
|
|
|
|
- { colKey: 'pendApproveUsers', title: '当前负责人', width: 120 },
|
|
|
|
|
|
+ { colKey: 'setup', title: '当前节点', minWidth: 160 },
|
|
|
|
+ { colKey: 'pendApproveUsers', title: '当前负责人', width: 140 },
|
|
];
|
|
];
|
|
|
|
|
|
const { pagination, tableData, fetchData, search, onChange } = useFetchTable(
|
|
const { pagination, tableData, fetchData, search, onChange } = useFetchTable(
|