| | |
| | | @selection-change="handleSelectionChange" |
| | | > |
| | | <el-table-column type="selection" width="50" align="center" /> |
| | | <el-table-column label="序号" align="center" key="id" prop="id" /> |
| | | <el-table-column |
| | | label="序号" |
| | | fixed |
| | | align="center" |
| | | key="id" |
| | | prop="id" |
| | | /> |
| | | <el-table-column |
| | | label="标题" |
| | | fixed |
| | | align="center" |
| | | key="preachname" |
| | | prop="preachname" |
| | |
| | | :show-overflow-tooltip="true" |
| | | > |
| | | <template slot-scope="scope"> |
| | | <div v-if="scope.row.labelInfo"> |
| | | <span v-for="item in scope.row.labelInfo.split(',')" |
| | | >{{ item }}、 |
| | | </span> |
| | | </div> |
| | | <div v-else> |
| | | <span>无</span> |
| | | </div> |
| | | </template> |
| | | </el-table-column> |
| | | <el-table-column |
| | |
| | | width="120" |
| | | > |
| | | <template slot-scope="scope"> |
| | | <div v-if="scope.row.suitway"> |
| | | <span v-for="item in scope.row.suitway.split(',')" |
| | | >{{ item }}、 |
| | | </span> |
| | | </div> |
| | | <div v-else> |
| | | <span>无</span> |
| | | </div> |
| | | </template> |
| | | </el-table-column> |
| | | <el-table-column |
| | |
| | | |
| | | <el-table-column |
| | | label="操作" |
| | | fixed="right" |
| | | align="center" |
| | | width="300" |
| | | class-name="small-padding fixed-width" |
| | |
| | | methods: { |
| | | /** 查询宣教列表 */ |
| | | getList() { |
| | | // this.loading = true; |
| | | this.loading = true; |
| | | getlibrarylist(this.queryParams).then((response) => { |
| | | console.log(response); |
| | | this.userList = response.rows; |
| | | this.total = response.total; |
| | | this.loading = false; |
| | | }); |
| | | listDept(this.queryParams).then((response) => { |
| | | this.deptList = this.handleTree(response.data, "deptId"); |