国外网站制作_网站首页制作_网站建设的问题_企业cms .con4 #gd1 div p, .con4 #gd2 div p{ line-height:30px; height:30px; text-align:center;}.right{width:226px;height:580px;float:left;margin-left:10px;margin-bottom:5px;}">

泰安网站开发

西安网站维护、wap建站、永久使用、不限域名、牡丹江网络推广

郑州seo优化公司?

国外网站制作_网站首页制作_网站建设的问题_企业cms

} from '@/api/site/example'export default {name: 'Example',data() {return {// 遮罩层loading: true,// 选中数组ids: [],// 非单个禁用single: true,// 非多个禁用multiple: true,// 显示搜索条件showSearch: true,// 总条数total: 0,// 案例表格数据exampleList: [],// 弹出层标题title: '',// 是否显示弹出层open: false,// 查询参数queryParams: {pageNum: 1,pageSize: 10,title: null,},// 表单参数form: {},// 表单校验rules: {},}},created() {this.getList()},methods: {/** 查询案例列表 */getList() {this.loading = truelistExample(this.queryParams).then((response) => {this.exampleList = response.rowsthis.total = response.totalthis.loading = false})},// 取消按钮cancel() {this.open = falsethis.reset()},// 表单重置reset() {this.form = {id: null,title: null,type: null,content: null,urlAddress: null,iconBase64: null,isUse: '0',}this.resetForm('form')},/** 搜索按钮操作 */handleQuery() {this.queryParams.pageNum = 1this.getList()},/** 重置按钮操作 */resetQuery() {this.resetForm('queryForm')this.handleQuery()},// 多选框选中数据handleSelectionChange(selection) {this.ids = selection.map((item) => item.id)this.single = selection.length !== 1this.multiple = !selection.length},/** 新增按钮操作 */handleAdd() {this.reset()this.open = truethis.title = '添加案例'},/** 修改按钮操作 */handleUpdate(row) {this.reset()const id = row.id || this.idsgetExample(id).then((response) => {this.form = response.datathis.open = truethis.title = '修改案例'})},/** 提交按钮 */submitForm() {this.$refs['form'].validate((valid) => {if (valid) {if (this.form.id != null) {updateExample(this.form).then((response) => {this.$modal.msgSuccess('修改成功')this.open = falsethis.getList()})} else {addExample(this.form).then((response) => {this.$modal.msgSuccess('新增成功')this.open = falsethis.getList()})}}})},/** 删除按钮操作 */handleDelete(row) {const ids = row.id || this.idsthis.$modal.confirm('是否确认删除案例编号为"' + ids + '"的数据项?').then(function () {return delExample(ids)}).then(() => {this.getList()this.$modal.msgSuccess('删除成功')}).catch(() => {})},}, 网站后台维护国外网站制作武汉网站维护真人做网站上海网站优化公司模板网站公司企业做网站百度左侧优化做网站价格高端app开发建网西安php网站建设鲨皇seo威海seo萧山seo免费域名的网站长沙关键词优化长沙域名注册公司创办网页百度提交微网站网页价格南京做网站东莞网站seo公司网站报价石家庄搜索引擎优化深圳龙岗网络推广沈阳seo顾问学做网站论坛重庆网站优化网络购物商城系统

猜你喜欢