|
@@ -21,10 +21,6 @@
|
|
<router-link to="/schedule/data">资料进度</router-link>
|
|
<router-link to="/schedule/data">资料进度</router-link>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
-
|
|
|
|
- <!-- <el-button type="danger" @click="delClick">删除提醒</el-button>
|
|
|
|
-
|
|
|
|
- <el-button type="warning" @click="abnormalClick">异常提醒</el-button> -->
|
|
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
@@ -34,7 +30,6 @@
|
|
import { ref, watch } from 'vue'
|
|
import { ref, watch } from 'vue'
|
|
import { useAppStore } from '~src/store'
|
|
import { useAppStore } from '~src/store'
|
|
import SearchInput from '~com/home/SearchInput.vue'
|
|
import SearchInput from '~com/home/SearchInput.vue'
|
|
-import { apiErrorMessage, delMessageV2 } from '~com/message/index.js'
|
|
|
|
import ImgText3 from '~src/assets/view/text-3.png'
|
|
import ImgText3 from '~src/assets/view/text-3.png'
|
|
|
|
|
|
//变量
|
|
//变量
|
|
@@ -53,30 +48,6 @@ const searchKey = ref('')
|
|
const SearchKeyInput = (value) => {
|
|
const SearchKeyInput = (value) => {
|
|
searchKey.value = value
|
|
searchKey.value = value
|
|
}
|
|
}
|
|
-
|
|
|
|
-//删除提醒
|
|
|
|
-const delClick = () => {
|
|
|
|
- delMessageV2((action, instance, done) => {
|
|
|
|
- if (action === 'confirm') {
|
|
|
|
- instance.confirmButtonLoading = true
|
|
|
|
- instance.confirmButtonText = 'Loading...'
|
|
|
|
- setTimeout(() => {
|
|
|
|
- done()
|
|
|
|
- setTimeout(() => {
|
|
|
|
- instance.confirmButtonLoading = false
|
|
|
|
- }, 300)
|
|
|
|
- }, 3000)
|
|
|
|
- } else {
|
|
|
|
- done()
|
|
|
|
- }
|
|
|
|
- })
|
|
|
|
-}
|
|
|
|
-
|
|
|
|
-
|
|
|
|
-//删除提醒
|
|
|
|
-const abnormalClick = () => {
|
|
|
|
- apiErrorMessage()
|
|
|
|
-}
|
|
|
|
</script>
|
|
</script>
|
|
|
|
|
|
<style lang="scss" scoped>
|
|
<style lang="scss" scoped>
|