jiangyy 4 years ago
parent
commit
c9d5e2c9e6
  1. 4
      epmet-oper-web/src/views/modules/productConfig/homeCustom/homepage.vue

4
epmet-oper-web/src/views/modules/productConfig/homeCustom/homepage.vue

@ -10,7 +10,7 @@
@click="save">保存</el-button>
<el-button v-if="showFrom==='customize'"
type="danger"
@click="publish">发布</el-button>
@click="handelPublish">发布</el-button>
<span v-if="showFrom==='customize'"
style="margin-left:20px; color:#aaa; font-size:13px">({{ wxIndex.customerName }} - )</span>
<span style="margin-left:20px; color:#aaa; font-size:13px">({{ wxIndex.clientType===1 ? '工作端' : '居民端' }})</span>
@ -460,7 +460,7 @@ export default {
async publish (componentList) {
const { wxIndex: { clientType, customerId } } = this
const { data, code, msg } = await requestPost(this.publish, { clientType, customerId, componentList })
const { data, code, msg } = await requestPost(this.publishUrl, { clientType, customerId, componentList })
if (code === 0) {
this.lastSavedCptList = cloneDeep(this.cptList)
return this.$message.success('发布成功')

Loading…
Cancel
Save