Commit 115540f8 authored by 黄奎's avatar 黄奎

页面修改

parent f3ac57fc
<style lang="scss"> <style lang="scss">
.customform .q-table__bottom{ .customform .q-table__bottom {
min-height: 0; min-height: 0;
} }
</style> </style>
<template> <template>
<div class="customform"> <div class="customform">
...@@ -16,30 +16,30 @@ ...@@ -16,30 +16,30 @@
</template> </template>
<template v-slot:body-cell-CustomerState="props"> <template v-slot:body-cell-CustomerState="props">
<q-td> <q-td>
<q-chip color="teal" text-color="white" size="sm" v-if="props.row.CustomerState==1"> <q-chip color="teal" text-color="white" size="sm" v-if="props.row.CustomerState==1">
{{props.row.CustomerStateStr}} {{props.row.CustomerStateStr}}
</q-chip> </q-chip>
<q-chip color="red" text-color="white" size="sm" v-else> <q-chip color="red" text-color="white" size="sm" v-else>
{{props.row.CustomerStateStr}} {{props.row.CustomerStateStr}}
</q-chip> </q-chip>
</q-td> </q-td>
</template> </template>
<template v-slot:body-cell-ApproveState="props"> <template v-slot:body-cell-ApproveState="props">
<q-td> <q-td>
<q-chip color="teal" text-color="white" size="sm" v-if="props.row.ApproveState==1"> <q-chip color="teal" text-color="white" size="sm" v-if="props.row.ApproveState==1">
{{props.row.ApproveStateStr}} {{props.row.ApproveStateStr}}
</q-chip> </q-chip>
<q-chip color="red" text-color="white" size="sm" v-else> <q-chip color="red" text-color="white" size="sm" v-else>
{{props.row.ApproveStateStr}} {{props.row.ApproveStateStr}}
</q-chip> </q-chip>
</q-td> </q-td>
</template> </template>
<template v-slot:body-cell-optioned="props"> <template v-slot:body-cell-optioned="props">
<q-td :props="props" style="width:200px;"> <q-td :props="props" style="width:200px;">
<q-btn flat size="xs" icon="edit" v-if="authObj.isShowEdit" color="accent" style="font-weight:400" label="编辑" <q-btn flat size="xs" icon="edit" v-if="authObj.isShowEdit" color="accent" style="font-weight:400" label="编辑"
@click="EditCustom(props.row)" /> @click="EditCustom(props.row)" />
<q-btn flat v-if="(props.row.ApproveState==0||props.row.ApproveState==2)&&!authObj.isShowEdit" size="xs" icon="edit" color="accent" <q-btn flat v-if="(props.row.ApproveState==0||props.row.ApproveState==2)&&!authObj.isShowEdit" size="xs"
style="font-weight:400" label="客户审批" @click="AuditCustomer(props.row,1)" /> icon="edit" color="accent" style="font-weight:400" label="客户审批" @click="AuditCustomer(props.row,1)" />
<q-btn flat v-if="props.row.ApproveState==1" size="xs" icon="iconfont icon-View" color="accent" <q-btn flat v-if="props.row.ApproveState==1" size="xs" icon="iconfont icon-View" color="accent"
style="font-weight:400" label="查看" @click="AuditCustomer(props.row,2)" /> style="font-weight:400" label="查看" @click="AuditCustomer(props.row,2)" />
<q-btn flat v-if="props.row.ApproveState==0" size="xs" icon="delete" color="negative" style="font-weight:400" <q-btn flat v-if="props.row.ApproveState==0" size="xs" icon="delete" color="negative" style="font-weight:400"
...@@ -47,7 +47,7 @@ ...@@ -47,7 +47,7 @@
</q-td> </q-td>
</template> </template>
<template v-slot:bottom> <template v-slot:bottom>
<div></div> <div></div>
</template> </template>
</q-table> </q-table>
<perCustomer-form v-if="isShowCustomForm" :customerObj="customerObj" @close="closeCustomForm" <perCustomer-form v-if="isShowCustomForm" :customerObj="customerObj" @close="closeCustomForm"
...@@ -201,8 +201,6 @@ ...@@ -201,8 +201,6 @@
refreshQuestion() { refreshQuestion() {
this.$emit('success'); this.$emit('success');
}, },
} }
} }
</script>
</script> \ No newline at end of file
...@@ -28,7 +28,6 @@ ...@@ -28,7 +28,6 @@
<q-select @input="resetSearch" clearable filled v-model="msg.ApproveState" :options="ApproveStateList" <q-select @input="resetSearch" clearable filled v-model="msg.ApproveState" :options="ApproveStateList"
emit-value map-options label="审核状态" /> emit-value map-options label="审核状态" />
</div> </div>
</div> </div>
</div> </div>
<div class="page-content"> <div class="page-content">
...@@ -73,7 +72,6 @@ ...@@ -73,7 +72,6 @@
}, },
loading: false, loading: false,
tabCheck: 1, tabCheck: 1,
//审核状态列表 //审核状态列表
ApproveStateList: [{ ApproveStateList: [{
label: "通过", label: "通过",
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment