|
@@ -45,7 +45,7 @@
|
|
|
<select-filter
|
|
|
:metadata="formWidgetMetadataViewList"
|
|
|
@confirm="filterConfirm"
|
|
|
- type="CLOUD_MARK_SOP_FLOW"
|
|
|
+ type="OFFICE_SOP_FLOW"
|
|
|
contentType="SEARCH"
|
|
|
></select-filter>
|
|
|
</div>
|
|
@@ -361,7 +361,7 @@ const columns = computed(() => {
|
|
|
const fastShowOptions = ref([]);
|
|
|
const getFastShowOptions = () => {
|
|
|
getSopFastOptionsApi({
|
|
|
- type: 'CLOUD_MARK_SOP_FLOW',
|
|
|
+ type: 'OFFICE_SOP_FLOW',
|
|
|
contentType: 'VIEW',
|
|
|
}).then((res) => {
|
|
|
fastShowOptions.value = (res || []).map((item) => ({
|
|
@@ -372,6 +372,21 @@ const getFastShowOptions = () => {
|
|
|
});
|
|
|
};
|
|
|
getFastShowOptions();
|
|
|
+
|
|
|
+const fastSearchOptions = ref([]);
|
|
|
+const getFastSearchOptions = () => {
|
|
|
+ getSopFastOptionsApi({
|
|
|
+ type: 'OFFICE_SOP_FLOW',
|
|
|
+ contentType: 'SEARCH',
|
|
|
+ }).then((res) => {
|
|
|
+ fastSearchOptions.value = (res || []).map((item) => ({
|
|
|
+ ...item,
|
|
|
+ label: item.name,
|
|
|
+ value: item.id,
|
|
|
+ }));
|
|
|
+ });
|
|
|
+};
|
|
|
+getFastSearchOptions();
|
|
|
const fields = ref([
|
|
|
{
|
|
|
prop: 'serviceId',
|
|
@@ -402,7 +417,7 @@ const fields = ref([
|
|
|
colSpan: 6,
|
|
|
options:
|
|
|
appStore
|
|
|
- .getFlowDetailByType('CLOUD_MARK_SOP_FLOW')
|
|
|
+ .getFlowDetailByType('OFFICE_SOP_FLOW')
|
|
|
?.setupList?.map((item) => ({ value: item, label: item })) || [],
|
|
|
},
|
|
|
{
|
|
@@ -430,7 +445,7 @@ const fields = ref([
|
|
|
type: 'select',
|
|
|
labelWidth: 104,
|
|
|
colSpan: 6,
|
|
|
- options: [],
|
|
|
+ options: fastSearchOptions.value,
|
|
|
},
|
|
|
{
|
|
|
prop: 'fastColumns',
|
|
@@ -441,12 +456,15 @@ const fields = ref([
|
|
|
options: fastShowOptions.value,
|
|
|
},
|
|
|
{
|
|
|
- prop: 'eee',
|
|
|
+ prop: 'dingPlan',
|
|
|
label: '打卡在时限内',
|
|
|
type: 'select',
|
|
|
labelWidth: 104,
|
|
|
colSpan: 6,
|
|
|
- options: [],
|
|
|
+ options: [
|
|
|
+ { value: true, label: '是' },
|
|
|
+ { value: false, label: '否' },
|
|
|
+ ],
|
|
|
},
|
|
|
{
|
|
|
prop: 'buttons',
|
|
@@ -462,7 +480,7 @@ const params = reactive({
|
|
|
crmUserId: '',
|
|
|
crmName: '',
|
|
|
sopNo: '',
|
|
|
- eee: '',
|
|
|
+ dingPlan: '',
|
|
|
formWidgetMetadataViewList: cloneDeep(originColumns),
|
|
|
formWidgetMetadataConditionList: [],
|
|
|
formWidgetMetadataOrderList: [],
|