Commit f9dab586 by zhangxingda

点击评分按钮逻辑

parent 4f06a8f0
{
"presets": [
"@vue/app"
]
}
root = true
[*]
charset = utf-8
indent_style = space
indent_size = 2
end_of_line = lf
insert_final_newline = true
trim_trailing_whitespace = true
.DS_Store
node_modules
/dist
package-lock.json
/tests/e2e/videos/
/tests/e2e/screenshots/
# local env files
.env.local
.env.*.local
# Log files
npm-debug.log*
yarn-debug.log*
yarn-error.log*
# Editor directories and files
.idea
.vscode
*.suo
*.ntvs*
*.njsproj
*.sln
*.sw*
*.zip
*.rar
build/env.js
module.exports = {
plugins: {
autoprefixer: {}
}
}
language: node_js
node_js: stable
script: npm run lint
notifications:
email: false
...@@ -8,7 +8,7 @@ ...@@ -8,7 +8,7 @@
<div v-else-if="row.doStatus === '2'">超期未评</div> <div v-else-if="row.doStatus === '2'">超期未评</div>
</template> </template>
<template slot-scope="{ row, index }" slot="action"> <template slot-scope="{ row, index }" slot="action">
<Button v-if="canShowVisit(row)" type="info" size="small" style="margin-right: 5px" @click="showRatingList(row)" :disabled="row.canClick == '0'?true:false">评分</Button> <Button v-if="canShowVisit(row)" type="info" size="small" style="margin-right: 5px" @click="showRatingList(row)" :disabled="(row.canClick == '1' && row.doStatus !== '2')?false:true ">评分</Button>
<Button type="info" size="small" style="margin-right: 5px" @click="showRatingInfo(row)">详情</Button> <Button type="info" size="small" style="margin-right: 5px" @click="showRatingInfo(row)">详情</Button>
</template> </template>
</Table> </Table>
......
...@@ -257,7 +257,7 @@ ...@@ -257,7 +257,7 @@
type="info" type="info"
size="small" size="small"
v-if="canShowVisit(row) && cityType" v-if="canShowVisit(row) && cityType"
:disabled="row.canClick == '0'?true:false" :disabled="(row.canClick == '1' && row.doStatus !== '2')?false:true"
style="margin-right: 5px" style="margin-right: 5px"
@click="showRatingList(row)" @click="showRatingList(row)"
>评分</Button >评分</Button
......
...@@ -213,7 +213,7 @@ ...@@ -213,7 +213,7 @@
type="info" type="info"
size="small" size="small"
v-if="canShowVisit(row) && cityType" v-if="canShowVisit(row) && cityType"
:disabled="row.canClick == '0'?true:false" :disabled="(row.canClick == '1' && row.doStatus !== '2')?false:true"
style="margin-right: 5px" style="margin-right: 5px"
@click="showRatingList(row)" @click="showRatingList(row)"
>评分</Button >评分</Button
......
...@@ -222,7 +222,7 @@ ...@@ -222,7 +222,7 @@
type="info" type="info"
size="small" size="small"
v-if="canShowVisit(row)" v-if="canShowVisit(row)"
:disabled="row.canClick == '0'?true:false" :disabled="(row.canClick == '1' && row.doStatus !== '2')?false:true"
style="margin-right: 5px" style="margin-right: 5px"
@click="showRatingList(row)" @click="showRatingList(row)"
>评分</Button >评分</Button
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论