Commit 3d422586 authored by 徐一鸣's avatar 徐一鸣

推荐位管理列表页优化

parent 19e02591
......@@ -60,41 +60,21 @@
</div>
</template>
</apass-list>
<apass-dialog
ref="dialog"
:msg="dialogInfo.msg"
:cancel-text="dialogInfo.cancelText"
:cancel-type="dialogInfo.cancelType"
:cancel="dialogInfo.cancel"
:sunbmit-text="dialogInfo.sunbmitText"
:submit="dialogInfo.submit"
></apass-dialog>
</div>
</template>
<script>
import helper from "@/services/helper.js";
import apassList from "@/components/apass-list";
import apassDialog from "@/components/apass-dialog";
export default {
components: {
apassList,
apassDialog,
},
data: () => ({
listHeader: [],
listData: [],
listTotal: 0,
dialogInfo: {
msg: "",
cancelText: "",
cancelType: "",
cancel: null,
sunbmitText: "",
submit: null,
},
topFilter: {
name: "",
state: "",
......@@ -198,15 +178,12 @@ export default {
this.initList(this.tempFilter);
},
showDialog() {
this.$refs.dialog.show();
},
detailAction(item) {
console.log(`查看${item.name}`);
},
editAction(item) {
console.log(`编辑${item.name}`);
}
},
},
created() {
this.listHeader = [
......
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