Commit 2caa0679 authored by liudong1993's avatar liudong1993
parents 1b19f414 4fc17238
...@@ -24,10 +24,9 @@ ...@@ -24,10 +24,9 @@
<div flex="dir:left cross:center"> {{scope.row.AliasName}}</div> <div flex="dir:left cross:center"> {{scope.row.AliasName}}</div>
</template></el-table-column> </template></el-table-column>
<el-table-column label="创建时间" prop="CreateDateStr"></el-table-column> <el-table-column label="创建时间" prop="CreateDateStr"></el-table-column>
<el-table-column fixed="right" label="操作" width="180"><template slot-scope="scope"> <el-table-column fixed="right" label="操作" width="180">
<!-- <el-tooltip class="item" effect="dark" content="详情" placement="top"><img <template slot-scope="scope">
src="../../assets/img/userman/detail.png" alt="" class="imgstyle" @click="grant(scope.row)"> <a @click="grant(scope.row)">详情</a>
</el-tooltip> -->
</template></el-table-column> </template></el-table-column>
</el-table> </el-table>
<el-pagination style="text-align:right" background @current-change="handleCurrentChange" :page-size="msg.pageSize" <el-pagination style="text-align:right" background @current-change="handleCurrentChange" :page-size="msg.pageSize"
...@@ -51,15 +50,15 @@ ...@@ -51,15 +50,15 @@
:disabled="true"></el-input> :disabled="true"></el-input>
</div> </div>
<!-- 单选 --> <!-- 单选 -->
<div v-if="item.SurveyType==2|| item.SurveyType==3" style="margin: 10px 0;"> <div v-if="item.SurveyType==2|| item.SurveyType==3" style="margin: 10px 0;">
<el-checkbox v-model="x.IsCheck==1?true:false" disabled v-for="(x,y) in item.SurveyOptionsList" :key="y"> <el-checkbox v-model="x.IsCheck==1?true:false" disabled v-for="(x,y) in item.SurveyOptionsList" :key="y">
{{x.OptionsName}} {{x.OptionsName}}
</el-checkbox> </el-checkbox>
</div> </div>
<div v-if="item.SurveyType==1" style="margin: 10px 0;"> <div v-if="item.SurveyType==1" style="margin: 10px 0;">
<el-rate v-model="item.ScoreNum" disabled show-score text-color="#ff9900" score-template="{value}分"> <el-rate v-model="item.ScoreNum" disabled show-score text-color="#ff9900" score-template="{value}分">
</el-rate> </el-rate>
</div> </div>
</div> </div>
<div style="font-size: 16px;margin: 10px 0 ;font-weight: bold">问卷调查表信息</div> <div style="font-size: 16px;margin: 10px 0 ;font-weight: bold">问卷调查表信息</div>
<div v-for="(item,index) in xqdata.surverList" :key="index"> <div v-for="(item,index) in xqdata.surverList" :key="index">
...@@ -72,15 +71,15 @@ ...@@ -72,15 +71,15 @@
:disabled="true"></el-input> :disabled="true"></el-input>
</div> </div>
<!-- 单选 --> <!-- 单选 -->
<div v-if="item.SurveyType==2|| item.SurveyType==3" style="margin: 10px 0;"> <div v-if="item.SurveyType==2|| item.SurveyType==3" style="margin: 10px 0;">
<el-checkbox v-model="x.IsCheck==1?true:false" disabled v-for="(x,y) in item.SurveyOptionsList" :key="y"> <el-checkbox v-model="x.IsCheck==1?true:false" disabled v-for="(x,y) in item.SurveyOptionsList" :key="y">
{{x.OptionsName}} {{x.OptionsName}}
</el-checkbox> </el-checkbox>
</div> </div>
<div v-if="item.SurveyType==1" style="margin: 10px 0;"> <div v-if="item.SurveyType==1" style="margin: 10px 0;">
<el-rate v-model="item.ScoreNum" disabled show-score text-color="#ff9900" score-template="{value}分"> <el-rate v-model="item.ScoreNum" disabled show-score text-color="#ff9900" score-template="{value}分">
</el-rate> </el-rate>
</div> </div>
</div> </div>
</div> </div>
</el-dialog> </el-dialog>
...@@ -108,14 +107,10 @@ ...@@ -108,14 +107,10 @@
dialogVisible: false, dialogVisible: false,
xqdata: null, xqdata: null,
} }
} },
,
created() { created() {
this.getDateList(); this.getDateList();
} },
,
methods: { methods: {
getDateList() { getDateList() {
this.loading = true; this.loading = true;
...@@ -126,19 +121,18 @@ ...@@ -126,19 +121,18 @@
this.msg.StartDate = ''; this.msg.StartDate = '';
this.msg.EndDate = ''; this.msg.EndDate = '';
} }
this.apipost("/api/Survey/GetResultPageList", this.msg, res => { this.apipostDS("/api/Survey/GetResultPageList", this.msg, res => {
this.loading = false; this.loading = false;
if (res.data.resultCode == 1) { if (res.data.resultCode == 1) {
this.tableData = res.data.data.pageData; this.tableData = res.data.data.pageData;
this.count = res.data.data.count; this.count = res.data.data.count;
} else { } else {
this.Info(res.data.message); this.Info(res.data.message);
}
} }
) })
}, },
getList() { getList() {
this.msg.pageIndex = 1 this.msg.pageIndex = 1
this.getDateList(); this.getDateList();
}, },
handleCurrentChange(val) { handleCurrentChange(val) {
...@@ -146,7 +140,7 @@ ...@@ -146,7 +140,7 @@
this.getDateList(); this.getDateList();
}, },
grant(row) { grant(row) {
this.apipost("/api/Survey/GetGuestSurveyDetails", { this.apipostDS("/api/Survey/GetGuestSurveyDetails", {
SurveyID: row.ID SurveyID: row.ID
}, res => { }, res => {
if (res.data.resultCode == 1) { if (res.data.resultCode == 1) {
...@@ -162,7 +156,6 @@ ...@@ -162,7 +156,6 @@
} }
} }
} }
</script> </script>
<style> <style>
.resultPageList .el-card__header { .resultPageList .el-card__header {
...@@ -220,5 +213,4 @@ ...@@ -220,5 +213,4 @@
; ;
} }
</style>
</style> \ No newline at end of file
...@@ -2,6 +2,7 @@ ...@@ -2,6 +2,7 @@
.Sysuser_Date .el-input__inner { .Sysuser_Date .el-input__inner {
background: transparent !important; background: transparent !important;
border: 0 !important; border: 0 !important;
height:28px!important;
} }
.myTable_Zk tbody tr:first-child td { .myTable_Zk tbody tr:first-child td {
......
This diff is collapsed.
...@@ -83,7 +83,7 @@ export default { ...@@ -83,7 +83,7 @@ export default {
let domainUrl = 'http://192.168.10.65:8083'; let domainUrl = 'http://192.168.10.65:8083';
let viewFileUrl = 'http://192.168.10.214:8120'; let viewFileUrl = 'http://192.168.10.214:8120';
let mallUrl = "http://192.168.10.65:8088"; let mallUrl = "http://192.168.10.46:8200";
let vtUploadUrl = "http://upload.oytour.com"; let vtUploadUrl = "http://upload.oytour.com";
let vtViewUrl = "http://192.168.10.214:8130"; let vtViewUrl = "http://192.168.10.214:8130";
......
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