Commit db43f602 by wangyalan-git

提交

parent ea50d2c4
...@@ -60,7 +60,7 @@ ...@@ -60,7 +60,7 @@
return { return {
resourcesUrl:window.SITE_CONFIG.resourcesUrl, resourcesUrl:window.SITE_CONFIG.resourcesUrl,
visible: false, visible: false,
isAudit: false, isAudit: true,
dataForm: { dataForm: {
id: 0, id: 0,
applyStatus: 1, applyStatus: 1,
...@@ -75,10 +75,10 @@ ...@@ -75,10 +75,10 @@
} }
}, },
methods: { methods: {
init (id,isAudit,row) { init (id,isAudit) {
this.visible = true
this.isAudit = isAudit this.isAudit = isAudit
this.dataForm.id = id || 0 this.dataForm.id = id || 0
this.visible = true
console.log('isAudit',isAudit) console.log('isAudit',isAudit)
this.$nextTick(() => { this.$nextTick(() => {
this.$refs['dataForm'].resetFields() this.$refs['dataForm'].resetFields()
...@@ -102,6 +102,7 @@ ...@@ -102,6 +102,7 @@
this.dataForm.waitAmount = data.result.userAccount.waitAmount this.dataForm.waitAmount = data.result.userAccount.waitAmount
this.dataForm.integral = data.result.userAccount.integral this.dataForm.integral = data.result.userAccount.integral
this.dataForm.frozenIntegral = data.result.userAccount.frozenIntegral this.dataForm.frozenIntegral = data.result.userAccount.frozenIntegral
console.log('this.dataForm',this.dataForm)
}) })
} }
}) })
......
...@@ -25,13 +25,13 @@ ...@@ -25,13 +25,13 @@
type="primary" type="primary"
size="small" size="small"
icon="el-icon-detail" icon="el-icon-detail"
@click="addOrUpdateHandle(scope.row.id,false,scope.row)">详情</el-button> @click="addOrUpdateHandle(scope.row.id,false)">详情</el-button>
<el-button <el-button
v-if="!scope.row.applyStatus" v-if="!scope.row.applyStatus"
type="primary" type="primary"
size="small" size="small"
icon="el-icon-edit" icon="el-icon-edit"
@click="addOrUpdateHandle(scope.row.id,true,scope.row)">审核</el-button> @click="addOrUpdateHandle(scope.row.id,true)">审核</el-button>
</template> </template>
</avue-crud> </avue-crud>
...@@ -111,10 +111,10 @@ export default { ...@@ -111,10 +111,10 @@ export default {
this.dataListSelections = list this.dataListSelections = list
}, },
// 新增 / 修改 // 新增 / 修改
addOrUpdateHandle (id,isAudit,row) { addOrUpdateHandle (id,isAudit) {
this.addOrUpdateVisible = true this.addOrUpdateVisible = true
this.$nextTick(() => { this.$nextTick(() => {
this.$refs.addOrUpdate.init(id,isAudit,row) this.$refs.addOrUpdate.init(id,isAudit)
}) })
}, },
// 点击查询 // 点击查询
......
...@@ -8,7 +8,8 @@ ...@@ -8,7 +8,8 @@
window.SITE_CONFIG['baseUrl'] = 'http://192.168.0.143:8085' window.SITE_CONFIG['baseUrl'] = 'http://192.168.0.143:8085'
// 静态资源文件url // 静态资源文件url
window.SITE_CONFIG['resourcesUrl'] = 'http://192.168.31.118/zhqgImages' // window.SITE_CONFIG['resourcesUrl'] = 'http://192.168.31.118/zhqgImages'
window.SITE_CONFIG['resourcesUrl'] = 'http://zhqg.jsonpro.cn/zhqgImages'
// cdn地址 = 域名 + 版本号 // cdn地址 = 域名 + 版本号
window.SITE_CONFIG['domain'] = './' // 域名 window.SITE_CONFIG['domain'] = './' // 域名
window.SITE_CONFIG['version'] = '' // 版本号(年月日时分) window.SITE_CONFIG['version'] = '' // 版本号(年月日时分)
......
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