| | |
| | | @keyup.enter.native="handleQuery" |
| | | ></el-input> |
| | | </el-form-item> |
| | | <el-form-item label="创建时间"> |
| | | <el-form-item label="创发送时间"> |
| | | <el-date-picker |
| | | v-model="dateRange" |
| | | style="width: 240px" |
| | |
| | | width="120" |
| | | > |
| | | <template slot-scope="scope"> |
| | | <span>{{ scope.row.longTask?'长期任务':'非长期' }}</span> |
| | | <span>{{ scope.row.longTask ? "长期任务" : "非长期" }}</span> |
| | | </template> |
| | | </el-table-column> |
| | | |
| | |
| | | > |
| | | <template slot-scope="scope"> |
| | | <el-button |
| | | v-if="(scope.row.sendState == 1 || scope.row.sendState == 3)&&!scope.row.longTask" |
| | | v-if=" |
| | | (scope.row.sendState == 1 || scope.row.sendState == 3) && |
| | | !scope.row.longTask |
| | | " |
| | | size="medium" |
| | | type="text" |
| | | @click="sponsor(scope.row)" |
| | |
| | | ><i class="el-icon-circle-plus-outline"></i>终止</span |
| | | ></el-button |
| | | > --> |
| | | <el-button size="medium" type="text" @click="handleUpdate(scope.row,1)" |
| | | <el-button |
| | | size="medium" |
| | | type="text" |
| | | @click="handleUpdate(scope.row, 1)" |
| | | ><span class="button-xj" |
| | | ><i class="el-icon-circle-plus-outline"></i>依照新增</span |
| | | ></el-button |
| | |
| | | import "@riophae/vue-treeselect/dist/vue-treeselect.css"; |
| | | |
| | | export default { |
| | | name: "User", |
| | | name: "Tasklist", |
| | | dicts: ["sys_normal_disable", "sys_user_sex", "task_status"], |
| | | components: { Treeselect }, |
| | | data() { |
| | |
| | | }, |
| | | longtermlist:[ |
| | | { |
| | | value: '1', |
| | | value: "1", |
| | | label: "长期任务", |
| | | }, |
| | | { |
| | | value: '0', |
| | | value: "0", |
| | | label: "普通任务", |
| | | }, |
| | | ], |
| | |
| | | }, |
| | | watch: {}, |
| | | created() { |
| | | this.topqueryParams.leaveldeptcodes = store.getters.belongDepts.map(obj=>obj.deptCode); |
| | | this.topqueryParams.leavehospitaldistrictcodes = store.getters.belongWards.map(obj=>obj.districtCode); |
| | | this.topqueryParams.leaveldeptcodes = store.getters.belongDepts.map( |
| | | (obj) => obj.deptCode |
| | | ); |
| | | this.topqueryParams.leavehospitaldistrictcodes = |
| | | store.getters.belongWards.map((obj) => obj.districtCode); |
| | | this.tasktopic = this.$route.query.tasktopic |
| | | ? this.$route.query.tasktopic |
| | | : this.tasktopic; |
| | |
| | | this.initPassword = response.msg; |
| | | }); |
| | | // this.taskoptions = store.getters.Serviceauthority; |
| | | }, |
| | | activated() { |
| | | this.getList(); |
| | | }, |
| | | // 搜索 |
| | | mounted() { |
| | |
| | | // this.taskoptions, |
| | | // this.tasktopic |
| | | // ); |
| | | getTasklist(this.addDateRange(this.topqueryParams, this.dateRange)).then( |
| | | this.topqueryParams.startOutHospTime = this.dateRange[0]; |
| | | this.topqueryParams.endOutHospTime = this.dateRange[1]; |
| | | getTasklist(this.topqueryParams).then( |
| | | (response) => { |
| | | this.userList = response.rows; |
| | | this.total = response.total; |
| | |
| | | .catch(() => {}); |
| | | } |
| | | }, |
| | | |
| | | |
| | | // 暂停 |
| | | stop(row) { |